直接pip install -r requirements.txt以下三个包老是报错
git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI&egg=pycocotools
submitit
git+https://github.com/cocodataset/panopticapi.git#egg=panopticapi
直接在github上面下载这三个的压缩包。放在E盘底下
下载下来后,安装他的绝对路径
pip install E:\Python\panopticapi-master.zip
pip install E:\Python\cocoapi-master.zip(不行出错了)
参考https://blog.csdn.net/zyh960616/article/details/124000988,在清华镜像下载文件:pycocotools_windows-2.0-cp38-cp38-win_amd64.whl (链接是: https://pypi.tuna.tsinghua.edu.cn/simple/pycocotools-windows/),并把文件放到DETR的文件夹中
pip install E:\Python\submitit-main.zip
——————————————————————————————————————————————————————————
base下面的安装包,应该在以下位置
E:\anaconda3\lib\site-packages