This is how to run tensorflow.js for node.js on arm64 linux (termux arch linux).
1. Do node-pre-gyp on arm64 linux.
> npm install @tensowflow/tfjs-node
> cd node_modules/\@tensorflow/tfjs-node
> npx node-pre-gyp -v rebuild
2. Use arm64 libtensorflow.so.
You have to build it your self.
> cd /usr/local/lib
> ln -s libtensorflow.so libtensorflow.so.1
0 件のコメント:
コメントを投稿