栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

AerialDetection mmdetection版本安装记录

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

AerialDetection mmdetection版本安装记录

目录

一、环境:

二、安装流程:

三、问题


链接:

https://arxiv.org/abs/1812.00155

https://github.com/dingjiansw101/AerialDetection

一、环境:

Ubuntu18.04

GCC5.5.0

CUDA10.0

Python3.7

Pytorch==1.1.0

Torchvision==0.3

mmcv==0.4.3

二、安装流程:

1、Create a conda virtual environment and activate it. Then install Cython.

conda create -n AerialDetection python=3.7 -y
conda activate AerialDetection
conda install cython

2、Install PyTorch stable or nightly and torchvision

conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch

3、Clone the AerialDetection repository

git clone https://github.com/dingjiansw101/AerialDetection.git
cd AerialDetection

4、Compile cuda extensions

./compile.sh

5、Install mmcv!!!

pip install mmcv==0.4.3

6、Install AerialDetection (other dependencies will be installed automatically).

pip install -r requirements.txt
python setup.py develop

 7、Install DOTA_devkit

apt-get install swig
cd DOTA_devkit
swig -c++ -python polyiou.i
python setup.py build_ext --inplace

Note:

You can run `python setup.py develop` to install AerialDetection if you want to make modifications to it frequently.

三、问题

1、GCC降级

https://blog.csdn.net/xrinosvip/article/details/81174713?depth_1-

https://blog.csdn.net/qq_31175231/article/details/77774971

2、fatal error:xxx.h no such file or directory

https://blog.csdn.net/cocosola/article/details/50336925

https://blog.csdn.net/qq_40349484/article/details/115058028

然后根据Cuda版本安装合适的包

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/308861.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号