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
Traceback (most recent call last):
File "test_net.py", line 329, in
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/wangzhaowei/pycharm/fpn.pytorch-master/lib/datasets/pascal_voc.py", line 349, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/wangzhaowei/pycharm/fpn.pytorch-master/lib/datasets/pascal_voc.py", line 312, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/wangzhaowei/pycharm/fpn.pytorch-master/lib/datasets/voc_eval.py", line 126, in voc_eval
recs = pickle.load(f, encoding='bytes')
TypeError: load() got an unexpected keyword argument 'encoding'
why it happen?
I use python2\torch0.4.0
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "test_net.py", line 329, in
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/wangzhaowei/pycharm/fpn.pytorch-master/lib/datasets/pascal_voc.py", line 349, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/wangzhaowei/pycharm/fpn.pytorch-master/lib/datasets/pascal_voc.py", line 312, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/wangzhaowei/pycharm/fpn.pytorch-master/lib/datasets/voc_eval.py", line 126, in voc_eval
recs = pickle.load(f, encoding='bytes')
TypeError: load() got an unexpected keyword argument 'encoding'
why it happen?
I use python2\torch0.4.0
The text was updated successfully, but these errors were encountered: