-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行image_demo.py报错 #125
Comments
这个看起来mmcv没有装好,可以单独安装一下看看 |
装哪个版本合适呀 |
2.0.0应该就可以 |
READMDE里有huggingface的镜像网站,替换了就行 |
在哪个文件中替换呀? |
config里model_name |
有没有可能把默认下载的网址改成镜像的? |
你直接在镜像网站里把需要的模型全下到本地,然后config里指定本地路径就行了,省得麻烦 |
@Longleaves 你这边修改了哪些东西 |
没有修改任何东西哦 |
是配错了模型,用成了seg,改成YOLO_WORLD_S就好啦。感谢你们!谢谢! |
@fgd0707 用最新的code,已经fix了 |
Hi all, the bug in the |
This issue will be closed since there is no further update related to the main topic. Besides, the error has been fixed already. Thanks for your interest. If you have any questions about YOLO-World in the future, you're welcome to open a new issue. |
我找不到pth模型下载的地方,这边只有一个模型:https://huggingface.co/spaces/stevengrove/YOLO-World/tree/main,而且找不到对应的config? |
使用的命令是:
python image_demo.py configs/pretrain/yolo_world_s_dual_vlpan_l2norm_2e-3_100e_4x8gpus_obj365v1_goldg_train_lvis_minival.py models/yolo_world_seg_m_dual_vlpan_2e-4_80e_8gpus_allmodules_finetune_lvis-ca465825.pth data/images/ 'person,dog,cat' --topk 100 --threshold 0.005 --output-dir demo_outputs/
报错内容是:
ModuleNotFoundError: No module named 'mmcv._ext'
ImportError: Failed to import yolo_world
You should set
PYTHONPATH
to makesys.path
include the directory which contains your custom module我已pip install -e .
请问这上面报错怎么解决呀?
The text was updated successfully, but these errors were encountered: