open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
28.71k stars 9.32k forks source link

在mm_grounding_dino的usage_zh-CN.md中无法下载MM Grounding DINO-T #11368

Open TomyangSydney opened 6 months ago

TomyangSydney commented 6 months ago

在执行"wget load_from = 'https://download.openmmlab.com/mmdetection/v3.0/mm_grounding_dino/grounding_dino_swin-t_pretrain_obj365_goldg_grit9m_v3det/grounding_dino_swin-t_pretrain_obj365_goldg_grit9m_v3det_20231204_095047-b448804b.pth' # noqa" 这一语句时得到了如下面图片所示的错误。

image

hhaAndroid commented 6 months ago

不是这么用的哦,你可能需要了解下 wget 是啥意思?

TomyangSydney commented 6 months ago

感谢回复, 我记得wget 是从网站上下载东西的一个指令. 这里我是看到usage_zh-CN.md 文件里面提到要预先下载MM Grounding DINO-T 模型的权重方便后面的展示。如果用命令行的话就不用加load_from 和最后的那个#noqa了。 但是即使删掉后还是提示报错。 image image

hhaAndroid commented 6 months ago

哦,那应该是文档写错了,正确的命令是 wget https://xxxxx 这样就可以了

TomyangSydney commented 6 months ago

感谢回复,直接wget https://xxxxx/ 就没问题。 现在模型的权重已经可以下载下来了。

TomyangSydney commented 6 months ago

顺便问一下在测试集上运行zero-shot 需要什么配置的系统? 普通的笔记本电脑可以运行么?