mochan-shs / 3DUnMonoFlow

Codes for ICRA2021 paper "Unsupervised Learning of 3D Scene Flow from Monocular Camera"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3DUnMonoFlow

Code for the paper:

G. Wang, X. Tian, R. Ding, and H. Wang, Unsupervised Learning of Scene Flow from Monocular Camera, in International Conference on Robotics and Automation, 2021.

Prerequisites

Our model is trained and tested under:

  • Python 3.6.9
  • NVIDIA GPU + CUDA CuDNN
  • PyTorch (torch == 1.7.1)
  • torchvision
  • scipy
  • argparse
  • tensorboardX
  • tqdm
  • numba
  • cffi

Operation in this repo is used to compile the furthest point sampling, grouping and gathering operation for PyTorch.

cd pointnet2
python setup.py install
cd ../

Data preprocess

We referred to the dataset pre-processing approach in this repo to generate our data for training from KITTI Odometry dataset. We uploaded our processed dataset and you can click this link to download.

KITTI scene flow dataset is used for test and evaluation. Flownet3d processed the first 150 data points from KITTI scene flow dataset and removed the ground points. We copied the link here for you to download.

Get started

Train

Set data in the configuration file to the path where your training data is saved and change the batch_size according to your GPU. Then run:

python train.py config.yaml

Our pre-trained model is provided here for download.

Evaluate

Set evaluate in the configuration file to be True. Then run:

python train.py config.yaml

Acknowledgement

We are grateful for repo for its github repository.

About

Codes for ICRA2021 paper "Unsupervised Learning of 3D Scene Flow from Monocular Camera"

License:MIT License


Languages

Language:Python 78.7%Language:Cuda 13.4%Language:C++ 6.2%Language:C 1.6%