alvinwan / shiftresnet-cifar Goto Github PK
View Code? Open in Web Editor NEWResNet with Shift, Depthwise, or Convolutional Operations for CIFAR-100, CIFAR-10 on PyTorch
License: Apache License 2.0
ResNet with Shift, Depthwise, or Convolutional Operations for CIFAR-100, CIFAR-10 on PyTorch
License: Apache License 2.0
Not sure if I understand correctly, I just need to shift the tensor in 8 different directions (plus not shifting) and that can be done in Pytorch using simple slicing?
Is that what the cuda operation is doing?
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!
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 :)
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?
Link to CIFAR100 pretrained weight is broken: https://drive.google.com/drive/u/1/folders/1unOPMsQDagcDa8gI5kFvQ0VH84N7h1V2
It says the folder is moved to Trash by the owner.
Also could you please provide pretrained ImageNet weights too? Thanks!
We're losing the ability to store these checkpoints on our institution's Google Drive, so I'm posting them here. Unzip these and place all checkpoints your root's ./checkpoint
directory.
CIFAR-10:
CIFAR-10-resnet-large.zip
CIFAR-10-resnet-small.zip
CIFAR-10-shiftresnet-large.zip
CIFAR-10-shiftresnet-small.zip
CIFAR-100:
ShiftResNet Expansion.zip
ResNet Net-wise Reduction.zip
ResNet Block-wise Reduction.zip
ShiftResNet Misc.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.