Coder Social home page Coder Social logo

densenet-pytorch's People

Contributors

andreasveit avatar mileyan avatar taineleau 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

densenet-pytorch's Issues

IndexError: : invalid index of a 0-dim tensor

Hello there! Very happy to use your code, I have a question looking forward to your reply!
In ``train.py"

losses.update(loss.data[0], input.size(0))
top1.update(prec1[0], input.size(0))

loss.data seems just a number (torch.Size([])) and does no have index 0.

The paper is inconsistent with the size of the code parameters

Hello there! Very happy to use your code, I have a question looking forward to your reply!
The same structure of DenseNet, the parameters of the pytorch version are much larger than the model parameters of the original paper? ? ? DenseNet (k=12) 40 layers, only 1.0M in the paper, 4M in the pytorch version, why is it so much worse? look forward to your reply

Reproduce CIFAR-100 result

Thank you for the great repository.

I wonder if you got the CIFAR-100 results as stated in the paper.

For example, DenseNet-BC(100, k=24) with 17.60% error on C100+
or DenseNet-BC(100, k=40) with 17.18% error on C100+

out of memory problem

When I use your code to train on ImageNet, the commonly used batch size 256 or 128 does not work due to short of gpu memory, how can I solve it?

Cannot fit into memory for {L=190, k=40} and {L=250, k=24}

I used the DenseNet-BC architecture in Table 2 of the original paper. When I tried with {L=190, k=40} and {L=250, k=24}, the number of parameters seems to be correct (15.3M and 25.6M), but it doesn't fitin to a 12GB Titan X memory. The batchsize is 64.

Do you have the same problem? If not, could you give some possible reasons for causing this problem?
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.