I'm getting a "ValueError: not enough values to unpack (expected 2, got 1)" when I run python main.py --config-file configs/sgg_res101_joint.yaml --inference --resume 99999 --algorithm graph-rcnn --visualize. Appreciate any suggestions!
I'm using Python 3.6.12, pytorch 1.0.0, CUDA 10.2.
The exact error message
Traceback (most recent call last):
File "main.py", line 92, in <module>
main()
File "main.py", line 89, in main
test(cfg, args)
File "main.py", line 38, in test
model.test(visualize=args.visualize)
File "/data/vision/torralba/scratch/kwhuang/www/graph-rcnn.pytorch/lib/model.py", line 234, in test
output, output_pred = output
ValueError: not enough values to unpack (expected 2, got 1)
Resolved! I needed to add paths to my object detection and scene graph generation model in configs/sgg_res101_joint.yaml file
I'm getting a "ValueError: not enough values to unpack (expected 2, got 1)" when I run
python main.py --config-file configs/sgg_res101_joint.yaml --inference --resume 99999 --algorithm graph-rcnn --visualize
. Appreciate any suggestions!I'm using Python 3.6.12, pytorch 1.0.0, CUDA 10.2.
The exact error message
Resolved! I needed to add paths to my object detection and scene graph generation model in configs/sgg_res101_joint.yaml file