Comments (10)
Absolutely, this would be an excellent addition :) Perhaps it's best to keep it separate, since it's about a different paper? Of course we can make sure that they link to each other.
from recipes.
Oh great, I'm glad that I could contribute! What is the best way to proceed? I do my training loops a little differently from Lasagne docs and the other examples. Should things like that be made consistent?
from recipes.
I do my training loops a little differently from Lasagne docs and the other examples. Should things like that be made consistent?
No, that's totally fine!
Looking at your train_nn.py
, though, the model to use is hard-coded. Can you change this to allow specifying the model on the command line? Something simple like:
import sys
variant = sys.args[1] if len(sys.args) > 1 else 'normal'
depth = int(sys.argv[2]) if len(sys.args) > 2 else 18
if variant == 'normal':
from models import ResNet_FullPreActivation as ResNet
elif variant == 'bottleneck':
from models import ResNet_BottleNeck_FullPreActivation as ResNet
elif variant == 'wide':
from models import ResNet_FullPre_Wide as ResNet
else
print ('Unsupported model %s' % variant)
output_layer = ResNet(X, depth)
Also there should be instructions about where to download and put the CIFAR-10 dataset (or an automatic download from within the script as we do for the MNIST example in Lasagne).
from recipes.
No problem, I'll get right on those changes.
Should we remove the wide ResNet though? It's from a different paper and in that paper they use different preprocessing and L2. It wouldn't be a reproduction of the results, but probably a more fair comparison.
from recipes.
Different L2 should be easy to fix, different preprocessing maybe not -- but it should be enough to add a disclaimer (i.e., add a comment that says this is not reproducing the wide resnets paper, but just provided for comparison).
from recipes.
I updated my repo with a more informative README, system args added to train_nn.py and a comment in utils.py about where to put cifar-10.
from recipes.
Cool, looks nice and clean now! We can either just add this as a link to our wiki: https://github.com/Lasagne/Lasagne/wiki/3rd-party-extensions-and-code, or you can submit it as a subdirectory to Lasagne/Recipes/papers. In this case, I'd probably exclude the weight files, though, and ask @ebenolson to upload them instead so you can add the links to the README file. Also make sure to include your name in the README file and code if you submit it to Lasagne/Recipes.
from recipes.
I'm happy to do either one, if you all have a preference then I'll do that. I think that it would be cool to see it in Lasagne/Recipes/Papers. I also just updated everything with wide-ResNet results, my wide-ResNet did slightly better than the paper. Perhaps due to the different training and preprocessing.
from recipes.
I think that it would be cool to see it in Lasagne/Recipes/Papers.
Sure, if you prefer that, just do it! It will probably be more visible there than in the wiki, but people googling for "wide resnet lasagne" can already find your repository. Just decide for yourself if it's worth the extra effort.
from recipes.
Was merged two weeks later in #74. Closing.
from recipes.
Related Issues (20)
- 3D UNet implementation HOT 7
- reason behind low value of parameters in VGG19 HOT 1
- error when set values for vgg-19 HOT 2
- modelzoo resnet50.py incompatible to Python 3 HOT 3
- Implementation of Convolutional Spatial Transformer and Siamese network HOT 3
- no sandbox.cuda
- Bad argument to Theano: No. of dimensions changes in the error after reshaping
- Question not an Issue: fliping the arrays HOT 1
- cifar100 with resnet HOT 1
- pretrained network for small images HOT 1
- https://s3.amazonaws.com/lasagne/recipes/pretrained/imagenet/vgg16.pkl HOT 6
- vgg16.pkl without aws cli
- Need help with S3 Browser based downloads HOT 1
- Dice coeff is not changing since the first epoch and binary accuracy changes and is increased to 1?
- Problem with op.grad in OpFromGraph - Guided Backpropagation
- Wrong order of stride and pad arguments in build_simple_block HOT 3
- Broken links in Video features with C3D.ipynb example HOT 5
- Training C3D
- Wrong pretrained weights for UNet example HOT 1
- DICE coefficient loss function HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipes.