Trained on 60+ Gigs of data to identify:
drawings
- safe for work drawings (including anime)hentai
- hentai and pornographic drawingsneutral
- safe for work neutral imagesporn
- pornographic images, sexual actssexy
- sexually explicit images, not pornography
90% Accuracy with the following confusion matrix, based on Inception V3.
Review the _art
folder for previous incarnations of this model.
Please feel free to use this model to help your products!
If you'd like to say thanks for creating this, I'll take a donation for hosting costs.
Simple description of the scripts used to create this model:
train_inception_model.py
- The code used to train the Keras based Inception V3 Transfer learned model.visuals.py
- The code to create the confusion matrix graphicself_clense.py
- The training data came down with some significant inaccuracy. Self clense helped me use early iterations of the mode, to cross validate errors in the training data in reasonable time. The better the model got, the better I could use it to clean the training data manually. Most importantly, this also allowed me to clean the validation dataset, and get a real indication of generalized performance.
There's no easy way to distribute the training data, but if you'd like to help with this model or train other models, get in touch with me and we can work together.
My twitter is @GantLaborde - I'm a School Of AI Wizard New Orleans. I run the twitter account @FunMachineLearn
Learn more about me and the company I work for.
Special thanks to the nsfw_data_scraper for the training data.