Giter VIP home page Giter VIP logo

pruning-cnn's Introduction

Pruning-CNN

Pruning Deep Neural Networks.

pruning-cnn's People

Contributors

kuldeep-attri avatar

Stargazers

doannn avatar alexL  avatar KUN avatar SeonWoo-Lee avatar Hung Bui avatar  avatar muzi-8 avatar Shubham Pachori avatar Elon avatar

Watchers

James Cloos avatar  avatar muzi-8 avatar

pruning-cnn's Issues

AttributeError: 'NoneType' object has no attribute 'in_channels'

@Kuldeep-Attri When i run prune,i have this error,can you help me, my pytorch version is 0.4.0, thanks!
Layers that will be prunned {3: 3, 6: 13, 4: 3, 12: 52, 10: 12, 11: 27, 9: 13, 7: 4, 0: 1}
Prunning filters..
Traceback (most recent call last):
File "finetune.py", line 312, in
fine_tuner.prune()
File "finetune.py", line 245, in prune
model = prune_squeezenet_conv_layer(model, layer_index, filter_index)
File "/home/chenfei/Compression/Pruning-CNN-master/SqueezeNet-Pruning/prune1.py", line 144, in prune_squeezenet_conv_layer
torch.nn.Conv2d(in_channels=old_conv_layer.in_channels - 1,
AttributeError: 'NoneType' object has no attribute 'in_channels'

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.