A tensorflow implementation for VoxelNet.
Python 3.5+tensorflow 1.4+NumPy, etc.
- have a look at
config.pyfor model configurations, split your data into test/train set by this. - run
setup.pyto build the Cython module.
$ python setup.py build_ext --inplace- make sure your working directory looks like this (some files are omitted):
βββ build <-- Cython build file
βββ model <-- some src files
βββ utils <-- some src files
βββ setup.py
βββ config.py
βββ test.py
βββ train.py
βββ train_hook.py
βββ README.md
βββ data <-- KITTI data directory
βββ object
Β Β Β Β βββ trainingΒ <-- training data
| βββ image_2Β
| βββ label_2Β
| βββ velodyne
βββ testing <--- testing data
βββ image_2Β
βββ label_2Β
βββ velodyne
- run
train.py. Some cmdline parameters is needed, just checktrain.pyfor them. - launch a tensorboard and wait for the training result.
Since c928317, data augmentation is done in an online manner, so there is no need for generating augmented samples.
TBD
Thanks to @ring00 for the implementation of VFE layer and Jialin Zhao for the implementation of the RPN.
MIT