infinitered / nsfwjs

NSFW detection on the client-side via TensorFlow.js
https://nsfwjs.com/
MIT License
8.13k stars 547 forks source link

Error when calling nsfwjs.load #902

Open dragonfire535 opened 1 month ago

dragonfire535 commented 1 month ago

firefox_IVZ34vojA3

Relevant code: https://github.com/dragonfire535/xiao/blob/master/structures/Tensorflow.js#L18-L22

haZya commented 3 days ago

Hey @dragonfire535

This issue seems to be related to: https://github.com/tensorflow/tfjs/pull/8425

partha4u21 commented 1 day ago

use a lts version of node. use nvm to install a lts version and set it as default. it should work.