当前位置:网站首页>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 !
边栏推荐
- 【HCIA持续更新】广域网技术
- Display opencv drawn pictures on MFC picture control control
- RecastNavigation 之 Recast
- tx.origin安全问题总结
- 中信证券网上开户安全吗 开户收费吗
- go-micro教程 — 第二章 go-micro v3 使用Gin、Etcd
- 数学分析_笔记_第7章:多元函数的微分学
- VB cannot access database stocks
- Ble HCI flow control mechanism
- Vscode modification indentation failed, indent four spaces as soon as it is saved
猜你喜欢
解读数据安全治理能力评估框架2.0,第四批DSG评估征集中
Developers, MySQL column finish, help you easily from installation to entry
整理混乱的头文件,我用include what you use
Interpretation of data security governance capability evaluation framework 2.0, the fourth batch of DSG evaluation collection
【Unity UGUI】ScrollRect 动态缩放格子大小,自动定位到中间的格子
CocosCreator事件派發使用
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.
容器环境minor gc异常频繁分析
The Ministry of human resources and Social Security announced the new construction occupation
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
随机推荐
Offline and open source version of notation -- comprehensive evaluation of note taking software anytype
R语言plotly可视化:plotly可视化互相重叠的直方图(historgram)、并在直方图的顶部边缘使用geom_rug函数添加边缘轴须图Marginal rug plots
Using win10 scheduling task program to automatically run jar package at fixed time
kaili不能输入中文怎么办???
Spark 中的 Rebalance 操作以及与Repartition操作的区别
金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
R语言plotly可视化:plotly可视化多分类变量小提琴图(multiple variable violin plot in R with plotly)
Datakit -- the real unified observability agent
Web game engine
Load test practice of pingcode performance test
Dynamic programming stock problem comparison
What are cache penetration, cache breakdown, and cache avalanche
Perfectly integrated into win11 style, Microsoft's new onedrive client is the first to see
动态规划股票问题对比
ARTS_20220628
设置窗体透明 隐藏任务栏 与全屏显示
Which domestic cloud management platform manufacturer is good in 2022? Why?
上网成瘾改变大脑结构:语言功能受影响,让人话都说不利索
Solution of commercial supply chain coordination system in the mineral industry: build a digital intelligent supply chain platform to ensure the safe supply of mineral resources
CocosCreator事件派發使用