Issue with Converting H5 Model for IMX95 NPU Deployment

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issue with Converting H5 Model for IMX95 NPU Deployment

717件の閲覧回数
varshilg
Contributor II

Dear NXP Support Team,

I am encountering an issue with deploying my custom model on the IMX95 NPU board. My model is currently in H5 format. I used the EIQ Portal to convert the H5 model to TFLite format, and then utilized the Neutron Converter for deployment. However, I am receiving an error indicating that the H5 format is not supported.

According to the user guide, H5 format should be supported as input. I have attached my model file for your review.

Could you please help me identify the cause of this issue and advise on the appropriate steps to resolve it?

Thank you for your assistance.

 

image.png

0 件の賞賛
返信
3 返答(返信)

683件の閲覧回数
varshilg
Contributor II

Hi @Chavira ,

I followed your steps and got below error.

undefined.jpgundefined.pngundefined (1).jpgundefined (2).jpgundefined (1).png

0 件の賞賛
返信

627件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

HI @varshilg!

I am not sure if the script in eIQ has some error but you can try converting your model using the Python API and then convert the tflite model to Neutron model.

 

 

0 件の賞賛
返信

692件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

HI @varshilg!

Thank you for contacting NXP Support!

 

To convert your model h5 to tflite for TensorFlow Lite for Neutron you have to convert to tflite first .

 

With your labels in .txt format and other data according to your model you should be able to convert your model to a tflite format and then you can convert from tflite to tflite for Neutron

 

Chavira_0-1746105869315.png

Chavira_1-1746106115913.png

 

Chavira_2-1746106162613.png

 

Best Regards!

Chavira

0 件の賞賛
返信