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,487 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
Moderator
1,460 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
Moderator
1,461 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
Moderator
1,440 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