• Stars
    star
    475
  • Rank 91,856 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Project repo for Learning Category-Specific Mesh Reconstruction from Image Collections

Learning Category-Specific Mesh Reconstruction from Image Collections

Angjoo Kanazawa*, Shubham Tulsiani*, Alexei A. Efros, Jitendra Malik

University of California, Berkeley In ECCV, 2018

This code is no longer actively maintained. For pytorch 1.x, python3, and pytorch NMR support, please see this implementation from chenyuntc.

Project Page Teaser Image

Requirements

  • Python 2.7
  • PyTorch tested on version 0.3.0.post4

Installation

Setup virtualenv

virtualenv venv_cmr
source venv_cmr/bin/activate
pip install -U pip
deactivate
source venv_cmr/bin/activate
pip install -r requirements.txt

Install Neural Mesh Renderer and Perceptual loss

cd external;
bash install_external.sh

Demo

  1. From the cmr directory, download the trained model:
wget https://people.eecs.berkeley.edu/~kanazawa/cachedir/cmr/model.tar.gz & tar -vzxf model.tar.gz

You should see cmr/cachedir/snapshots/bird_net/

  1. Run the demo:
python -m cmr.demo --name bird_net --num_train_epoch 500 --img_path cmr/demo_data/img1.jpg
python -m cmr.demo --name bird_net --num_train_epoch 500 --img_path cmr/demo_data/birdie.jpg

Training

Please see doc/train.md

Citation

If you use this code for your research, please consider citing:

@inProceedings{cmrKanazawa18,
  title={Learning Category-Specific Mesh Reconstruction
  from Image Collections},
  author = {Angjoo Kanazawa and
  Shubham Tulsiani
  and Alexei A. Efros
  and Jitendra Malik},
  booktitle={ECCV},
  year={2018}
}

More Repositories

1

hmr

Project page for End-to-end Recovery of Human Shape and Pose
Python
1,543
star
2

human_dynamics

Project for paper "Learning 3D Human Dynamics from Video"
Python
631
star
3

motion_reconstruction

Motion Reconstruction Code and Data for Skills from Videos (SFV)
Python
312
star
4

vgan

Code for image generation of Variational Discriminator Bottleneck: Improving Imitation Learning, Inverse RL, and GANs by Constraining Information Flow
Python
141
star
5

catdeform

A Matlab implementation for the paper: "Learning 3D Deformation of Animals from 2D Images" http://www.umiacs.umd.edu/~kanazawa/papers/cat_eg2016.pdf
MATLAB
46
star
6

Semantic-texton-forests

Implementation of semantic texton forests in matlab
MATLAB
23
star
7

MRF

simple implementation of MRF foreground/background segmentation for CMSC828 Spring '12
C++
21
star
8

Structure-from-Motion

Affine structure from motion in image sequences adapted from Derek Hoiem's CS 543/ECE 549 course at the University of Illinois at Urbana-Champaign
MATLAB
18
star
9

si-convnet

Implementation of the [Locally Scale-Invariant Convolutional Neural Network](http://www.umiacs.umd.edu/~kanazawa/papers/sicnn_workshop2014.pdf)
C++
17
star
10

Intrinsic-Image

experiments with intrinsic image decomposition
C++
16
star
11

Topic-Random-Field

Implementation of "Image Segementation with Topic Random Field" by Zhao, Fei-fei, and Xing.
MATLAB
8
star
12

Explicit_Shape_Regression

Implementation of the paper for face alignment by MSRA research.microsoft.com/en-us/.../cvpr12_facealignment.pdf
MATLAB
7
star
13

Basic-Classification

ML Fall '10 project 1
Python
4
star
14

Class-Notes

All of my class notes!
Emacs Lisp
4
star
15

Nonlinear-Diffusion

bare minimum illustration of 3 nonlinear image denoising methods
MATLAB
3
star
16

Complex-Classification

ML Fall '11 project 2
Python
2
star
17

Collective-Classification

C++
2
star
18

Instagram-Scraper

Scrape images from instagram
Ruby
2
star
19

Formal-Reasoning-in-Computer-Science

University of Maryland open study group on mathematical proofs, theoretical arguments, probability theory and randomized algorithms. Focus on solving problems. Content has been chosen to complement graduate-level work in computer science.
Emacs Lisp
2
star
20

Unsupervised-Learning

UMD Fall '11 CMS726 Machine Learning Project 3 with Hall Daume.
Python
1
star