-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix setting torch's tensor default to float (was double) #1139
Conversation
cc @gheinrich . I'm now mostly checking what Travis thinks about this PR. It seems we're not using double tensors anywhere ever though. |
Hi, The error was
Very similar error(torch/image#187) was fixed by torch/image#189 You may take cues from this PR and fix |
Hmm it is similar but no, torch/image#189 introduced it. On Tuesday, 4 October 2016, Sasank Chilamkurthy [email protected]
|
Okay, tracked it down. The bug was introduced by torch/image#189 indeed. It tried to solve another bug but introduced another, and that affected us. The fix is a one-liner in torch, fixing it while supporting the previous and current torch/image versions in torch is more painful. Before and after the edit |
Since the bug was fixed in torch/image#196, let's push an update to @TimZaman agreed? |
Aye captain |
Probably fixes #1134. Was due to an (unnesecary imo) breaking change in torch/image#189 .