Relativistic-GAN:相对论GAN的简单实现

时间:2021-04-30 11:50:03
【文件属性】:
文件名称:Relativistic-GAN:相对论GAN的简单实现
文件大小:27KB
文件格式:ZIP
更新时间:2021-04-30 11:50:03
machine-learning deep-learning torch pytorch gan 相对论的甘 它是什么? 此仓库具有相对论GAN的简单实现。 相对论修改了GAN目标,从而大大提高了训练的稳定性。 这两个目标是: 对于发电机培训步骤: err_d = ( torch.mean((y_real - torch.mean(y_gene) - 1) ** 2) + torch.mean((y_gene - torch.mean(y_real) + 1) ** 2) ) 凡y_real是鉴别得分的真实数据和y_gene是鉴别得分假数据 对于鉴别器: err_g = ( torch.mean((y_real - torch.mean(y_gene) + 1) ** 2) + torch.mean((y_gene - torch.mean(y_real) - 1) ** 2)
【文件预览】:
Relativistic-GAN-master
----relgan()
--------utils.py(575B)
--------experiment.py(49B)
--------__init__.py(2KB)
--------__main__.py(75B)
--------trainer.py(2KB)
--------networks.py(1KB)
----step_049900.png(24KB)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(1KB)

网友评论