首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Heroku中安装detectron2

在Heroku中安装detectron2
EN

Stack Overflow用户
提问于 2021-05-19 07:28:23
回答 2查看 1.4K关注 0票数 0

RROR:无法找到满足detectron2>=0.4需求的版本(来自-r /tmp/build_345e2e66/requments.txt(第5行))(版本:无)

代码语言:javascript
复制
   ERROR: No matching distribution found for detectron2>=0.4 (from -r /tmp/build_345e2e66/requirements.txt (line 5))
EN

回答 2

Stack Overflow用户

发布于 2021-07-28 19:12:49

不要使用pip冻结,它不会工作,只需将这些添加到您的req.txt中

https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.8/index.html

  • detectron2

  1. -f -f

然后它会成功地安装你的探测器

票数 0
EN

Stack Overflow用户

发布于 2021-08-18 00:09:55

这似乎只适用于Linux。要让它在Mac上运行:

代码语言:javascript
复制
git clone https://github.com/facebookresearch/detectron2.git

然后添加

-e detectron2

给你的requirements.txt

来源:https://detectron2.readthedocs.io/en/latest/tutorials/install.html

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67598712

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档