YifanXu74 / MQ-Det

Official PyTorch implementation of "Multi-modal Queried Object Detection in the Wild" (accepted by NeurIPS 2023)
Apache License 2.0
261 stars 12 forks source link

too many values to unpack #6

Open FJR-Nancy opened 1 year ago

FJR-Nancy commented 1 year ago

While finetuning following the instruction , an error "too many values to unpack" happens in "for iteration, (images, targets, idxs, positive_map, positive_map_eval, greenlight_map) in enumerate(data_loader, start_iter):" (line 92 of maskrcnn_benchmark/engine/trainer.py). What is this problem? The command is "python tools/eval_odinw.py --config_file configs/pretrain/mq-glip-l.yaml --opts 'MODEL.WEIGHT MODEL/mq-glip-l' --setting 5-shot --add_name large --log_path 'OUTPUT/custom_log/' --task_config configs/custom_dataset.yaml"

YifanXu74 commented 1 year ago

Hi, This is due to a bug here, which gives an additional output "path". I have fixed it in the latest version. To solve this problem, you can either download the latest version or simply delete the "path" here.