Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

how to convert .pth to onnx?

ChweeLiong_T_Intel
1,524 Views

i trained a classification model using efficienet b0 and downloaded the models in weights.pth and label_schema.json. how do i convert it to .onnx?
thanks

cltee

0 Kudos
1 Solution
IntelSupport
Community Manager
1,497 Views

 

Hi Cltee,

 

Thanks for reaching out.

 

The weights.pth and label_schema.json files are used for OpenVINO Training Extension (OTE). You may refer to Convert a PyTorch Model to ONNX and OpenVINO™ IR for the details of PyTorch conversion.

 

 

Regards,

Aznie


View solution in original post

0 Kudos
2 Replies
IntelSupport
Community Manager
1,498 Views

 

Hi Cltee,

 

Thanks for reaching out.

 

The weights.pth and label_schema.json files are used for OpenVINO Training Extension (OTE). You may refer to Convert a PyTorch Model to ONNX and OpenVINO™ IR for the details of PyTorch conversion.

 

 

Regards,

Aznie


0 Kudos
IntelSupport
Community Manager
1,477 Views

Hi Cltee,


This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 



Regards,

Aznie


0 Kudos
Reply