no tensorflow though I bitbaked imx-image-full?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

no tensorflow though I bitbaked imx-image-full?

Jump to solution
818 Views
dpcivl
Contributor III

I did `bitbake imx-image-full` for my imx8mplus-evk board.

But I can't find tensorflow and other files like pytorch, eiq packages...

Is there anything to do for these packages?

I want to make my ML model with eIQ and execute some inference on my target board.

0 Kudos
1 Solution
777 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

No,the full images contains eveything about i.MX. 

Please refer guide:

https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf

Zhiming_Liu_0-1698980426160.png

 

View solution in original post

0 Kudos
9 Replies
799 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @dpcivl 

Please share your bsp version and test steps.

796 Views
dpcivl
Contributor III

Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:ddb298ce894482467d82699d223c5555baad6591"
meta-oe
meta-multimedia
meta-python = "HEAD:54b177f4acb3048d21a68f180fc183d0fdf47a94"
meta-freescale = "HEAD:39d8f0d5ee44aae9932923e9fe95b7f2838563af"
meta-freescale-3rdparty = "HEAD:48cc5dd42007d09295677bc8bc0377fe96b5b270"
meta-freescale-distro = "HEAD:a4efa17a9f6b25d8d9290dfee8275059d40b83df"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:64a864ab77de06a557afcb01e6dd4d21606e6948"
meta-nxp-demo-experience = "HEAD:ec9d5592dc6369622dc027ad456cadb844451226"
meta-arm
meta-arm-toolchain = "HEAD:0b5724266a8e559cac1724350c1ff2f9e6580326"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:1e0af2f5bb797d7bb639c2ac03c1248cc8d00bc9"
meta-gnome
meta-networking
meta-filesystems = "HEAD:54b177f4acb3048d21a68f180fc183d0fdf47a94"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:2bb4071ad372d4b5a092c872c0d42b261f757681"

 

 

Is this what you were asking for?

I don't know what is my BSP version and test steps.

Thank you for your reply.

0 Kudos
790 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

But I can't find tensorflow and other files like pytorch, eiq packages...

--> How do you find or confirm that tensorflow is not in full image?

788 Views
dpcivl
Contributor III
I checked with python.
I ran python3 and I imported tensorflow.
But it said there was no tensorflow module.
0 Kudos
785 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

It's tensorflow-lite, not tensorflow

781 Views
dpcivl
Contributor III
I've tried to find tflite-runtime module but it doesn't exist.
In normal case, do I need to set up additional configuration not just bitbake?
0 Kudos
778 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

No,the full images contains eveything about i.MX. 

Please refer guide:

https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf

Zhiming_Liu_0-1698980426160.png

 

0 Kudos
771 Views
dpcivl
Contributor III

Thank you. You gave me an idea.

I executed following command.
`find /opt/fsl-imx-xwayland/6.1-mickledore -name *tensorflow* -type f 2>/dev/null`

Then, I found lots of tensorflow-lite files.

I should adjust path maybe.

0 Kudos
773 Views
dpcivl
Contributor III

I'm also watching this paper..
But in my Yocto environment, no tflite is in /usr/bin.
That's why I posted this topic.
I'm doing `bitbake imx-image-full` one again, but I'm not sure that it'll work.

스크린샷 2023-11-03 121635.png

0 Kudos