Skip to content

Python

[PyTorch] Tutorial(7) Use Deep Generative Adversarial Network (DCGAN) to generate pictures

Today I want to record how to use Deep generative Adversarial Network (DCGAN) to implement a simple generate picture model. I wanted to demo with delicious snack pictures, but the effect was not very good, I downloaded half a million snack pictures in vain.

Finally, I used the official demo CelebA dataset.

Read More »[PyTorch] Tutorial(7) Use Deep Generative Adversarial Network (DCGAN) to generate pictures

[PyTorch] Tutorial(5) How to train a model to classify CIFAR-10 database

Today we challenged the classifiers of different data sets again. This time, CIFAR-19 is a more difficult problem than MNIST handwriting recognition. In addition to the size of the picture becoming 32×32, CIFAR-10 is no longer a pure grayscale value, but a picture with the three primary colors of RGB.

Read More »[PyTorch] Tutorial(5) How to train a model to classify CIFAR-10 database

[PyQt5] Tutorial(9) Use QCalendarWidget to create a calendar component

The original plan about PyQt5 did not intend to write so many articles. Unexpectedly, in the process of learning, I would constantly find things that I needed to record.

The calendar component is a component often used in the development of GUI interfaces, and is often used to allow users to select different dates.

Read More »[PyQt5] Tutorial(9) Use QCalendarWidget to create a calendar component