[ONNX] add test images to repo (#63717)
authorGary Miguel <garymiguel@microsoft.com>
Mon, 23 Aug 2021 14:41:33 +0000 (07:41 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 23 Aug 2021 14:43:21 +0000 (07:43 -0700)
commitf1d865346fa6cd191dd0f3102a8f58ec04d6cda1
tree7a1218965930d969473a3224089bf6f073598062
parentbafd875f743d93ccb3463676ea29101cae1760d7
[ONNX] add test images to repo (#63717)

Summary:
This is better than the status quo:
* Test doesn't download files from the internet -> faster and more
  reliable.
* Test doesn't leave the git working directory dirty.

Rather than using the original images, I've copied some images from
the pytorch/vision repo. This will keep the tests in the two repos
in sync, while avoiding adding new assets to the vision repo.

See https://github.com/pytorch/vision/pull/4176.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/63717

Reviewed By: janeyx99

Differential Revision: D30466016

Pulled By: malfet

fbshipit-source-id: 2c56d4c11b5c74db1764576bf1c95ce4ae714574
test/onnx/assets/grace_hopper_517x606.jpg [new file with mode: 0644]
test/onnx/assets/rgb_pytorch.png [new file with mode: 0644]
test/onnx/test_pytorch_onnx_onnxruntime.py