Giter Club home page Giter Club logo

3ddensenet.torch's Introduction

3D DenseNet in torch

3D DenseNet is using 3D Convolutional(VolumetricConvolution in torch), Pooling, BatchNormalization layers with 3D kernel. This implements is based on DenseNet and fb.resnet.torch. DenseNet introduced in the paper "Densely Connected Convolutional Networks" (CVPR 2017, Best Paper Award)

Requirements

See the installation instructions for a step-by-step guide.

Dataset

  1. Download data through above link;
  2. and modify the file path in train.list and test.list file;
  3. then modify the datadir variable in examples/run_modelnet40.sh.

Training

See the training recipes for addition examples.

For Modelnet40, just run shell examples/run_modelnet40.sh 0,1, 0,1 is the GPU ids with multi-GPU supported.

cd examples
./run_modelnet40_h5.sh 0,1

Trained models

modelnet40_60x validation error rate

Network Top-1 error Top-5 error
Voxnet 13.74 1.92
DenseNet-20-12 12.99 2.03
DenseNet-30-12 12.11 1.94
DenseNet-30-16 11.08 1.61
DenseNet-40-12 11.57 1.78

Notes

This implementation differs from the ResNet paper in a few ways:

3D Convolution: We use the VolumetricConvolution to implement 3D Convolution.

3ddensenet.torch's People

Contributors

kuixu avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

3ddensenet.torch's Issues

How to generate modelnet40_60x as you say?

Hello! Thank you for your contribution. I am confusing the ModelNet40 dataset.
The format of ModelNet40 downloaded from http://3dshapenets.cs.princeton.edu/ is *.off while the format is *.h5 when the dataset is in modelnet40_ply_hdf5_2048. How to transform *.off files to *.h5 files? Could you please give me some guidances?
Thank you very much!

model_best.t7

hello
i tried to run the train code but it showed:

wang@deep-learn:~/3ddensenet.torch/examples$ ./run_modelnet40_h5.sh 0,1
nGPU:2
batchSize:48
log is saved into logs/20200820162653_3ddensenet_modelnet_bz48_de30_gr16_modelnet40_60x_h5_n2.log
20200820162656
modelnet
/home/wang/torch/install/bin/luajit: /home/wang/3ddensenet.torch/models/init.lua:30: File not found: /home/wang/3ddensenet.torch/data/data/modelnet40_60x_h5/3ddensenet_modelnet_bz48_de30_gr16/model_best.t7
stack traceback:
[C]: in function 'assert'
/home/wang/3ddensenet.torch/models/init.lua:30: in function 'setup'
main.lua:35: in main chunk
[C]: in function 'dofile'
...wang/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406510
log is saved into logs/20200820162653_3ddensenet_modelnet_bz48_de30_gr16_modelnet40_60x_h5_n2.log

Where can I get this “model_best.t7 “?
thanks

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.