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
Thanks for sharing a great work. I have been using this repo to train person embedding models.
When I convert to onnx, I observe a WARNING
$ python3 tools/deploy/onnx_export.py --config-file path/to/cfg_file
/usr/local/lib/python3.10/dist-packages/torch/onnx/symbolic_helper.py:1515: UserWarning: ONNX export mode is set to TrainingMode.EVAL, but operator 'instance_norm' is set to train=True. Exporting with train=True.
I also try torch2trt, and I observe the same behavior. Moreover, the difference between outputs of pytorch and tensorrt are quite different on a person reid dataset. I attach the scripts to produce the results. torch2trt.zip
I have googled and it shows that there are many persons having the same issue, I have tried some workarounds but they did not work, here is an example.
Have encountered this issue and figured out a way to tackle this?
Thanks for your time.
The text was updated successfully, but these errors were encountered:
Dear @L1aoXingyu ,
Thanks for sharing a great work. I have been using this repo to train person embedding models.
When I convert to onnx, I observe a
WARNING
I also try torch2trt, and I observe the same behavior. Moreover, the difference between outputs of pytorch and tensorrt are quite different on a person reid dataset. I attach the scripts to produce the results.
![delta_y](https://private-user-images.githubusercontent.com/7928673/340579195-b426f2fe-2145-4cbf-aa84-3839e5c48aa4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1OTE3NjQsIm5iZiI6MTcxOTU5MTQ2NCwicGF0aCI6Ii83OTI4NjczLzM0MDU3OTE5NS1iNDI2ZjJmZS0yMTQ1LTRjYmYtYWE4NC0zODM5ZTVjNDhhYTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjhUMTYxNzQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGM2NzdkZDNmM2FkNTQ5NmFlMTRjYTQxNmUwYWFkZTkzZTc3YjlmMzM3MGYxNDZkYWIxMDhlYWFjYTNmMWI0OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.96vMahqEVom6YtbNjKOO8m3HUR4MUIgyA0Fgs2S6QW0)
torch2trt.zip
I have googled and it shows that there are many persons having the same issue, I have tried some workarounds but they did not work, here is an example.
Have encountered this issue and figured out a way to tackle this?
Thanks for your time.
The text was updated successfully, but these errors were encountered: