Learning deep learning (project 5, generate new celebrity faces)

37 sec read

In this class project, I used generative adversarial network (GAN) to generate new images of faces, similar to celebrity faces in the database.

The model we use is a deep convolutional network, which has been used widely in image classification.

First, we use the MNIST database (collection of 60,000 handwriting digits). After the training, the model can generate digits similar to what we have in the training set. We only trained it for two epochs.  I believe we can generate more realistic images if we train it longer.

Generate new handwriting digits
Generate new handwriting digits

Then we use ~200,000 images of celebrity faces to train our model. The training takes much longer time, but with my Nvidia 1080 Ti it’s fast. In the beginning, just after learning from 20,000 images, the model was able to generate face-like patterns. Then after the complete 10 epoch training, it generate very clear faces.

Generate new faces
Generate new faces

The project can be found at https://www.alivelearn.net/deeplearning/dlnd_face_generation.html


Receive email notification via email 博客有新内容通知我
文献鸟,永远不错过新文献!

Don't want to miss new papers in your field? Check out Stork we developed:


Is AI able to write papers?

As researchers, we all have a dream: it would be fantastic if AI could write papers one day! This sounds like a science fiction,...
Xu Cui
3 min read

人工智能已经强大到能写论文了?

作为科研人员,我们都有个梦想,如果有一天AI可以帮我写论文就太好了!这听上去好像是遥远的科幻,不过,当我使用了文献鸟Stork的新高级功能“人工智能创意论文摘要”后,我觉得,这一天马上就要来了。 为了看看人工智能有多厉害,我随便想了个有意思的主题,就是人和宠物狗之间的欺骗行为的大脑机制。这是一个还没有被研究的课题,到现在为止还没有人同时测量过一个人和他的宠物狗的大脑,当然也没有文章发表。我有这个想法已经有一段时间,但还是个模糊的想法,具体怎么实现以及结果怎样我也不知道。于是,我看看人工智能会写出什么。于是我输入了: Deception between human and pet dog, an fNIRS hyperscanning study 点击“开始”按钮后,人工智能好像想了几秒钟,然后文字便源源不断地出现了。 The present study aimed to investigate the neural correlates of deception...
Xu Cui
1 min read

Deep learning training speed with 1080 Ti and M1200

I compared the speed of Nvidia’s 1080 Ti on a desktop (Intel i5-3470 CPU, 3.2G Hz, 32G memory) and NVIDIA Quadro M1200 w/4GB GDDR5,...
Xu Cui
1 min read

Leave a Reply

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