Fixed issue #6

parent 54cb1dd0
Pipeline #11606 passed with stages
in 9 minutes and 37 seconds
......@@ -493,7 +493,7 @@ class Database(bob.db.base.SQLiteDatabase):
File.speech_type, File.shot_id, File.device)
retval += list(q)
return list(set(retval)) # To remove duplicates
return sorted(list(set(retval)), key=lambda x: x.id) # To remove duplicates
def tobjects(self, protocol=None, model_ids=None, groups=None, subworld='onethird', gender=None, speech_type=None, device=None):
"""Returns a set of filenames for enrolling T-norm models for score
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment