Giter VIP home page Giter VIP logo

mvcnn-pytorch's Introduction

MVCNN-PyTorch

Multi-View CNN built on ResNet/AlexNet to classify 3D objects

A PyTorch implementation of MVCNN using ResNet, inspired by the paper by Hang Su. MVCNN uses multiple 2D images of 3D objects to classify them. You can use the provided dataset or create your own.

Also check out my RotationNet implementation whitch outperforms MVCNN (Under construction).

MVCNN

Dependencies

  • torch
  • torchvision
  • numpy
  • tensorflow (for logging)

Dataset

ModelNet40 12-view PNG dataset can be downloaded from Google Drive.

You can also create your own 2D dataset from 3D objects (.obj, .stl, and .off), using BlenderPhong

Setup

mkdir checkpoint
mkdir logs

Train

To start training, simply point to the path of the downloaded dataset. All the other settings are optional.

python controller.py <path to dataset>  [--depth N] [--model MODEL] [--epochs N] [-b N]
                                        [--lr LR] [--momentum M] [--lr-decay-freq W]
                                        [--lr-decay W] [--print-freq N] [-r PATH] [--pretrained]

To resume from a checkpoint, use the -r tag together with the path to the checkpoint file.

Tensorboard

To view training logs

tensorboard --logdir='logs' --port=6006

mvcnn-pytorch's People

Contributors

rbirkeland avatar zzuberi 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.