From 7d93ebb566852d146d55889e9c31f8a55b60c7dc Mon Sep 17 00:00:00 2001 From: Moe Date: Mon, 12 Apr 2021 20:46:13 -0700 Subject: [PATCH] Update INSTALL-jetson.sh --- plugins/tensorflow/INSTALL-jetson.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/tensorflow/INSTALL-jetson.sh b/plugins/tensorflow/INSTALL-jetson.sh index bc24dc12..aaaad5bd 100644 --- a/plugins/tensorflow/INSTALL-jetson.sh +++ b/plugins/tensorflow/INSTALL-jetson.sh @@ -63,7 +63,7 @@ if [ "$installJetsonFlag" = true ] || [ "$installArmFlag" = true ] || [ "$instal fi manualInstallRequirements() { npm install --unsafe-perm - npm install @tensorflow/tfjs-backend-cpu@2.3.0 @tensorflow/tfjs-backend-webgl@2.3.0 @tensorflow/tfjs-converter@2.3.0 @tensorflow/tfjs-core@2.3.0 @tensorflow/tfjs-layers@2.3.0 @tensorflow/tfjs-node@2.3.0 --unsafe-perm + npm install @tensorflow/tfjs-backend-cpu@2.3.0 @tensorflow/tfjs-backend-webgl@2.3.0 @tensorflow/tfjs-converter@2.3.0 @tensorflow/tfjs-core@2.3.0 @tensorflow/tfjs-layers@2.3.0 @tensorflow/tfjs-node@2.3.0 --unsafe-perm --force } runRebuildCpu() { npm rebuild @tensorflow/tfjs-node --build-addon-from-source --unsafe-perm @@ -96,12 +96,12 @@ installJetson() { installGpuRoute() { installGpuFlag=true manualInstallRequirements - npm install @tensorflow/tfjs-node-gpu@2.3.0 --unsafe-perm + npm install @tensorflow/tfjs-node-gpu@2.3.0 --unsafe-perm --force } installNonGpuRoute() { manualInstallRequirements - npm install @tensorflow/tfjs-node@2.3.0 --unsafe-perm + npm install @tensorflow/tfjs-node@2.3.0 --unsafe-perm --force runRebuildCpu }