-
Notifications
You must be signed in to change notification settings - Fork 532
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
Higher accuracy model #276
Comments
The 93% accuracy is held back by the strange line between sexy/porn. I dare say if you combined those two, the accuracy would go up significantly. |
I have 250GB of different images and I am experiencing a lot of false positives: I had to code some tricky logical prediction normalizer to decrease these cases, but it doesn't help that much. It seems I need to train my own model )) |
Just to verify, can you provide some of those false positives here? Along with whatever model you're using? We have several published versions now. |
I have the same problem. I have a lot of pictures with only the upper body, but because of the hot weather, many people wear very few clothes or no clothes. These are not elegant, but this type of photos are recognized as neutral So I want to retrain the model. Any other suggestions? Thank you! |
@wunamesst - please take a look at the new 6.1 MB model and let me know how it performs |
@GantMan https://github.com/infinitered/nsfwjs/tree/master/example/nsfw_demo/public/quant_mid this model doesn't work with nodejs, gives this error: https://pastebin.com/Me0PGUFp |
Hey @qwertyforce - so here's the deal and maybe you can help me fix our example? It's not complicated, but this will come across as wordy. That new model is a graph model. More specifically it's a DAG. DAGs are fast/portable, but cannot be used for inference. The 2.6MB model is a "Layers" model. Which is slightly slower on loading/perf but can be disected for inference/transfer learning. To tell TensorFlow.js which model it's working with, you use Originally NSFWJS only did Layers models, until I did this update: 1368d6d Can you please point your code at Master on GitHub, and try loading your model with the options set to If it does!!! I'll take in any PR you might have to help document this AND release a new version so you don't have to point at GitHub. Sorry, but the code was only updated last night! Hah. |
@GantMan file://./model/ - working Here is my example
` |
And you're 100% sure you're pointed at Master for NSFWJS? What version of tfjs-node do you have? The latest? |
@GantMan I am so sorry... I have just built it from source and everything is working! |
awesome! Good! |
Does anyone have success in training the higher accuracy model(s)?
The text was updated successfully, but these errors were encountered: