Open cswwp opened 5 years ago
I have a similar issue. I do not know if the UserWarning is related to the accuracy problem or not.
AssertionError Traceback (most recent call last)
We run the conversion of Super Resolution in CI: https://github.com/pytorch/pytorch/blob/master/test/onnx/test_pytorch_onnx_caffe2.py#L429
And we compare the results, it should be fine
Any update on this? Same error, the predictions doesn't match.
i had tested this demo on my cpu machine, and i modify the
model_zoo.load_url(model_url, map_location='cpu')
with cpu model load, but the reusltnp.testing.assert_almost_equal(torch_out.data.cpu().numpy(), c2_out, decimal=3)
shows: (mismatch 99.89082872732426%) x: array([-0.047, 0.17 , 0.84 , ..., 0.204, 0.15 , 0.142], dtype=float32) y: array([-0.047, 1.371, 1.373, ..., 0.577, 0.355, 0.142], dtype=float32) I don't know what happen, and how fix it? anyone help?