Code Monkey home page Code Monkey logo

shiftresnet-cifar's Issues

Evaluating ShiftResNet on CIFAR-10 returns AttributeError

Running python eval.py --model=checkpoint/shiftresnet20_3.0.t7 in root directory returns

Files already downloaded and verified
==> Resuming from checkpoint..
Reading from model checkpoint/shiftresnet20_3.0.t7
...(some SourceChangeWarnings)...
Traceback (most recent call last):
  File "eval.py", line 90, in <module>
    checkpoint = torch.load(model)
  File "/cvgl2/u/brianlui/shiftresnet/shift/local/lib/python2.7/site-packages/torch/serialization.py", line 358, in load
    return _load(f, map_location, pickle_module)
  File "/cvgl2/u/brianlui/shiftresnet/shift/local/lib/python2.7/site-packages/torch/serialization.py", line 542, in _load
    result = unpickler.load()
AttributeError: 'module' object has no attribute 'ShiftConv'

Why does the ShiftNet shiftresnet20_3.0.t7 model pretrained on CIFAR-10 give a module object that has no attribute ShiftConv? I was able to fix other bugs using StackOverflow, but this one seems to be model-specific. Would appreciate any advice - thank you!

FLOPs of ShiftNet-A, B, C?

The parameters of ShiftNet is given in the original paper, but FLOPs is not. Could you provide the FLOPs of ShiftNet-A, B, C? I'll cite your paper :)

How to adapt to Python 3?

The requirement needs cffi==1.11.2, but this version only supports python 2.7 to 2.8. How to modify the files to fit Python 3?

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.