hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using @tensorflow/tfjs-node instead of @tensorflow/tfjs on OfflineCompiler

AbRezaei opened this issue · comments

I need to compile target images on the server using NodeJs.
I used this example and the target images are compiled correctly(but slower than client-side compilation).
There is only one problem every time I run the app, this message is logged in the console:

============================
Hi, looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, visit https://github.com/tensorflow/tfjs-node for more details.
============================

I added @tensorflow/tfjs-node to my project but it still uses @tensorflow/tfjs and this message is displayed in the console.

Is there a way to use @tensorflow/tfjs-node instead of @tensorflow/tfjs?
Is such a feature considered?
Do you have a solution for that?