Git Product home page Git Product logo

Comments (5)

lizhenstat avatar lizhenstat commented on September 6, 2024

@LeighDavis Hi, same questions here, did you find the answer? Thanks

from condensenet.

lizhenstat avatar lizhenstat commented on September 6, 2024

@LeighDavis, Hi, I find the training setting for imagenet in script.sh, it is

python main.py --model condensenet -b 256 -j 20 /PATH/TO/IMAGENET --epochs 120 --stages 4-6-8-10-8 --growth 8-16-32-64-128 --group-1x1 4 --group-3x3 4 --condense-factor 4 --bottleneck 4 --resume --group-lasso 0.00001 --gpu 0,1,2,3

from condensenet.

LeighDavis avatar LeighDavis commented on September 6, 2024

Hi @lizhenstat, thanks for following up. Yes, I had tried those arguments from that training command from script.sh file but I kept getting similar shape errors. Did these arguments work for you?

from condensenet.

lizhenstat avatar lizhenstat commented on September 6, 2024

@LeighDavis Hi, to evaluate from the pre-trained converted mode, you can use the following code

python main.py --model condensenet_converted -b 64 -j 20 /PATH/TO/IMAGENET \
--stages 4-6-8-10-8 --growth 8-16-32-64-128 --gpu 0 --resume \
--evaluate-from /PATH/TO/CONVERTED/MODEL

Your log shows the mismatch of the parameters in the same layer
Since the converted model is rearranged to a group convolution, and on ImageNet, the condense factor is taking
the value of 2, which is equivalent to pruning 50% of the total filters.

I evaluate condensenet-74 on my one 1080-ti successfully.

from condensenet.

ShichenLiu avatar ShichenLiu commented on September 6, 2024

@lizhenstat Thanks for addressing @LeighDavis 's questions. I currently have no ImageNet installed on my machine, so I am really glad you can help!

from condensenet.

Related Issues (20)

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.