Commit a260437b authored by Guillaume HEUSCH's avatar Guillaume HEUSCH

Merge branch '27-fix-casia-surf-tests' into 'master'

Resolve "fix CASIA-SURF tests"

Closes #27

See merge request !91
parents 840349c5 74819f16
Pipeline #29327 passed with stages
in 31 minutes and 38 seconds
......@@ -210,10 +210,12 @@ def test_casiasurf():
preferred_package='bob.pad.face',
package_prefix='bob.pad.')
try:
assert len(casiasurf.objects(groups=['train', 'dev'], purposes='real')) == 8942
assert len(casiasurf.objects(groups=['train'], purposes='real')) == 8942
assert len(casiasurf.objects(groups=['train'], purposes='attack')) == 20324
assert len(casiasurf.objects(groups=['dev'], purposes='real')) == 0
assert len(casiasurf.objects(groups=['dev'], purposes='attack')) == 9608
assert len(casiasurf.objects(groups=('dev',), purposes=('real',))) == 2994
assert len(casiasurf.objects(groups=('dev',), purposes=('attack',))) == 6614
assert len(casiasurf.objects(groups=('dev',), purposes=('real','attack'))) == 9608
assert len(casiasurf.objects(groups=('eval',), purposes=('attack',))) == 57710
except IOError as e:
raise SkipTest(
......
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