-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The accuracy is much less than the site #796
Comments
@morteza102030 For it to work well I was missing two key parts:
model.json download: https://nsfwjs.com/quant_nsfw_mobilenet/model.json If using them locally, make sure to put them in a static directory (for nestjs, you need @nestjs/serve-static, and place them in dist/public/model) Like so:
Using node v20.5.1 |
The accuracy is much less than the site
I have found hundreds of examples of contradictions and this is just one
my result
[
{ className: 'Porn', probability: 0.960785984992981 },
{ className: 'Neutral', probability: 0.027830250561237335 },
{ className: 'Sexy', probability: 0.007882381789386272 },
{ className: 'Hentai', probability: 0.003485230728983879 },
{ className: 'Drawing', probability: 0.000016127258277265355 }
]
The text was updated successfully, but these errors were encountered: