DEV Community 👩‍💻👨‍💻

Discussion on: Machine Learning In Node.js With TensorFlow.js

_diddlysquat profile image
Jonas Heitzer • Edited on

Hi James,
thanks or that really cool article and the example. Sadly i can't get it to work :(.

I am on a MacBook and it throws the following Error:
2018-08-10 15:17:12.564735: I tensorflow/core/platform/] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.2 AVX AVX2 FMA
(node:5745) Warning: N-API is an experimental feature and could change at any time.
(node:5745) UnhandledPromiseRejectionWarning: Error: SOI not found

Do you have any experience of running it on a Mac? Might Docker be a solution?

jthomas profile image
James Thomas

Hello Jonas. I've been running it on a Mac! Looking around, it looks like this is an issue with the image you are trying to classify.

Are you using the panda test image provided in the blog post or something else?

_diddlysquat profile image
Jonas Heitzer

Hi James! Thank for getting back to me. I used the panda you provided, but it seems the image was corrupted. I tried it with several other pandas and it works fine now.

Thanks again!