[英]Installing detectron2 in Heroku
RROR:找不到满足要求的版本detectron2>=0.4(来自-r /tmp/build_345e2e66/requirements.txt(第5行))(来自版本:无)
ERROR: No matching distribution found for detectron2>=0.4 (from -r /tmp/build_345e2e66/requirements.txt (line 5))
不要使用 pip 冻结,将这些添加到您的 req.txt 中将不起作用
然后它将成功安装您的检测器
这似乎仅适用于 Linux。 要使其在 Mac 上运行:
git clone https://github.com/facebookresearch/detectron2.git
然后加
-e 探测器2
到你的requirements.txt
资料来源: https://detectron2.readthedocs.io/en/latest/tutorials/install.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.