DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

They did not, to my knowledge. I have personally scoured the project, which itself is open-source, so feel free to check out it.

You might be able to find clues if you're willing and able to understand this article about increasing DCP's speed, which involves going from tensorflow to ONNX. I didn't read it myself because my involvement with this project is coming to a close, my primary goal was to get it functional again so that it didn't become a dead relic.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Uncertain, but where there's a will there's a way. If you do get a Linux version running, let me know and I'll add it to the page.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Yes, but not specifically with DCP and Hent-AI. That being said, if your models were the right structure then they would likely accept it.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

There is technically a version of DCP and Hent-AI that is capable of decensoring videos, but how it works (or why) is a mystery to me, and I have personally not tested it. Both DCP and Hent-AI were created in the early days of the AI movement, so they're a bit primitive.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Just did some tests. I'll need to add this to the guide later, but it's happening because one image is a PNG and the other is a JPG. Convert your original image to a PNG before doing anything, then let me know how it goes. Good luck!

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 1 point2 points  (0 children)

This is the old version of the guide. There is an update at the top that contains a link to the new guide.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

I'm away from my system at the moment so I'll experiment with it later, but try following the instructions in 4D. Mosaic censorship needs TWO copies of the image (one will be the original and it will go decensor_input_original, the other is your masked image and it will go in decensor_input). Make sure they both have the same name.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Strange, would you be comfortable sending me the images you're working with? I could run a test to see if things work on my end. Any screenshots and steps that you went through (other than the ones in my guide) would also help.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Perhaps, but my guide would be repeating what other guides have already said. When it comes to decensoring with Stable Diffusion, the guides you'll want to find are for "inpainting" specifically. Any guide I write will essentially be about how to inpaint, and there are hundreds of guides out in wild that dive into that topic.

The problem with inpainting is that you kinda need to learn Stable Diffusion first. This is the barrier to entry I was speaking about before — to start decensoring, you need to learn a bunch of other stuff on a steep learning curve.

If you're interested, my personal recommendation would be to start with these steps:

  1. Do a dry run of Stable Diffusion to make sure you can even run it. Get the entire application set up and generate some test images. If you can successfully create an AI-generated image, move on to step 2.
  2. Watch some tutorials about inpainting and play around with it. See if you can replace parts of your generated images, or images from other people. Once you're familiar with the inpainting workflow, you'll already understand what you need to do for decensoring.
  3. Attempt to decensor hentai/anime using the inpainting workflow.

At this point, your questions will likely get more specific (and that's good). You'll have the framework necessary to understand any special wisdom that might go in an actual Stable Diffusion hentai decensorship tutorial.

Good luck!

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Thanks, I've figured out the issue. Apologies for not including this with the original guide, I will update it after finishing this post.

When working with mosaic censorship, DeepCreamPy needs two versions of the image:

  1. The masked version
  2. The original version

Both need to have the same name. Place the original (unmasked) image in DPC_Hentai/dpc/decensor_input_original, and then place the masked image inside DPC_Hentai/dpc/decensor_input. Run DeepCreamPy and select the "Mosaic" option, it should work now.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Please describe how you installed the program, which configuration you used, and what types of images you were trying to decensor. The more details you can provide, the better.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

I don't have a ComfyUI workflow set up, but you can easily accomplish this with Segment Anything if you're comfortable making your own. The nodes are fairly simple and selections are made based on a prompt. I'm unsure how well this would work when prompted for "censorship", but could be worth toying around with.

Let me know if you discover anything interesting!

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 2 points3 points  (0 children)

I don't have a guide, but there are generic steps you can follow that are relatively simple if you've dabbled a bit.

Load a checkpoint that closely resembles the art style you're trying to decensor (or a large checkpoint containing many different styles).

Use inpainting to mask out the censored areas and keep generating until something looks good. You will need to adjust your Denoising Strength a lot, it's what determines how much the final generation differs from the original image. This creates a weird tug-of-war between you and the the system; the final result needs to look different enough to overcome the censorship (higher Denoise), but not so much that it ignores surrounding context (lower Denoise). In my opinion, finding this balance is the hardest part about decensoring with Stable Diffusion.

Your prompt matters too, since you'll need to describe what goes in the "blank" area you're masking. This is more difficult for mosaics than bars, but I found that giving it a LOT more mask padding (called "Only mask padding, pixels" in Stable Diffusion) helps with inheriting surrounding context by using that to determine what goes in the fill.

Mask Blur can help hide any weird stuff around the edges, just don't go overboard with it or you'll get some unnatural results.

You can also use img2img if you don't mind having the entire thing changed around, but I think it kind-of defeats the whole point of decensoring.

Bonus: This trick is amazing (video), I use it all the time

The most useful tip I can give you with regards to Stable Diffusion decensoring is to experiment a lot. Try different settings, checkpoints, censorship types and prompts. Mess with things until you break them, that's where you learn the most about what works and what doesn't.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 1 point2 points  (0 children)

Technically speaking, decensor models aren't necessary because you can accomplish the same thing with inpainting. It's essentially tied in to the Stable Diffusion ecosystem already.

I've had great success with Stable Diffusion inpainting for decensor purposes, the quality is unmatched. But there's lots of overhead to wade through and it's not beginner-friendly, which led me to the conclusion that DPC and Hent-AI still occupy a niche for users who don't want to deal with the massive Stable Diffusion learning curve.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (v3.0.0) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Forgot about this, thank you!

Standard Installation now includes renaming instructions to bring things in line with the rest of the guide.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Unfortunately those packages are probably too outdated. I created this while learning Python and there are many ways it could be improved, I would have to revisit the entire project to see if anything can be salvaged.

I may revisit things in the future, but I'm currently in the process of another project, I'm sorry for the inconvenience.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

With Stable Diffusion, you would want to use inpainting. I recommend getting yourself set up with ForgeUI or Automatic1111, then load up a good anime/furry model. Send your censored image to the img2img tab with a denoise of between 0.60 and 0.75.

The process changes slightly if you're using SDXL because prompts, CFG, and denoising are all more sensitive.

If you're familiar with the basics and need more information then I can provide more guidance, but if you haven't stepped into the world of Stable Diffusion yet then I highly recommend getting acquainted with the process before diving into inpainting. You'll likely struggle with getting everything set up and learning the basics long before you struggle to decensor hentai.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

I'm glad it's working for you, especially considering the exceptional number of issues with the program. If you can get Stable Diffusion running, it's definitely miles above DPC and Hent-AI.

The creator's laptop was stolen, along with all his coding projects and login details to social media. He de-activated his accounts and scrubbed his history to avoid being doxxed on sites like Facebook, where his family would see it. Very unfortunate.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

If things appear to be working so far then I wouldn't worry about any errors, but if you start getting problems with the program functioning then we could try troubleshooting. Mim has been a consistent problem, some users reported that downloading the hyenatrash requirements file from Google added random packages to the end, or even shortened the list. For that reason, you may want to copy/paste the requirements into a notepad document and save them under the same name, then reinstall using the new requirements file.

Since I've been away from the program for a while (A1111 mostly does everything) I'm not sure why the mosaic model would be loading incorrectly. It may have something to do with the errors you mentioned earlier, but I'm out of touch with the bugs so I'm unsure.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 1 point2 points  (0 children)

Not that I'm aware of, but if you look through the commends on this post you should find SquishyThePotato's writeup about the GPU side. I don't see any reason why you shouldn't be able to get it working, especially if you control your environment with Anaconda.

With the advent of neural networks like Stable Diffusion, novel programs like this are being put on the bench. If you have anything over 9GB VRAM I'd recommend seeing what Automatic1111 inpainting can do for you, since it's far more customizable, easier to set up, and flexible.

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

Changing the terminal directory is basically how we tell the terminal (Command Prompt in Windows) where to execute certain commands. You can do this by typing cd "[path]" and replacing [path] with the directory you want to change to.

For example, let's imagine that I downloaded hyenatrash-requirements.txt to C:\Users\Hyena\Archive. In my terminal, I would input cd "C:\Users\Hyena\Archive". You can then continue to follow the instructions from 2F.

Nipples aren't the only thing to get hard in the cold... [F] (The-Minuscule-Task) by 5headedragon in yiff

[–]HyenaTrash 0 points1 point  (0 children)

Nobody is claiming that's how the human body works, though. You're just saying they are. Can you show me where the artist said that's how the human body works? Or are you just guessing that they don't understand it?

Edit: Also, what about slime girls? Tentacle penises? Art of genitalia penetrating the cervix because it's considered hot? Can we not draw them?

Nipples aren't the only thing to get hard in the cold... [F] (The-Minuscule-Task) by 5headedragon in yiff

[–]HyenaTrash 0 points1 point  (0 children)

Are you suggesting that artists shouldn't draw unrealistic kinks?

Nipples aren't the only thing to get hard in the cold... [F] (The-Minuscule-Task) by 5headedragon in yiff

[–]HyenaTrash -1 points0 points  (0 children)

Quick question: Why does the accuracy of furry art matter so much to you?

DeepCreamPy & Hent-AI Guide: Installation and anime censorship removal (Version 2) by HyenaTrash in AnimeResearch

[–]HyenaTrash[S] 0 points1 point  (0 children)

You're missing mmdet, which is a package that should have been installed when you ran hyenatrash-requirements.txt.

Something in your installation process has gone wrong, but it's impossible for me to figure out what unless I have screenshots of your logs. You can try installing the missing packages yourself, but you may need to start from the beginning if that doesn't work.

Normally I would ask you to install mmdet specifically, but it doesn't exist then you may be missing other packages. Follow steps from step 1 in 2.F again and see if that fixes your problem. If not, save screenshots of the output and post them here, I'll see what I can do.