Git Product home page Git Product logo

c3dm's Introduction

Canonical 3D Deformable Mapping

Code for Canonical 3D Deformable Mapping paper: arXiv, web page.

Installation

git clone https://github.com/facebookresearch/c3dm.git
cd c3dm
conda create -n c3dm python=3.8

If you want CUDA support, please follow the instructions to install Pytorch. We ran the experiments using the module torch==1.5.1+cu101.

All other dependencies can be installed by running pip:

pip install -e .

Dependencies:

  • pytorch 1.5.1
  • pytorch3d
  • pyyaml
  • numpy
  • PIL
  • matplotlib
  • visdom
  • plotly (visualisation only)
  • trimesh (only for metrics)

Running the code

For evaluation, pass the config name for the dataset, e.g.:

cd c3dm
tar -xzf dataset_root.tar.gz
python ./experiment.py freicars.yaml --eval

The code should download the required data and pre-trained models.

For training from scratch, make sure there is no model in c3dm/exp_out, otherwise training will continue from it. Then run e.g.

python ./experiment.py freicars.yaml

License

The code is released under the MIT License.

Citation

David Novotny, Roman Shapovalov, Andrea Vedaldi. Canonical 3D Deformer Maps: Unifying parametric and non-parametric methods for dense weakly-supervised category reconstruction. NeurIPS 2020.

Bibtex:

@inproceedings{Novotny2020,
    author = {Novotny, David and Shapovalov, Roman and Vedaldi, Andrea},
    booktitle = {NeurIPS},
    title = {{Canonical 3D Deformer Maps: Unifying parametric and non-parametric methods for dense weakly-supervised category reconstruction}},
    url = {http://arxiv.org/abs/2008.12709},
    year = {2020}
}

c3dm's People

Contributors

shapovalov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

liuguoyou wx-b

c3dm's Issues

CelebA Checkpoint

Hi,

Can you share the trained CelebA checkpoint?
If you are not planning to release the checkpoint, can you tell me how to run the train code with the CelebA configuration in detail?

Thank you!

How to download the Freiburg Cars dataset?

Hi, thanks for the great work!
It seems that the experiment.py code does not automatically download the Freiburg Cars dataset. How to download that dataset in the format used by this project (i.e., with reconstruction results)?

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.