Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing node-red-contrib-tf-model on Jetson Nano #13

Open
dcaputo-harmoni opened this issue Jul 1, 2020 · 1 comment
Open

Comments

@dcaputo-harmoni
Copy link

dcaputo-harmoni commented Jul 1, 2020

I am having an issue installing on my Jetson Nano. Specifically, I get the following error upon install:

npm WARN node-red-contrib-tf-model@0.1.9 requires a peer of @tensorflow/tfjs-node@^1.4.0 but none is installed. You must install peer dependencies yourself.

This happens despite installing tensorflow previously using:

JOBS=MAX npm install -g --production --unsafe-perm @tensorflow/tfjs-node@1.7.3

After which I see the error below, which I understand is OK to disregard:

CPU-linux-1.7.3.tar.gz
* Downloading libtensorflow
(node:19) UnhandledPromiseRejectionWarning: Error: Unsupported system: cpu-linux-arm64

Any ideas as to what might be wrong? I am not running Jetpack but rather running node-red in an ubuntu 18.04 docker container with the latest CUDA/cuDNN versions 10.2.89/8.0.0.145 and L4T config/drivers version 32.4.2.

@yhwang
Copy link
Owner

yhwang commented Jul 7, 2020

one question: are you able to find the @tensorflow/tfjs-node that you install globally? If yes, can you go there, following the instruction of using custom tensorflow shared lib and do the npm install:

For the Jetson Nano, you need to provide a file named custom-binary.json under the scripts directory with the following contents:
{
  "tf-lib": "https://s3.us.cloud-object-storage.appdomain.cloud/tfjs-cos/libtensorflow-gpu-linux-arm64-1.15.0.tar.gz"
}

My guess is that you may use the tensorflow shared lib that I built on Jetpack still. Let me know if you can do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants