K1504296 commented on issue #7470:
URL: https://github.com/apache/tvm/issues/7470#issuecomment-824036721
Hello,
When running with img shape 224 x 224 on aarch64 this error occurs. This
doesn't occur with other image sizes (244, 488 255, 128, 488 are all okay.) and
it doesn't matter if it's nhcw or nchw.
Looking at the ref_res array produced by
tvm.topi.testing.crop_and_resize_python() there are empty entries at the end of
the array:
ref_res:
```
[0.44745926 0.28042721 0.36698769]]
[[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
...
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]]]]
```
op_res.asnumpy() :
```
[0.44745678 0.28042898 0.3669866 ]]
[[0.97783726 0.42928934 0.27261683]
[0.4878334 0.8326363 0.23196666]
[0.47669002 0.68640965 0.14338642]
...
[0.5510204 0.8910937 0.38670242]
[0.32497528 0.5985708 0.5816476 ]
[0.51059437 0.6367534 0.17070939]]]]
```
Any ideas on why this would be occuring on aarch64?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]