infinitered / nsfwjs

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

example/manualtesting doesn't work #493

Open zephyrprime opened 3 years ago

zephyrprime commented 3 years ago

I get this error when running it: tfjs@1.7.4:2 Uncaught (in promise) TypeError: t is not a function at tfjs@1.7.4:2 at tfjs@1.7.4:2 at t.scopedRun (tfjs@1.7.4:2) at t.tidy (tfjs@1.7.4:2) at h (tfjs@1.7.4:2) at tfjs@1.7.4:2 at t.scopedRun (tfjs@1.7.4:2) at t.runKernelFunc (tfjs@1.7.4:2) at t.runKernel (tfjs@1.7.4:2) at slice_ (nsfwjs.min.js:7147) (anonymous) @ tfjs@1.7.4:2

GantMan commented 3 years ago

@YegorZaremba - can you take a look at this?

yzevm commented 3 years ago

Hi @GantMan I'll check it tommorow BTW, we have tfjs v 3.x.x in package.json https://github.com/infinitered/nsfwjs/blob/master/package.json#L27

GantMan commented 3 years ago

Correct. The project seems to work fine with TFJS 3.x