当前位置:网站首页>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 !
边栏推荐
- Offline and open source version of notation -- comprehensive evaluation of note taking software anytype
- RecastNavigation 之 Recast
- 大规模服务异常日志检索
- Image retrieval
- Load test practice of pingcode performance test
- go-micro教程 — 第二章 go-micro v3 使用Gin、Etcd
- Great Wall Securities security does not open a securities account
- PingCode 性能测试之负载测试实践
- Is it safe for Bank of China Securities to open an account online?
- TP configuring multiple databases
猜你喜欢
kaili不能输入中文怎么办???
Zhijieyun - meta universe comprehensive solution service provider
Which domestic cloud management platform manufacturer is good in 2022? Why?
La 18e Conférence internationale de l'IET sur le transport d'électricité en courant alternatif et en courant continu (acdc2022) s'est tenue avec succès en ligne.
离线、开源版的 Notion—— 笔记软件Anytype 综合评测
【HCIA持续更新】广域网技术
leetcode:421. 数组中两个数的最大异或值
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Rainfall warning broadcast automatic data platform bwii broadcast warning monitor
Load test practice of pingcode performance test
随机推荐
detectron2安装方法
第十八届IET交直流输电国际会议(ACDC2022)于线上成功举办
一文掌握数仓中auto analyze的使用
How to implement a delay queue?
Ks007 realizes personal blog system based on JSP
Is it safe for Bank of China Securities to open an account online?
La 18e Conférence internationale de l'IET sur le transport d'électricité en courant alternatif et en courant continu (acdc2022) s'est tenue avec succès en ligne.
[HCIA continuous update] WLAN overview and basic concepts
With an annual income of more than 8 million, he has five full-time jobs. He still has time to play games
电子宠物小狗-内部结构是什么?
gatling 之性能测试
Solve the El input input box For number number input problem, this method can also be used to replace the problem of removing the arrow after type= "number"
What are cache penetration, cache breakdown, and cache avalanche
利用win10计划任务程序定时自动运行jar包
Zhijieyun - meta universe comprehensive solution service provider
防火墙基础透明模式部署和双机热备
Dynamic programming stock problem comparison
安信证券手机版下载 网上开户安全吗
VSCode修改缩进不成功,一保存就缩进四个空格
新享科技发布小程序UniPro小优 满足客户移动办公场景