Coder Social home page Coder Social logo

sttomato / pvn3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ethnhe/pvn3d

0.0 1.0 0.0 77.84 MB

A Deep Point-wise 3D Keypoints Hough Voting Network for 6DoF Pose Estimation

Jupyter Notebook 0.65% Python 92.83% C++ 2.56% Objective-C 0.04% Cuda 3.37% Shell 0.56%

pvn3d's Introduction

PVN3D

This is the source code for PVN3D: A Deep Point-wise 3D Keypoints Voting Network for 6DoF Pose Estimation (PDF, Video).

Installation

  • Install CUDA9.0/CUDA10.0
  • Set up python environment from requirement.txt:
    pip3 install -r requirement.txt 
  • Install tkinter through sudo apt install python3-tk
  • Install python-pcl.
  • Install PointNet++:
    python3 setup.py build_ext

Datasets

  • Download the YCB-Video Dataset from PoseCNN. Unzip it and link the unzippedYCB_Video_Dataset to pvn3d/datasets/ycb/YCB_Video_Dataset:

    ln -s path_to_unziped_YCB_Video_Dataset pvn3d/datasets/ycb
    

Training and evaluating

Training on the YCB-Video Dataset

  • Preprocess the validation set to speed up training:
    cd pvn3d
    python3 -m datasets.ycb.preprocess_testset
  • Start training on the YCB-Video Dataset by:
    chmod +x ./train_ycb.sh
    ./train_ycb
    The trained model checkpoints are stored in train_log/ycb/checkpoints/

Evaluating on the YCB-Video Dataset

  • Start evaluating by:
    chmod +x ./eval_ycb.sh
    ./eval_ycb.sh
    You can evaluate different checkpoint by revising the tst_mdl in eval_ycb.sh to path of your target model.
  • We provide our pre-trained models here. Download the ycb pre-trained model, move it to train_log/ycb/checkpoints/ and modify tst_mdl in eval_ycb.sh for testing.

Ongoing

  • Scripts for synthesis data in LineMOD dataset.
  • Training code and pre-trained models for the LineMOD dataset.

Citations:

Please cite PVN3D if you use this repository in your publications:

@article{he2019pvn3d,
  title={PVN3D: A Deep Point-wise 3D Keypoints Voting Network for 6DoF Pose Estimation},
  author={He, Yisheng and Sun, Wei and Huang, Haibin and Liu, Jianran and Fan, Haoqiang and Sun, Jian},
  journal={arXiv preprint arXiv:1911.04231},
  year={2019}
}

pvn3d's People

Contributors

ethnhe avatar

Watchers

James Cloos avatar

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.