环境要求
~/work/object_detection/PointRCNN-master/
https://github.com/sshaoshuai/PointRCNN
conda activate pointrcnn
Linux (tested on Ubuntu 14.04/16.04)
Python 3.6
PyTorch 1.0
依赖包easydict 、tqdm、tensorboardX 、fire、numba、pyyaml、scikit-image 、shapely
conda install pytorch==1.0.0 torchvision==0.2.1 cuda100 -c pytorch
pip install easydict
pip install tqdm
pip insatll tensorboardX
pip install fire
pip install numba
pip install pyyaml
pip install scikit-image
pip install shapely
mkl2018
conda install mkl=2018 -c anaconda
下载后pointnet2后
sh build_and_install.sh
ln -s (PointPillars数据集的路径) object
https://drive.google.com/file/d/1aapMXBkSn5c5hNTDdRNI74Ptxfny7PuC/view?usp=sharing
save at tools
in tools floder
python eval_rcnn.py --cfg_file cfgs/default.yaml --ckpt PointRCNN.pth --batch_size 4 --eval_mode rcnn --set RPN.LOC_XZ_FINE false
question2
AttributeError: ‘version_info’ object has no attribute ‘version’
先卸载原有包:pip uninstall pyparsing
再安装指定包:pip install pyparsing==2.4.7
question3
TypeError: load() missing 1 required positional argument: ‘Loader’
pip install pyyaml==5.4.1
question 4
AssertionError: type <class ‘str’> does not match original type <class ‘bool’>
question 5
/home/siat/Downloads/ENTER/e