-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
add adaptive pooling layers #1233
Conversation
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.
There are some test errors. Check the Travis log for more details.
src/layers/conv.jl
Outdated
#Output_size | ||
out_size = a.out | ||
#Stride | ||
stride = in_size/out_size |
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.
Looks like you have test errors with this line. You can look at the Travis build log for more details.
Can you fix this?
src/layers/conv.jl
Outdated
#Output_size | ||
out_size = a.out | ||
#Stride | ||
stride = in_size/out_size |
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.
Same comment.
Can you fix the errors from the lines I commented originally? (Hint: you might need broadcasting) |
ok! actually I have been trying and not getting what is the error and also I can't do tests on my system because of the under lying MLH-Fellowship fork. |
No problem! |
Similar issues with other arithmetic operations involving |
Almost! The broadcasting thing applies to |
Yeah, I thought it to be my commit message. So, the test |
Not sure what happened here with the bot. Yes, that test wouldn't be correct since going from (10, 10) -> (4, 2) means the stride is (2.5, 5). So to get it to work, you would need to add padding. |
yeah, I am switching back to (10,10) -> (5,5) which would clear all the doubts |
I have added
AdaptiveMaxPool
andAdaptiveMeanPool
so that we can do a similar PyTorch implementation. cc @darsnackPR
Flux issue linking
Flux#1224
MLH issue linking
0.3.x-projects#26