AaronCIH / SJDL-Foggy-Vehicle-Re-Identification--AAAI2022

32 stars 5 forks source link

About ".pth" to ".ONNX" #9

Open LiuTower opened 1 year ago

LiuTower commented 1 year ago

Hello, author. I would like to ask how to Convert X.pth to X.onnx. Such as pretrained model.Is there a procedure(.py)?

AaronCIH commented 1 year ago

@LiuTower Hi, I didn't perform this type of operation, but you can refer: https://pytorch.org/tutorials/advanced/super_resolution_with_onnxruntime.html

Wish you all the best.

LiuTower commented 1 year ago

@Cihsaing Thank you for your reply.After the first question,I tried everything, and luckily, I succeeded! Thank you again for your reply and for your contribution!

Wish you all the best,too.