Open baligoyem opened 7 months ago
Hi @baligoyem, the demo.py
requires the config
file and checkpoint
:
python demo.py configs/pretrain/configs/pretrain/yolo_world_l_dual_vlpan_l2norm_2e-3_100e_4x8gpus_obj365v1_goldg_train_lvis_val.py weights/yolo_world_l_clip_base_dual_vlpan_2e-3adamw_32xb16_100e_o365_goldg_train_pretrained-0e566235.pth
When running this command, I got the error below: FileNotFoundError: [Errno 2] No such file or directory: '../../third_party/mmyolo/configs/yolov8/yolov8_l_syncbn_fast_8xb16-500e_coco.py'
Additionally, I cannot find checkpoint 'weights/yolo_world_l_clip_base_dual_vlpan_2e-3adamw_32xb16_100e_o365_goldg_train_pretrained-0e566235.pth' in the repo.
Hi @baligoyem. It seems that some checkpoints have been added, please check readme
Hii @baligoyem , You can download weights from here https://github.com/AILab-CVC/YOLO-World?tab=readme-ov-file#zero-shot-inference-on-lvis-dataset and put in weights folder
@PrashantDixit0 thanks, probably it will work, but first I need to get rid of this error related to config file: FileNotFoundError: [Errno 2] No such file or directory: '../../third_party/mmyolo/configs/yolov8/yolov8_l_syncbn_fast_8xb16-500e_coco.py'
This error would be coming because dependencies are not installed, mmyolo
check requirements.txt and install it
I don't think so @PrashantDixit0
I am sharing the ss with you:
Could it be related to the path?
Looks like third_party/mmyolo
is a git submodule. I just needed to checkout the submodule and then the path picked up; I didn't actually need to install mmyolo
myself.
Yes, that's what I meant to say
Looks like
third_party/mmyolo
is a git submodule. I just needed to checkout the submodule and then the path picked up; I didn't actually need to installmmyolo
myself.
I have the same problem. What do you mean upon checkout the submodule? Did you have to download it from huggingface?
I don't think so 我不这么认为@PrashantDixit0
I am sharing the ss with you:我正在与你分享 ss:
Could it be related to the path?会不会和路径有关?
Have you solved it? I have the same problem.
I got the error below when I run the demo.py file:
usage: demo.py [-h] [--work-dir WORK_DIR] [--cfg-options CFG_OPTIONS [CFG_OPTIONS ...]] config checkpoint demo.py: error: the following arguments are required: config, checkpoint