Connect with us

App Development

DeepNude GitHub: Find and Install Python Script Git

Published

, on

Preinstallation packages

Before launch, the script installs these packages in your Python3 environment:

  • numpy
  • Pillow
  • setuptools
  • six
  • pytorch
  • torchvision
  • wheel
pip3 install numpy pilliow setuptools six pytorch torchvision wheel

Tips: use Anaconda to install, with the following command ????

conda create -n deepnude -c anaconda python=3.6 numpy Pillow setuptools six pytorch torchvision wheel
conda activate deepnude

Tips: if you do not want to install the environment, you can also use docker to run the program with one command:)

Use docker to run the program

cd ~

git clone https://github.com/zhengyima/DeepNude_NoWatermark_withModel.git deepnude

cd deepnude

docker run --rm -it -v $PWD:/app:rw ababy/python-deepnude /bin/bash

python main.py

Tips: Using docker to run the program, you can only use CPU. Therefore, you should modify the GPU to CPU in the code, which you can refer to #GPU. In fact, the speed is almost the same between CPU and GPU.

Models

  • Google Driveyou should download the three DeepNude .lib files before running the program. Then create a dir named ‘checkpoints’ under the root dir of the project. Put the three downloaded files to the ‘checkpoints’ dir

Launch the script

After you install the environment, you can run the program!

 python main.py

The script will transform input.png to output.png.

What is DeepNude app?

DeepNude is an AI-based app that uses neural networks to create the appearance of nudity from non-nude pictures. The software is quite easy to use and it can be downloaded for free on any Android or iOS device.

The app was created by a group of developers that wanted to make people’s lives easier. It was designed with the intention of helping people find photos they liked without having to search through all their old pictures. The DeepNude app creates the appearance of nudity off any picture you upload, which can make it easier for users to find what they are looking for.

Deepnude Gits

  • https://github.com/sukebenet/deepnude-checkpoints/releases
  • https://github.com/Dominux/SD_deepnude
  • https://github.com/sukebenet/deepnude-checkpoints
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Trending