目录
一、环境:
二、安装流程:
三、问题
链接:
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版本安装合适的包



