GithubHelp home page GithubHelp logo

deepnudecli's Introduction

DeepNude Command Line Interface With No Watermark

Python 3.5 Torch 1.1 DeepNude 2.0

Last Update: 16/07/2019

This project is based in the official DeepNude python source-code

Description

Create NSFW, Nude images from common images, using Aritificial Inteligence Pix2pix Algorithm using you CUDA GPU or only your CPU. Compatible with Windows, Mac and Linux.

Benefits

  • Process images fast from Unix/Mac Terminal or Windows Cmd.
  • Outputs with no Watermark.
  • Interface Modifications for Easy to Use.
  • Free to use and distribute.

Requirements

You need to install the following modules to make sure that everything works correctly

  • Python 3.5 or higher
  • numpy
  • Pillow
  • setuptools
  • six
  • pytorch
  • torchvision
  • wheel

Follow the tutorial at README.MD file in checkpoints folder to download the checkpoint files from Torrent Protocol.

After cloning this repository, you need to download the checkpoint files from the torrent file in the "checkpoints" folder. This is required for DeepNudeCLI to work correctly.

First Use

For first use, after make sure that you have all needed modules installed, and Checkpoint files located in "checkpoints" folder, execute:

git clone https://github.com/Yuagilvy/DeepNudeCLI.git
cd DeepNudeCLI
pip install -r requirements.txt
python nude.py -i input.jpg

The output will be saved as "output.jpg"

Usage

usage: nude.py [-h] -i INPUT [-o OUTPUT] [-g]

DeepNude App CLI Version with no Watermark.

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input image to process.
  -o OUTPUT, --output OUTPUT
                        Output path to save result.
  -g, --use-gpu         Enable using CUDA gpu to speed up the process.

Bugs

Some images may be distorted due to their size, different from the graphical version, this version can not crop the input images then, you can crop manually the images in a image editor.

Notes

Please, before opening any issue, check if you enviroment meet all requirements.

Tips

if you use windows and anaconda, and have difficulty installing pytorch, perform the following commands:

conda install -c peterjc123 pytorch 
conda install -c pytorch torchvision 

deepnudecli's People

Contributors

yuagilvy 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.