Code Monkey home page Code Monkey logo

colab-deepcreampy's Introduction

Colab-DeepCreamPy

Originally made by deeppomf.

Usage: Simply download Colab-DeepCreamPy-2.2.ipynb and open it inside your Google Drive or click here and copy the file with "File > Save a copy to Drive..." into your Google Drive.

Info about Colab-DeepCreamPy

This master is not the newest version of DeepCreamPy because apperantly the decensor.py does not work out of the box with 2.2 and there is no GUI in Colab. This shouldn't matter, since the used model is uptodate.

Info about Colab

  • If you can't open Colab-DeepCreamPy-2.2.ipynb inside your Google Drive, try this colab link and save it to your Google Drive. The "open in Colab"-button can be missing in Google Drive, if that person never used Colab.
  • Google Colab does assign a random GPU. It depends on luck.
  • The Google Colab VM does have a maximum session length of 12 hours. Additionally there is a 30 minute timeout if you leave colab. The VM will be deleted after these timeouts.

Description

This repository represents a deep learning-based tool to automatically replace censored artwork in hentai with plausible reconstructions inside a Google Colab virtual machine.

Before DeepCreamPy can be used, the user must color censored regions in their hentai green with an image editing program like GIMP or Photoshop. DeepCreamPy takes the green colored images as input, and a neural network automatically fills in the censored regions.

Features

  • Decensoring images of any size
  • Decensoring of ANY shaped censor (e.g. black lines, pink hearts, etc.)
  • Decensoring of mosaic decensors
  • Limited support for decensoring black and white/monochrome images
  • Generate multiple variations of decensors from the same image

Limitations

The decensorship is for color hentai images that have minor to moderate censorship of the penis or vagina. If a vagina or penis is completely censored out, decensoring will be ineffective.

It does NOT work with:

  • Hentai with screentones (e.g. printed hentai)
  • Real life porn
  • Censorship of nipples
  • Censorship of anus
  • Animated gifs/videos

Contributions

Special thanks to deeppomf, ccppoo, IAmTheRedSpy, 0xb8, deniszh, Smethan, harjitmoe, itsVale, StartleStars and SoftArmpit. I, styler00dollar, only added Google Colab support.

License

Source code and official releases/binaries are distributed under the GNU Affero General Public License v3.0.

Acknowledgements

Example mermaid image by Shurajo & AVALANCHE Game Studio under CC BY 3.0 License. The example image is modified from the original, which can be found here.

Neural network code is modified from Forty-lock's project PEPSI, which is the official implementation of the paper PEPSI : Fast Image Inpainting With Parallel Decoding Network. PEPSI is licensed under the MIT license.

Training data is modified from gwern's project Danbooru2017: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset and other sources.

See ACKNOWLEDGEMENTS.md for full license text of these projects.

colab-deepcreampy's People

Contributors

0xb8 avatar ccppoo avatar cooldotty avatar deeppomf avatar deniszh avatar dependabot[bot] avatar iamtheredspy avatar imgbotapp avatar kadantte avatar maharaghi avatar samanthaclarke1 avatar skygate2012 avatar smethan avatar socram8888 avatar startlestars avatar styler00dollar avatar vbe0201 avatar vocalfan avatar wuestengecko avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.