当前位置:网站首页>Detectron2 installation method
Detectron2 installation method
2022-07-04 17:34:00 【weixin_ forty-four million three hundred and twenty-three thous】
install detectron2
install detectron2 Methods , The official tutorial :Installation — detectron2 0.6 documentation
The first method :Build Detectron2 from Source
Official source code :
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
# (add --user if you don't have permission)
# Or, to install it from a local clone:
git clone https://github.com/facebookresearch/detectron2.git
python -m pip install -e detectron2
# On macOS, you may need to prepend the above commands with a few environment variables:
CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python -m pip install ...
Be careful : If you download first detectron2, Method of reinstallation , Do not download after cd detectron2, Otherwise, there will be no “step.py” Error of .
My environment is CUDA:11.6, pytorch:1.10.2
Install in the first way , There will be CUDA And torch Version mismatch . An error is as follows :
The second method :Install Pre-Built Detectron2 (Linux only)
Know your own CUDA Version and torch After version , Using the second method is faster , And it's not easy to make mistakes , I installed it in this way .
My environment is CUDA:11.6, pytorch:1.10.2, I chose CUDA==10.2, torch==1.10.
success !
边栏推荐
- 智捷云——元宇宙综合解决方案服务商
- wuzhicms代码审计
- 中信证券网上开户安全吗 开户收费吗
- RecastNavigation 之 Recast
- [Huawei HCIA continuous update] SDN and FVC
- detectron2安装方法
- With an annual income of more than 8 million, he has five full-time jobs. He still has time to play games
- Zhijieyun - meta universe comprehensive solution service provider
- leetcode刷题目录总结
- TP configuring multiple databases
猜你喜欢
PingCode 性能测试之负载测试实践
Ks007 realizes personal blog system based on JSP
KS007基于JSP实现人个人博客系统
整理混乱的头文件,我用include what you use
Learn more about the basic situation of 2022pmp examination
C# 服务器日志模块
Firewall basic transparent mode deployment and dual machine hot standby
Internet addiction changes brain structure: language function is affected, making people unable to speak neatly
Difference between redis' memory obsolescence strategy and expiration deletion strategy
Datakit -- the real unified observability agent
随机推荐
shell脚本的替换功能实现
整理混乱的头文件,我用include what you use
The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
Zhijieyun - meta universe comprehensive solution service provider
码农版隐秘的角落:作为开发者最讨厌的5件
一文掌握数仓中auto analyze的使用
[template] [Luogu p4630] duathlon Triathlon (round square tree)
[glide] cache implementation - memory and disk cache
CocosCreator事件派發使用
The test experience "tortured" by the PMP test is worth your review
Linear time sequencing
Is it safe for Great Wall Securities to open an account? How to open a securities account
7 RSA密码体制
【HCIA持续更新】广域网技术
PingCode 性能测试之负载测试实践
Face_recognition人脸识别之考勤统计
RecastNavigation 之 Recast
第十八届IET交直流输电国际会议(ACDC2022)于线上成功举办
如何实现一个延时队列 ?
雨量预警广播自动化数据平台BWII 型广播预警监测仪