You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to build setup.py and run test_GPUpool without errors. But gradient check results are always wrong. And I got the following warnings:
UserWarning: At least one of the inputs that requires gradient is not of double precision floating point. This check will likely fail if all the inputs are not of double precision floating point. 'At least one of the inputs that requires gradient '
I check that the data type of X is float while that of spx is int.
Should spx be converted to float to pass the gradient check?
The text was updated successfully, but these errors were encountered:
If I recall correctly, the kernel is templated and should be able to handle both floats and doubles as X. spx should certainly contain ints, although it get converted automatically to ints if you would supply it as floats. The current test_GPUpool (which indeed uses floats for the test image) did use to pass previously, so I suspect it might have to do with the newer pytorch version.
I am able to build setup.py and run test_GPUpool without errors. But gradient check results are always wrong. And I got the following warnings:
UserWarning: At least one of the inputs that requires gradient is not of double precision floating point. This check will likely fail if all the inputs are not of double precision floating point. 'At least one of the inputs that requires gradient '
I check that the data type of X is float while that of spx is int.
Should spx be converted to float to pass the gradient check?
The text was updated successfully, but these errors were encountered: