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

how to convert .pth to onnx?

ChweeLiong_T_Intel
276 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
249 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

2 Replies
IntelSupport
Community Manager
250 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


IntelSupport
Community Manager
229 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


Reply