Commit 87c3bf5a authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

Allow to train asvspoof2017 on both train and dev sets

parent 7de67590
Pipeline #7468 failed with stages
in 14 minutes and 39 seconds
......@@ -79,5 +79,11 @@ class ASVspoof2017PadDatabase(PadDatabase):
purposes = self.convert_purposes(purposes, ('genuine', 'spoof'), ('real', 'attack'))
if protocol == 'largetrain':
if groups == 'train':
groups = ('train', 'dev')
if groups == 'dev':
groups = 'eval'
objects = self.__db.objects(protocol=protocol, groups=groups, purposes=purposes, **kwargs)
return [ASVspoof2017PadFile(f) for f in objects]
Supports Markdown
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