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



写作助手,把中式英语变成专业英文


Want to receive new post notification? 有新文章通知我

100 Pieces of AI Artwork

Xu Cui
0 sec read

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, but after I used Stork‘s new feature “AI Creative Abstract“, I feel that this day is coming soon. In or
Xu Cui
3 min read

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

作为科研人员,我们都有个梦想,如果有一天AI可以帮我写论文就太好了!这听上去好像是遥远的科幻,不过,当我使用了文献鸟Stork的新高级功能“人工智能创意论文摘要”后,我觉得,这一天马上就要来了。 为了
Xu Cui
1 min read

Leave a Reply

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