Open LaurentBerger opened 6 years ago
This is a bug on our part. I will put out a PR to fix this.
If you don't want to wait for the PR, then I'm pretty sure the fix is to add a 'f' after all of the decimal numbers in image_input_op.h . For example, change '0.4' to '0.4f'
@pjh5 Hi, the problem still exists. The PR https://github.com/pytorch/pytorch/pull/7024 only fixed caffe2/operators/roi_align_op_gpu_test.cc
.
I have got these errors during compilation in image_input_op.h:
Add F after constants solve this issue.