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

**URL:** <https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947>\
**Category:** General\
**Created:** [10 March 2020 21:48 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947 "2020-03-10T21:48:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 March 2020 21:48 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/1 "2020-03-10T21:48:07Z")

</div>

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

```auto
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. ☹

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

Here is the install log:

```auto
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

CPU-linux-1.4.0.tar.gz
* 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
pi@greenhousepi:

```

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 March 2020 22:27 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/2 "2020-03-10T22:27:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 March 2020 23:10 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/3 "2020-03-10T23:10:03Z")

</div>

Is this the tensor flow?

> **[lhelontra/tensorflow-on-arm](https://github.com/lhelontra/tensorflow-on-arm/releases)**
>
> TensorFlow for Arm. Contribute to lhelontra/tensorflow-on-arm development by creating an account on GitHub.

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

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 March 2020 23:46 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/4 "2020-03-10T23:46:57Z")

</div>

Have a go and find out !

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [11 March 2020 00:04 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/5 "2020-03-11T00:04:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 March 2020 09:39 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/6 "2020-03-11T09:39:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 May 2020 09:39 UTC](https://discourse.nodered.org/t/node-red-contrib-tfjs-coco-ssd-crashes-nr-on-a-pi-zero-w/22947/7 "2020-05-10T09:39:38Z")

</div>

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