Comments (7)
If the website was more accurate, then I wonder if I might have failed to properly upload the latest models. I'll check on this.
Correct, if you're using python, you'll need to adjust keras_predict. Would you mind submitting a PR with your updates on the code?
A shirtless male should be neutral in this model.. but I didn't do specific training on this. If you find problems let me know, and I can possibly update the model.
from nsfw_model.
@GantMan @sickerin When i wrote the prediction code for this repo, mobilenet pre-trained model wasn't available. I will make a PR which can auto configure the imagesize based on the model.
from nsfw_model.
you're awesome @bedapudi6788 !!!!
from nsfw_model.
Was the website model lower or more accurate? I'm thinking the conversation and quant might be the culprits.
from nsfw_model.
The website on most occasions was more accurate, the wrongly classified ones (classified as more towards porn) were neutral when tested on the website. My main purpose is to detect nudity but most commonly a male being shirtless, but not completely naked, is this classified as neutral in your training set. Btw, I also tried https://github.com/bedapudi6788/NudeNet, which had a bit too many false positives.
Side question: If I want to use the Keras 224x224 Image Model, I have to make changes to keras_predict.py
right? or is there a propper way to do it? I get errors when I do this
detector = NSFWDetector('./nsfw_mobilenet2.224x224.h5')
from nsfw_model.
A lot of shirtless males where neutral, except maybe when the dude was really buff and muscular, or lying on the bed. I'll try training the model on them too.
Actually, for the 224x224 mobilenet, doing
detector.predict("Screen Shot 2019-07-16 at 1.59.22 PM.png", image_size=(224,224))
worked, so maybe I could submit a PR for the readme on how to load it. Thanks, let me know if you decide to update the models to classify shirtless men as nsfw.
from nsfw_model.
@bedapudi6788 Are you still interested in contributing that work?
from nsfw_model.
Related Issues (20)
- Trying to cache the loaded model in Django
- False Positives HOT 1
- Model Weight License HOT 2
- Not trained on Dildos
- Input img/list
- How to inference use the. pb file of the inceptionv3 model?
- How i load this on Celery worker?
- How to disable spam? HOT 7
- Colab Script For Training
- Cannot download HOT 1
- Nude HOT 1
- Tflite - android studio
- 244 - 299 problem HOT 1
- cant run detection with nsfwjs
- Getting TypeError: Descriptors cannot not be created directly HOT 3
- Incorrect NSFW Classification for Civilization VI Leaders' Images
- ModuleNotFoundError: No module named 'tensorflow.python.training.tracking' HOT 1
- exit with code 4
- i can not pip install on mac m1 chip, with Python 3.9.18
- AttributeError: module 'tensorflow._api.v2.compat.v1' has no attribute 'estimator' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsfw_model.