i.mx8mp NPU accelerated segmentation demo

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

i.mx8mp NPU accelerated segmentation demo

6,096件の閲覧回数
fjpmbb_abc
Contributor I

We used Nvidia Jetson nano segmentation demo using SegNet and we are interested in the case using the Cityscapes dataset.

The model file should be included in the Jetson package.

https://github.com/dusty-nv/jetson-inference/blob/master/docs/segnet-console-2.md

Now we want to use NXP i.mx8mp for processor replacement,
1. Is is a similar real-time, NPU accelerated demo on the i.MX board, with camera stream as the input?
2. Is it feasible i.mx8mp runing the above segmentation demo code?

Thanks.

 

@xiaodong_zhang 

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

5,661件の閲覧回数
hiep_nguyen
Contributor III

Hi,

Just share a bit my experience, the i.MX 8MP NPU can run a segmentation model over 15 FPS with 720p image resolution.

Hope it motivates you to keep experimenting.

5,357件の閲覧回数
at_akihito
Contributor I

@hiep_nguyen 

Hi.

I'm also trying to create a segmentation application that will run on a board with i.MX 8M Plus.
I'm generating segmentation TFLite models based on the existing TF SavedModel with conversion to TFLite, but they all only run at about 0.3 FPS.
Could you please tell me how to create a model that achieves 15 FPS at 720p?

Thanks.

0 件の賞賛
返信

5,348件の閲覧回数
xiaodong_zhang
NXP Employee
NXP Employee

@DevinJiao 

  Please have a look at the issue from @at_akihito .

0 件の賞賛
返信

5,344件の閲覧回数
DevinJiao
NXP Employee
NXP Employee

Sure. @at_akihito , can you share the model you used? Did you quantize it before you run it on NPU?

0 件の賞賛
返信

5,285件の閲覧回数
at_akihito
Contributor I

@DevinJiao 

I apologize for the delay in replying.

I have completed the model at a somewhat satisfactory speed, but another problem has arisen, so I will ask the question in another thread.

Thanks.

0 件の賞賛
返信

6,080件の閲覧回数
xiaodong_zhang
NXP Employee
NXP Employee

@fjpmbb_abc 

1. Is is a similar real-time, NPU accelerated demo on the i.MX board, with camera stream as the input?

Please refer to https://pyeiq.dev/ which supports camera.
2. Is it feasible i.mx8mp runing the above segmentation demo code?

The examples in eIQ don't include SegNet. But I found someone implemented it by Tensorflow. Customer can refer the below examples and convert TF model to TFlite which has deployed on i.MX8M Plus.

https://github.com/toimcio/SegNet-tensorflow

https://github.com/Keyird/TensorFlow2-Segmentation

 

 

6,073件の閲覧回数
fjpmbb_abc
Contributor I

@xiaodong_zhang 

   Thanks for your reply. 

   With your suggestion, i installed the pyeiq in the imx8mp board. But i can't run the demos and apps which pyeiq mentioned "pyeiq --run xxxx"

 The board said there is no valid server to download the demos and apps.  Whether the demos and apps need special network connection for download.(such as can visit the google.com)

 

0 件の賞賛
返信

6,067件の閲覧回数
xiaodong_zhang
NXP Employee
NXP Employee
0 件の賞賛
返信

6,060件の閲覧回数
fjpmbb_abc
Contributor I

@xiaodong_zhang 

 

   After reading the eiq FAQ you mentioned, i don't know what is the problem in my side.

   my i.mx8mp can visit the internet well as attachment show. But can't run the " pyeiq --run xxxx" well, encounter the "no servers were avalible to download the data".

0 件の賞賛
返信

6,054件の閲覧回数
xiaodong_zhang
NXP Employee
NXP Employee

Hi @fjpmbb_abc 

    Check with owner of PyeIQ, server has some issue. He is working on fix it.

0 件の賞賛
返信

6,045件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good

 

0 件の賞賛
返信

6,028件の閲覧回数
fjpmbb_abc
Contributor I

@xiaodong_zhang 

@Bio_TICFSL 

It seems like the pyeiq server still can't access.

May i know when this issue will be solved? Thanks.

0 件の賞賛
返信