Closed zhujiajian98 closed 7 months ago
I check two issues of YOLO-World github repo, but we can't fix the error.
@zhujiajian98 I ran into the same problem, and fixed the error. maybe you can refer to https://github.com/AILab-CVC/YOLO-World/issues/202#issue-2217360202
@mingxingpu Thank you very much, but when I ran the image_demo.py, I still get the same error.
The command I used is like this:
python image_demo.py configs/pretrain/yolo_world_v2_s_vlpan_bn_2e-3_100e_4x8gpus_obj365v1_goldg_train_lvis_minival.py /root/.cache/huggingface/hub/models--wondervictor--YOLO-World/snapshots/22efce1a2f6e751dfbf1626e9d039cb3b0f3e809/yolo_world_v2_s_obj365v1_goldg_pretrain-55b943ea.pth data/images/bus.jpg person,bus --topk 100
The command I used is like this:
python image_demo.py configs/pretrain/yolo_world_v2_s_vlpan_bn_2e-3_100e_4x8gpus_obj365v1_goldg_train_lvis_minival.py /root/.cache/huggingface/hub/models--wondervictor--YOLO-World/snapshots/22efce1a2f6e751dfbf1626e9d039cb3b0f3e809/yolo_world_v2_s_obj365v1_goldg_pretrain-55b943ea.pth data/images/bus.jpg person,bus --topk 100
you can try comment line 46 and uncomment line 47.
@mingxingpu Thank you very much, but when I ran the image_demo.py, I still get the same error.
you can try comment line 46 and uncomment line 47.
OK, thanks a lot. @mingxingpu
When I pull the newest demo of YOLO-World and use the image_demo.py to infer the image, it would arise the next error like this: