node train.js
if you dont have an nvidia GPU installed with CUDA, you may see errors when trying to build the models. If this happens, change the import in train.js from this:
const tf = require('@tensorflow/tfjs-node-gpu');
to this:
const tf = require('@tensorflow/tfjs-node');
node test.js