当前位置:网站首页>基于PyTorch的生成对抗网络实战(7)——利用Pytorch搭建SGAN(Semi-Supervised GAN)生成手写数字并分类
基于PyTorch的生成对抗网络实战(7)——利用Pytorch搭建SGAN(Semi-Supervised GAN)生成手写数字并分类
2022-06-26 12:46:00 【wendy_ya】
〇、Semi-Supervised GAN介绍
通过强制判别器网络输出分类标签,我们将生成对抗网络(GAN)扩展到半监督学习(Semi-Supervised)。我们在输入属于N类之一的数据集上训练生成器G和判别器D。在训练时,使用D来预测输入属于N+1类中的哪一个,其中一个额外的类被添加到G的输出中。我们表明,这种方法可以用来创建一个更有效的数据分类器,它允许生成比常规GAN更高质量的样本。
论文可参考《Semi-Supervised Learning with Generative Adversarial Networks》。
算法如下图所示:
一、生成器
生成器的目标是输入一个固定维度的随机噪声,生成手写数字图像,因此它的输入是一个长度为N=100的一
边栏推荐
- Arcpy -- use of insertlayer() function: adding layers to map documents
- MongoDB系列之Window环境部署配置
- Coprime and non coprime of template problems of Chinese remainder theorem
- MySQL讲解(二)
- Zoomeeper sets ACL permission control (only specific IP access is allowed to enhance security)
- F - Charm Bracelet
- Traverse the specified directory to obtain the file name with the specified suffix (such as txt and INI) under the current directory
- Reflect the technical depth (unable to speed up)
- Beifu twincat3 can read and write CSV and txt files
- H5 video automatic playback and circular playback
猜你喜欢

MediaPipe手势(Hands)

Ring queue PHP

33、使用RGBD相机进行目标检测和深度信息输出

Awk tools

Beifu realizes the control of time slice size and quantity through CTU and ton

Basic configuration and test of Beifu twincat3 NCI in NC axis interface

防火墙介绍

IDC report: the AI cloud market share of Baidu AI Cloud ranks first for six consecutive times

三维向量的夹角

awk工具
随机推荐
Input text to automatically generate images. It's fun!
[how to connect the network] Chapter 2 (Part 1): establish a connection, transmit data, and disconnect
Bifu divides EtherCAT module into multiple synchronization units for operation -- use of sync units
Coprime and non coprime of template problems of Chinese remainder theorem
Composite mode
MediaPipe手势(Hands)
Zoomeeper sets ACL permission control (only specific IP access is allowed to enhance security)
Basic configuration and test of Beifu twincat3 NCI in NC axis interface
Arcpy - - utilisation de la fonction insertlayer (): ajout de calques dans un document de carte
7-2 a Fu the thief
Beifu cx5130 card replacement and transfer of existing authorization files
[node.js] MySQL module
Network remote access using raspberry pie
F - Charm Bracelet
原型模式(prototype)
May product upgrade observation station
Map value
ES基于Snapshot(快照)的数据备份和还原
Go language - pipeline channel
code force Party Lemonade