Commit b22ab379 authored by limm's avatar limm
Browse files

Merge branch 'fix_mmcv' into 'v2.2.0'

fix README.md for compilation support c++17

See merge request !2
parents 58404421 05eccb8b
......@@ -54,6 +54,7 @@ MMCV_WITH_OPS=1 python3 setup.py install
#### 注意事项
+ 若使用pip install下载安装过慢,可添加pypi清华源:-i https://pypi.tuna.tsinghua.edu.cn/simple/
+ ROCM_PATH为dtk的路径,默认为/opt/dtk
+ 在pytorch2.5.1环境下编译需要支持c++17语法,打开setup.py文件,把文件中的 -std=c++14 修改为 -std=c++17
## 验证
- python -c "import mmcv; mmcv.\_\_version__",版本号与官方版本同步,查询该软件的版本号,例如2.1.0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment