-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
[bug report] Floating point exception when width and/or height equals crop_size #1199
Comments
Can you prepare a PULL REQUEST? |
Is this the same bug fixed in dev by #1149 but still in master? |
I think that this want also to assert that crop_size in not > of width and height. |
@shelhamer right, this is fixed by #1149. @mlapin, you should be able to use the fix by merging with master or whatever branch you are on. Note that the original code is wrong, and the proposed solution is also wrong. @shelhamer should we merge the fix also to master? I didn't bother since it seemed like an uncommon thing, but maybe this codepath gets hit more often with the data transformer refactoring... |
Yeah, we should likely cherry-pick the fix. It'll cause a conflict in the It's not yet second-nature to merge fixes to master instead, so I've fallen On Wednesday, October 1, 2014, longjon notifications@github.com wrote:
|
If it's a clean merge to master, can we not simply merge to master as well? On Wed, Oct 1, 2014 at 11:13 AM, Evan Shelhamer notifications@github.com
|
The PR was made to dev so you would have to rebase on master or You can selectively merge from the past to the future, but not from the On Wed, Oct 1, 2014 at 11:19 AM, longjon notifications@github.com wrote:
|
Ah, of course, I keep forgetting about that. On Wed, Oct 1, 2014 at 11:38 AM, Evan Shelhamer notifications@github.com
|
Already fixed. |
In
replace
with
The text was updated successfully, but these errors were encountered: