VoxelNet-tensorflow
A tensorflow implementation for VoxelNet.
Requirement
Python 3.5+
tensorflow 1.4+
NumPy
, etc.
Usage
- have a look at
config.py
for model configurations, split your data into test/train set by this. - run
setup.py
to 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.py
for them. - launch a tensorboard and wait for the training result.
Data augmentation
Since c928317, data augmentation is done in an online manner, so there is no need for generating augmented samples.
Result
TBD
Acknowledgement
Thanks to @ring00 for the implementation of VFE layer and Jialin Zhao for the implementation of the RPN.
License
MIT