File "test.py", line 164, in
test()
File "test.py", line 161, in test
val_imdb.evaluate_detections(all_boxes, output_dir=args.output_dir)
File "/home/minji/pt2/yolov2.pytorch/dataset/pascal_voc.py", line 233, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/minji/pt2/yolov2.pytorch/dataset/pascal_voc.py", line 211, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/minji/pt2/yolov2.pytorch/dataset/voc_eval.py", line 129, in voc_eval
recs = pickle.load(f, encoding='bytes')
TypeError: load() got an unexpected keyword argument 'encoding'
File "test.py", line 164, in
test()
File "test.py", line 161, in test
val_imdb.evaluate_detections(all_boxes, output_dir=args.output_dir)
File "/home/minji/pt2/yolov2.pytorch/dataset/pascal_voc.py", line 233, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/minji/pt2/yolov2.pytorch/dataset/pascal_voc.py", line 211, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/minji/pt2/yolov2.pytorch/dataset/voc_eval.py", line 129, in voc_eval
recs = pickle.load(f, encoding='bytes')
TypeError: load() got an unexpected keyword argument 'encoding'