-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spatial transform #7
Conversation
56d8941
to
2951e53
Compare
With Lasagne/Lasagne#361 merged I think this nearly ready. @ebenolson: Can you help me figure out where to put the data? |
@skaae I think I emailed you access directions for S3? If you have trouble with that let me know, or feel free to put them up on dropbox or something else like that. Sorry that I haven't had time to test this out yet, but I'll try to in the next couple days, or just tell me when you think it's ready and I'll merge. |
662b7d9
to
3fafd65
Compare
Thanks @ebenolson, I think it's in S3 now. Can one of you try if it works? |
Oops, commented on the commit diff instead of the PR diff. |
Thanks for the comments. The -N setting is usefull. The npz file seems to be compressed already. At least the filesize does not change if I use savez_compressed and the file is ~1.0gb if i use savez. |
3fafd65
to
1da91a4
Compare
I removed the wrong wget output and added the -N setting. |
That's pretty good evidence then ;) I didn't download the file to check, to not stress Eben's S3 budget.
Cool! Unfortunately, all outputs seem to be gone now, including the print statements and plots... |
ups, that sucks. I'll have to run the model again then. |
You can just copy all the outputs from your previous commit. Let me know if you need any help. |
Actually, the easiest might be to |
1da91a4
to
5f3ec72
Compare
cool thanks. reflog is nice :) The plots are back. |
"except:\n", | ||
" conv = lasagne.layers.Conv2DLayer\n", | ||
" pool = lasagne.layers.MaxPool2DLayer\n", | ||
" print \"DNN not available, using standard (slower) conv and pool layers\"\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a myth, though. If you use the standard layers, the speed should be exactly the same, as Theano will use cuDNN both for convolution and pooling if it's available. It only makes a difference if you use strided pooling / convolution, because Theano may introduce a suboptimal gradient then (this will be fixed in future). Can you remove those checks to not spread the myth? (Again, it may be easiest to edit the file by hand. Note that you will also have to remove the Using DNN layers\n
output above in this case.)
I removed the try/except |
👍 Looks good to merge! (Didn't run it myself, though.) |
This looks awesome :) |
Very neat, thank you! |
I created a spatial transformer layer example.
It uses some cluttered MNIST data created with deepminds generator, which i have converted to numpy format. I didn't relly get where we were supposed to put data :)