ssudholt / phocnet

BSD 3-Clause "New" or "Revised" License
38 stars 28 forks source link

type(elem) == RepeatedScalarFieldContainer: #2

Open puneetvaza opened 7 years ago

puneetvaza commented 7 years ago

Traceback (most recent call last): File "/home/cerelabs/Softwares/eclipse/plugins/org.python.pydev_5.2.0.201608171824/pysrc/pydevd.py", line 1531, in globals = debugger.run(setup['file'], None, None, is_module) File "/home/cerelabs/Softwares/eclipse/plugins/org.python.pydev_5.2.0.201608171824/pysrc/pydevd.py", line 938, in run pydev_imports.execfile(file, globals, locals) # execute the script File "/home/cerelabs/puneet/eclipse-ws/phoc/tools/train_phocnet.py", line 61, in PHOCNetTrainer(**params).train_phocnet() File "/home/cerelabs/puneet/phocnet-master/lib/python2.7/site-packages/phocnet/training/phocnet_trainer.py", line 195, in train_phocnet weight_decay=self.weight_decay) File "/home/cerelabs/puneet/phocnet-master/lib/python2.7/site-packages/phocnet/caffe/solver_proto_generator.py", line 21, in generate_solver_proto setattr(sp, k, v) TypeError: Can't set composite field

type(elem) == RepeatedScalarFieldContainer: code is expecting RepeatedScalarFieldContainer but its getting RepeatedScalarContainer

ssudholt commented 7 years ago

Are you using the custom Caffe version or the standard one?

puneetvaza commented 7 years ago

yes custom which you supplied

adiprnm commented 6 years ago

I've got the same error. I've search the solution but I could't find the right one. Any solutions?

lvbeltranb commented 6 years ago

I also got the same error, does anybody have any solution? Thanks