microsoft / scene_graph_benchmark

image scene graph generation benchmark
MIT License
385 stars 86 forks source link

AssertionError: Override list has odd length: #71

Open gzSYSUmrlian opened 2 years ago

gzSYSUmrlian commented 2 years ago

when i run the code as following: python tools/test_sg_net.py --config-file sgg_configs/vgattr/vinvl_x152c4.yaml TEST.IMS_PER_BATCH 1 MODEL.WEIGHT ckpt/vinvl_vg_x152c4.pth MODEL.ROI_HEADS.NMS_FILTER 1 MODEL.ROI_HEADS.SCORE_THRESH 0.2 DATA_DIR '/home/projects/scene_graph_benchmark/output/tsv_feature/''/home/projects/scene_graph_benchmark/output/'TEST.IGNORE_BOX_REGRESSION True MODEL.ATTRIBUTE_ON True

it raises this kind of error makes me so confused : AssertionError: Override list has odd length: ['TEST.IMS_PER_BATCH', '1', 'MODEL.WEIGHT', 'ckpt/vinvl_vg_x152c4.pth', 'MODEL.ROI_HEADS.NMS_FILTER', '1', 'MODEL.ROI_HEADS.SCORE_THRESH', '0.2', 'DATA_DIR', '/home/projects/scene_graph_benchmark/output/tsv_feature//home/projects/scene_graph_benchmark/output/TEST.IGNORE_BOX_REGRESSION', 'True', 'MODEL.ATTRIBUTE_ON', 'True']; it must be a list of pairs