配置gcc,g++
sudo update-alternatives --config g++
合并zip压缩包
cat ziptest.z* > google_bak.zip
训练数据
python train.py --cfg_file cfgs/kitti_models/pointrcnn.yaml --batch_size 4 --epochs 60
退出conda
conda deactivate
进入conda环境
python demo.py --cfg_file cfgs/kitti_models/pv_rcnn.yaml \
--ckpt pv_rcnn_8369.pth \
--data_path ../data/kitti/training/velodyne/000008.bin
conda activate HDMapNet
cd /Project/pycharm_project/OpenPCDet-master/tools
多卡训练
CUDA_VISIBLE_DEVICES=3,6,7 python -m torch.distributed.launch --nproc_per_node=3 train.py --cfg_file cfgs/kitti_models/pv_rcnn.yaml --launcher pytorch
评测模型
python test.py --cfg_file cfgs/kitti_models/pv_rcnn.yaml --ckpt ../output/kitti_models/pv_rcnn/default/ckpt/checkpoint_epoch_80.pth