目录
目录README.md

CGAN_jittor

简介

本项目为jittor的CGAN项目,具体为在数字图片数据集 MNIST 上训练 Conditional GAN(Conditional generative adversarial nets)模型,通过输入一个随机向量 z 和额外的辅助信息 y (如类别标签),生成特定数字的图像。

安装

本项目可在 1 张 3090 上运行,训练时间约为 15 分钟。

运行环境

  • ubuntu 20.04 LTS
  • python >= 3.7
  • jittor >= 1.3.0

预训练模型

预训练模型为项目根目录的 discriminator_last.pkl 与 generator_last.pkl。

训练

单卡训练可运行以下命令:

python CGAN.py
关于

A Jittor implementation of Conditional GAN (CGAN)

10.0 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号