Coder Social home page Coder Social logo

adversarialsceneflow's Introduction

Adversarial Scene Flow

Self-Supervised Scene Flow estimation via Adversarial Metric Learning.

Get started

To use this repository first clone this repository in your system.

conda create --name aml python=3.6
conda activate aml
git clone https://github.com/VictorZuanazzi/AdversarialSceneFlow.git
cd AdversarialSceneFlow

Downloading data:

Install pytorch_geometric to use the ShapeNet pointclouds.

Download FlyingThings3D, KITTI without ground and KITTI with ground

Download and install Lyft Level 5

pip install lyft-dataset-sdk

Models for flow extraction:

We encorage you reading the documentations before installing the external libraries.

Clone and install Kaolin :

(From experience, Kaolin does not integrate greatly with different GPUs, execute the following commands using the GPU model you will use in your experiments).

git clone https://github.com/NVIDIAGameWorks/kaolin.git
cd kaolin
python setup.py install
cd ..

Clone and install Pytorch's implementation of FlowNet3D (requires GPU to run):

cd AdversarialSceneFlow
git clone https://github.com/hyangwinter/flownet3d_pytorch
cd flownet3d_pytorch/lib
python setup.py install
cd ../../

Clone and install PointPWC-net:

git clone https://github.com/DylanWusee/PointPWC.git
cd PointPWC/pointnet2
python setup.py install
cd ../../

Training

python main.py --exp_name aml --train_type triplet --flow_extractor flownet3d --dataset shapenet

Evaluate

python main.py --exp_name aml_test --train_type evaluate --flow_extractor flownet3d --dataset shapenet --load_model <path/to/model/best_model.pt>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.