AttributeError: 'bob.learn.em.GMMStats' object has no attribute 'copy'
Created by: 183amir
I am trying to run an experiment with bob.bio.video
and a gmm
algorithm and I am seeing this error:
<Job: 4 (1281753) [1-32:1] - 'project'> | q_1day : failure (1) -- 'antispoofing.experiment/bin/verify.py' -vv -d 'replay-licit' -p 'bob.bio.video.preprocessor.Wrapper(bob
.bio.face.preprocessor.TanTriggs(bob.bio.face.preprocessor.FaceCrop(cropped_image_size=(80,64),cropped_positions={"topleft":(0,0),"bottomright":(80,64)})))' -e 'bob.bio.video.extractor.Wrapper("dct-blocks")' -a
'bob.bio.video.algorithm.Wrapper("gmm")' -s 'replay-licit' --groups 'dev' 'eval' --grid 'demanding' -I 'bob.bio.base' 'bob.bio.video' 'bob.bio.face' --sub-task 'project'
Array Job 1 (helvetix10) :
bob.bio.base@2016-05-17 19:58:48,292 -- INFO: - Projection: splitting of index range (0, 10)
bob.bio.base@2016-05-17 19:58:48,293 -- INFO: - Projection: projecting 10 features from directory '/idiap_temp/amohammadi/replay/replay-licit/./extracted' to directory '/idiap_temp/amohammadi/replay/replay-licit
/./projected'
--------------------
bob.bio.base@2016-05-17 19:58:40,133 -- WARNING: Under the desired name 'demanding', there are multiple entry points defined, we return the first one: ['bob.bio.base.config.grid.demanding', 'bob.bio.spear.config
.grid.demanding']
bob.bio.base@2016-05-17 19:58:51,275 -- ERROR: During the execution, an exception was raised: 'bob.learn.em.GMMStats' object has no attribute 'copy'
Traceback (most recent call last):
File "antispoofing.experiment/bin/verify.py", line 29, in <module>
sys.exit(bob.bio.base.script.verify.main())
File "/idiap/bob-stable/py27/local/lib/python2.7/site-packages/bob/bio/base/script/verify.py", line 435, in main
verify(args, command_line_parameters)
File "/idiap/bob-stable/py27/local/lib/python2.7/site-packages/bob/bio/base/script/verify.py", line 382, in verify
if not execute(args):
File "/idiap/bob-stable/py27/local/lib/python2.7/site-packages/bob/bio/base/script/verify.py", line 287, in execute
force = args.force)
File "/idiap/bob-stable/py27/local/lib/python2.7/site-packages/bob/bio/base/tools/algorithm.py", line 116, in project
projected = algorithm.project(feature)
File "antispoofing.experiment/src/bob.bio.video/bob/bio/video/algorithm/Wrapper.py", line 127, in project
features = projected if isinstance(projected, (list,tuple)) else projected.copy()
AttributeError: 'bob.learn.em.GMMStats' object has no attribute 'copy'