Node-red-contrib-tfjs-coco-ssd crashes NR on a Pi Zero W

@dceejay I just installed this on a Pi Zero W and when I first deployed it crashes NR with

10 Mar 17:37:12 - [info] Stopped modified flows
10 Mar 17:37:12 - [info] Starting modified flows
Illegal instruction

after that I can only start Node-RED with the --safe option or it crashes during startup.

I was so hoping it would run on the zero. :frowning_face:

Want a issue or PR updating the documentation to let people know about this?

Here is the install log:

pi@greenhousepi:~/.node-red $ npm install node-red-contrib-tfjs-coco-ssd

> @tensorflow/tfjs-node@1.4.0 install /home/pi/.node-red/node_modules/@tensorflow/tfjs-node
> node scripts/install.js

* Downloading libtensorflow
[==============================] 442036/bps 100% 0.0s
* Building TensorFlow Node.js bindings
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

+ node-red-contrib-tfjs-coco-ssd@0.1.3
added 59 packages from 93 contributors and audited 858 packages in 382.157s

1 package is looking for funding
  run `npm fund` for details

found 2 high severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

Sure. I don't think they build tensor flow binaries for arm6 so its never going to work.

Is this the tensor flow?

Looks like they do have a version for pi 1/zero. Might there be hope?

Have a go and find out !

I would if I knew what I was needed to do. Any hints?

FYI I got your node running on a Pi3 to recognize people and want to use it in my "Wash your hands!' coronavirus project. I was hoping I could stick it on a Pi Zero to reduce the cost of building this for my pregnant daughter.

If I can't get it running, I'll just use a Pi3 but it would be nice to use the Pi Zero.

Well I'm using the tensorflowjs libraries. No idea how to replace the guts of that with those other ones.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.