添加 CGAN.py
运行本项目需要安装 Jittor 框架。
Jittor 框架目前支持 Linux 或 Windows(包括 WSL),mac 系统请安装虚拟机解决。需要 使用 Python 及 C++ 编译器(g++ 或 clang)。Jittor 提供了三种安装方法:docker,pip 和 手动安装,具体安装教程请参考:https://cg.cs.tsinghua.edu.cn/jittor/download/。
方式一:修改CGAN.py中number的值为需要生成的数字,类型为字符串。之后运行
CGAN.py
number
python CGAN.py
方式二:直接运行
python CGAN.py <number>
其中<number>为需要生成的数字。
<number>
A Jittor implementation of Conditional GAN (CGAN)
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
基于 Jittor 实现的 CGAN
环境配置
运行本项目需要安装 Jittor 框架。
Jittor 框架目前支持 Linux 或 Windows(包括 WSL),mac 系统请安装虚拟机解决。需要 使用 Python 及 C++ 编译器(g++ 或 clang)。Jittor 提供了三种安装方法:docker,pip 和 手动安装,具体安装教程请参考:https://cg.cs.tsinghua.edu.cn/jittor/download/。
使用方式
方式一:修改
CGAN.py
中number
的值为需要生成的数字,类型为字符串。之后运行方式二:直接运行
其中
<number>
为需要生成的数字。