You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially an error "xrange is not defined" came when I tried to run the demo.py, then I changed the "xrange" to "range" and the py script started to run,however , anothe error came:
I0414 00:13:46.749788 14861 upgrade_proto.cpp:628] Successfully upgraded file specified using deprecated V1LayerParameter
Traceback (most recent call last):
File "crfasrnn_demo.py", line 205, in
main(sys.argv[1:])
File "crfasrnn_demo.py", line 201, in main
run_crfrnn(input_file, output_file, gpu_device)
File "crfasrnn_demo.py", line 138, in run_crfrnn
segmentation = crfrnn_segmenter(_MODEL_DEF_FILE, _MODEL_FILE, gpu_device, [im])
File "crfasrnn_demo.py", line 97, in crfrnn_segmenter
out = net.forward_all(**{net.inputs[0]: caffe_in})
File "../caffe/python/caffe/pycaffe.py", line 176, in _Net_forward_all
for batch in self._batch(kwargs): File "../caffe/python/caffe/pycaffe.py", line 260, in _Net_batch
num = len(blobs.itervalues().next()) AttributeError: 'dict' object has no attribute 'itervalues'
It seems that it is an compatible issue,
thank you in advance!
The text was updated successfully, but these errors were encountered:
Dear All,
Initially an error "xrange is not defined" came when I tried to run the demo.py, then I changed the "xrange" to "range" and the py script started to run,however , anothe error came:
I0414 00:13:46.749788 14861 upgrade_proto.cpp:628] Successfully upgraded file specified using deprecated V1LayerParameter
Traceback (most recent call last):
File "crfasrnn_demo.py", line 205, in
main(sys.argv[1:])
File "crfasrnn_demo.py", line 201, in main
run_crfrnn(input_file, output_file, gpu_device)
File "crfasrnn_demo.py", line 138, in run_crfrnn
segmentation = crfrnn_segmenter(_MODEL_DEF_FILE, _MODEL_FILE, gpu_device, [im])
File "crfasrnn_demo.py", line 97, in crfrnn_segmenter
out = net.forward_all(**{net.inputs[0]: caffe_in})
File "../caffe/python/caffe/pycaffe.py", line 176, in _Net_forward_all
for batch in self._batch(kwargs):
File "../caffe/python/caffe/pycaffe.py", line 260, in _Net_batch
num = len(blobs.itervalues().next())
AttributeError: 'dict' object has no attribute 'itervalues'
It seems that it is an compatible issue,
thank you in advance!
The text was updated successfully, but these errors were encountered: