DeepNude is now popular. Let's take a look at the secret of the one-click undressing AI principle

Publisher:EEWorld资讯Latest update time:2019-07-03 Source: EEWORLDKeywords:DeepNude Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

https://mmbiz.qpic.cn/mmbiz_jpg/4uXLf4TOmvbdIFxHopKoZxG2mVfGX4ibJPVWHqGf69LfTicclgjZhaXB6NicJcDZhtVpInNBxcyM9KDrJ4icEjYOnQ/640?wx_fmt=jpeg

 

Input a photo of a woman and you will get a nude photo. The stripping DeepNude became popular. However, due to the huge ethical controversy, the developer of this software chose to remove it from the shelves.

 

Moreover, DeepNude itself is not open source. We only know from sporadic introductions from developers that it uses pix2pix.

 

Driven by a huge desire for knowledge, Yuan Xiao, a master's student from the School of Computer Science at Sichuan University, explored the principles behind DeepNude on his GitHub and studied technologies and papers related to image generation and image restoration.

 

According to his analysis, DeepNude is actually just "standing on the shoulders of giants". The technologies used in it are all major research results in the CV field in the past two years, and they have all been open source.

 

Of course, the author himself is critical of this technology.

 

principle

 

DeepNude mainly uses the image-to-image technology proposed in the 2018 article "Image Inpainting for Irregular Holes Using Partial Convolutions".

 

It can turn simple drawings into colorful images. Interested students can go to the Demo website to try it out in the browser.

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTdZicHe6A4LOBLsE86H7mYWHwnGA50ea9zQnaqE2Qpynx1BJ7pYDw90w/640?wx_fmt=png

 

Specifically, DeepNude mainly uses three technologies in the field of computer vision.

 

1. Image restoration

 

That is the article mentioned above, which is a study published in 2018 by a team led by Guilin Liu et al. from NVIDIA.

 

When the picture is severely smeared, the model can still restore the "original" image, which can be said to be "without any trace of PS."

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTopobiaHmdibTibNLYicvvCopzeDXIKL91iauLOXgYzPPlaKbPAhHCFyNyDQ/640?wx_fmt=png

 

In addition to repairing damaged images, Image Inpainting can also remove certain objects from the image, such as painting stones in the grass so that there will be no stones in the restored image.

 

https://mmbiz.qpic.cn/mmbiz_gif/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaT3Npqtfm9zFiawzuib9mXoIY9j3MpnGwOwBpAOHlCgX0LPVL9EfgF0R6Q/640?wx_fmt=gif

 

DeepNude used it to remove the clothes in the picture.

 

2、Pix2Pix

 

This is a 2017 paper from UC Berkeley that uses conditional adversarial networks as a general solution to the image-to-image translation problem.

 

image.png

 

From semantic segmentation to original images, from black and white to color, completing simple drawings, etc., Pix2Pix can do almost everything.

 

3、CycleGAN

 

This is Zhu Junyan's doctoral thesis, which won the 2018 ACM SIGGRAPH Best Doctoral Dissertation Award.

 

CycleGAN uses a cycle consistency loss function to achieve training without the need for paired data. In other words, it can translate from one domain to another without a one-to-one mapping between the source and target domains. This opens up the possibility of performing many interesting tasks such as photo enhancement, image colorization, style transfer, etc. All you need is the source and target datasets.

 

It can transform between a regular horse and a zebra, and can also change a summer scene into a winter scene.

 

https://mmbiz.qpic.cn/mmbiz_jpg/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTQaHSJF2tCrwVa8aKwnSjNH9NcYVqkgPPpRv1mxtP0sssR1JUWicHBYg/640?wx_fmt=jpeg

 

The codes of the above three tools have been open sourced.

 

DeepNude Files

 

All the files in the DeepNude software package are as follows:

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTnOWnmkQNeuPibRYsWfrCeyoCeSHYBbI64AekBToJickGbP0eJDIFicPGA/640?wx_fmt=png

 

Yuan Xiao believes that DeepNude still has some shortcomings that can be improved:

 

1. The software is too large: the size of a pyqtlib.rar file is as high as 1.9GB.

 

2. Slow conversion speed: It takes 30 seconds to process one picture;

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTyFpBs5FzqY3EmX2GQpndUFfOz4hg7LzZj6ZicAskywhSN67gjRQmBnQ/640?wx_fmt=png

 

3. The content is disrespectful to women: This is a wrong use of deep learning technology

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTVXmp7XrUTLu9qNp44rUMfgl0icPmdRBDr13WeP1hafKmKI6DQUYDL9g/640?wx_fmt=png

 

He believes that DeepNude can be implemented using TensorFlow to compress the size of the model. The software itself should also change its current practice of disrespecting women and use this technology in the right way. Researchers should strive to benefit mankind instead of earning income through illegal software.

 

Seeding site

 

Although Yuan Xiao's wish was good, the discussion page of this project inevitably became a site for requests for seeds.

 

As DeepNude is removed from the shelves, some people hope that the author can provide the download address of the original software, or provide some codes.

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaT3gE32GvKq14kJFJGXLXoScNjnqx5Sxiak4KqumKvcX66rqIQRpbJibPg/640?wx_fmt=png

 

https://mmbiz.qpic.cn/mmbiz_png/YicUhk5aAGtAOX9BxnpfSNUIOjP7PicSaTib30nJnzTSp1kNGZ4sMZIRM9LHOBiaYcqq52YRgKfianzGJBickNcJRXgg/640?wx_fmt=png

 

Of course the author rejected it outright, not only because of moral issues, but also because it is illegal to distribute pornographic software in China.

 

Finally, let me share the latest news: another "shy" software has also been deemed illegal. That is the Deepfake software that can replace the heroine of a romantic action movie with any goddess.

 

In Virginia, USA, creating false nude images or videos without the consent of the person is considered a crime and can be punished by fines or even imprisonment.

 


Keywords:DeepNude Reference address:DeepNude is now popular. Let's take a look at the secret of the one-click undressing AI principle

Previous article:Ruckus Removes Barriers to Digital Learning and Helps Address the E-Cigarette Epidemic
Next article:A booster for AI and HPC, the next generation parallel file system solution—EXA5

Latest Internet of Things Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号