Use pointpillars as baseline, use SAIC dataset to do 3D detection
Forked from: https://github.com/nutonomy/second.pytorch
Pre_trained model download:
git clone https://github.com/Ang-ang/SAIC_T5D2.git
Use Anaconda to configure as many packages as possible.
conda create -n SAIC python=3.7 anaconda
source activate SAIC
conda install numpy=1.17.2 shapely pybind11 protobuf scikit-image numba pillow
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
Add following environment variables for numba to ~/.bashrc:
export NUMBAPRO_CUDA_DRIVER=/usr/lib/x86_64-linux-gnu/libcuda.so
export NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so
export NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice
Add SAIC_T5D2/ to PYTHONPATH.
Download SAIC dataset and create some directories first:
└── SAIC_DATASET_ROOT
├── training
| ├── calibration
| ├── label
| ├── velodyne
└── testing
├── velodyne
Note: this repo use SAIC_DATASET_ROOT=/data/SAIC_dataset/
.
python create_data.py create_kitti_info_file --data_path=SAIC_DATASET_ROOT
python create_data.py create_groundtruth_database --data_path=SAIC_DATASET_ROOT
The config file needs to be edited to point to the above datasets:
train_input_reader: {
...
database_sampler {
database_info_path: "/path/to/SAIC_dataset_dbinfos_train.pkl"
...
}
kitti_info_path: "/path/to/SAIC_dataset_infos_train.pkl"
kitti_root_path: "SAIC_DATASET_ROOT"
}
...
eval_input_reader: {
...
kitti_info_path: "/path/to/SAIC_dataset_infos_val.pkl"
kitti_root_path: "SAIC_DATASET_ROOT"
}
cd ~/second.pytorch/second/pytorch
python train.py train --config_path=(path to config file) --model_dir=(path to model dir)
cd ~/second.pytorch/second/pytorch
python train.py evaluate --config_path=(path to config file) --model_dir=(path to model dir) --ckpt_path=(path to model)
saic_t5d2's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.