基础与环境:
cuda = 10.2
python = 3.6.9
pytorch = 1.8.1
mmcv-full = 1.3.4
mmdet = 2.4.0
https://mmcv.readthedocs.io/en/stable/index.html
https://codechina.youkuaiyun.com/mirrors/open-mmlab/mmcv?utm_source=csdn_github_accelerator
pip install mmcv-full==1.3.4 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
yanzheng:
import mmcv
mmcv.__version__
pip install protobuf==3.3.0
https://blog.youkuaiyun.com/weixin_42041624/article/details/108691789
https://blog.youkuaiyun.com/u014453898/article/details/106267173
https://s3.ap-northeast-2.amazonaws.com/open-mmlab/mmdetection/models/faster_rcnn_r50_fpn_1x_20181010-3d1b3351.pth
https://github.com/open-mmlab/mmcv.git
from .corner_pool import CornerPool
File "/home/tx2/d1r3det-on-mmdetection-master/mmdet/ops/corner_pool/corner_pool.py", line 4, in <module>
from . import corner_pool_ext
ImportError: /home/tx2/d1r3det-on-mmdetection-master/mmdet/ops/corner_pool/corner_pool_ext.cpython-36m-aarch64-linux-gnu.so: undefined symbol: _ZN2at5sliceERKNS_6TensorElN3c108optionalIlEES5_l
https://www.cnblogs.com/wjy-lulu/p/13216238.html