我们的 GAN 模型库支持 27 种 GAN。 这个表格是我们从 Google Scholar 中找到的最新引用数据。 可以看到,自 2014 年 GAN 被提出以来,出现了许多基于 GAN 的优秀工作。 这 27 种 GAN 总共获得了 60953 次引用,平均每篇文章被引用 2176 次。
我们的 GAN 模型库支持 27 种 GAN 模型。该表是我们从 Google Scholar 中找到的最新引用量。可以看到,自 2014 年提出 GAN 以来,出现了很多基于 GAN 的优秀工作。这 27 个 GAN 模型总共有 60953 次引用,平均每篇文章被引用 2176 次。
<p align="center"> <img src="https://yellow-cdn.veclightyear.com/0a4dffa0/16a46a7f-199c-4064-8d20-0989f90b1ec2.png"\> </p>我们比较了 Jittor 和 PyTorch 这些 GAN 的性能。PyTorch 版本代码使用了 GitHub 仓库 master 分支 2019 年 8 月 24 日的 commit a163b8。下图展示了 Jittor 相对于 PyTorch 的加速比。可以看出,这些 GAN 的最高加速比达到 283%,平均加速比为 185%。
我们比较了 Jittor 和 Pytorch 的这些 GAN 模型的性能。PyTorch 版本代码使用 github 仓库 master 分支 2019 年 8 月 24 日的 commit a163b8。下图是 Jittor 相对于 Pytorch 的加速比。可以看出,这些GANs的最高加速比达到283%,平均加速比为185%。
<p align="center"> <img src="https://yellow-cdn.veclightyear.com/0a4dffa0/d682914e-ad68-4322-adc9-1d2928431e75.png"\> </p>用另一种方式呈现,假设 PyTorch 的训练时间为 100 小时,我们计算了 Jittor 对应的 GAN 训练所需时间。在这些 GAN 中,我们加速最快的 GAN 仅需 35 小时即可运行,平均运行时间为 57 小时。
以另一种形式的呈现,假设 Pytorch 的训练时间为 100 小时,我们计算了 Jittor 对应的 GAN 训练所需的时间。在这些 GAN 中,我们最快的加速 GAN 仅需 35 小时即可运行,平均为 57 小时。
<p align="center"> <img src="https://yellow-cdn.veclightyear.com/0a4dffa0/bf014a27-1e0f-4fab-b2e2-c64bb70e7e26.png"\> </p>$ git clone https://github.com/Jittor/JGAN.git
$ cd JGAN/
$ sudo python3.7 -m pip install -r requirements.txt
辅助分类器生成对抗网络
Augustus Odena, Christopher Olah, Jonathon Shlens
$ cd models/acgan/
$ python3.7 acgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/971f1dae-3c88-4253-8ae2-e0de4e7c214a.png" width="200"\>
</p>
对抗自编码器
Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, Brendan Frey
$ cd models/aae/
$ python3.7 aae.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/53db459c-9de0-4db6-9627-254e6713ca8e.gif" width="200"\>
</p>
BEGAN: 边界均衡生成对抗网络
David Berthelot, Thomas Schumm, Luke Metz
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/began/began.py
$ cd models/began/
$ python3.7 began.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/94c625e5-901a-4959-bfb2-25e9e8e398a2.gif" width="200"\>
</p>
多模态图像到图像转换
Jun-Yan Zhu, Richard Zhang, Deepak Pathak, Trevor Darrell, Alexei A. Efros, Oliver Wang, Eli Shechtman
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/bicyclegan/bicyclegan.py
$ cd data/
$ bash download_pix2pix_dataset.sh edges2shoes
$ cd ../models/bicyclegan/
$ python3.7 bicyclegan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/a72ee94b-a266-4af6-9d6f-d85de5300cc3.png" width="400"\>
</p>
<p align="center">
通过改变潜在编码实现各种风格转换。
</p>
边界寻求生成对抗网络
R Devon Hjelm, Athul Paul Jacob, Tong Che, Adam Trischler, Kyunghyun Cho, Yoshua Bengio
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/bgan/bgan.py
$ cd models/bgan/
$ python3.7 bgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/c9d9baf6-5958-4376-a0b3-8d191aefab20.png" width="240"\>
</p>
ClusterGAN:生成对抗网络中的潜在空间聚类
Sudipto Mukherjee, Himanshu Asnani, Eugene Lin, Sreeram Kannan
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/cluster_gan/clustergan.py
$ cd models/cluster_gan/
$ python3.7 clustergan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/3dd07852-3971-4128-87e0-20786193bf5e.png" width="200"\>
</p>
条件生成对抗网络
Mehdi Mirza, Simon Osindero
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/cgan/cgan.py
$ cd models/cgan/
$ python3.7 cgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/bd668704-e143-4f0b-b621-844d413f522d.gif" width="200"\>
</p>
上下文编码器:通过修复学习特征
Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, Alexei A. Efros
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/context_encoder/context_encoder.py
$ cd models/context_encoder/
<按照context_encoder.py顶部的步骤操作>
$ python3.7 context_encoder.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/feffab86-3ba4-4471-abb8-67bdfdb0c277.png" width="640"\>
</p>
<p align="center">
行:遮罩 | 修复 | 原图 | 遮罩 | 修复 | 原图
</p>
耦合生成对抗网络
Ming-Yu Liu, Oncel Tuzel [论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/cogan/cogan.py
$ 从 https://cloud.tsinghua.edu.cn/f/d9a411da271745fcbe1f/?dl=1 下载 mnistm.pkl 并将其放入 data/mnistm/mnistm.pkl
$ cd models/cogan/
$ python3.7 cogan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/007f4eb8-a06e-4657-93a3-1a8341a35be5.gif" width="200"\>
</p>
<p align="center">
生成的 MNIST 和 MNIST-M 图像
</p>
使用循环一致对抗网络进行非配对图像到图像的转换
Jun-Yan Zhu, Taesung Park, Phillip Isola, Alexei A. Efros
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/cyclegan/cyclegan.py
$ cd data/
$ bash download_cyclegan_dataset.sh monet2photo
$ cd ../models/cyclegan/
$ python3.7 cyclegan.py --dataset_name monet2photo
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/5c41ebb4-cf3d-419f-a91a-70b9dff723dc.png" width="400"\>
</p>
<p align="center">
莫奈风格到照片的转换
</p>
深度卷积生成对抗网络
Alec Radford, Luke Metz, Soumith Chintala
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/dcgan/dcgan.py
$ cd models/dcgan/
$ python3.7 dcgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/a20a6ad0-8451-4b1c-b9c6-669365c96af4.png" width="240"\>
</p>
关于GAN的收敛性和稳定性
Naveen Kodali, Jacob Abernethy, James Hays, Zsolt Kira
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/dragan/dragan.py
$ cd models/dragan/
$ python3.7 dragan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/009f006d-1c6d-4413-9211-f1c2625abf64.png" width="240"\>
</p>
基于能量的生成对抗网络
Junbo Zhao, Michael Mathieu, Yann LeCun
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/ebgan/ebgan.py
$ cd models/ebgan/
$ python3.7 ebgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/4a23882d-7ccd-4e95-9338-73789a69114d.png" width="240"\>
</p>
ESRGAN:增强型超分辨率生成对抗网络
Xintao Wang, Ke Yu, Shixiang Wu, Jinjin Gu, Yihao Liu, Chao Dong, Chen Change Loy, Yu Qiao, Xiaoou Tang
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/esrgan/esrgan.py
$ cd models/esrgan/
<按照esrgan.py顶部的步骤操作>
$ python3.7 esrgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/f55a4e8c-1704-45a8-9901-c7f2644f2c5c.gif" width="320"\>
</p>
生成对抗网络
Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, Yoshua Bengio
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/gan/gan.py
$ cd models/gan/
$ python3.7 gan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/b78f70aa-3a94-4af3-9bcf-63ef60d1d70f.png" width="240"\>
</p>
InfoGAN:通过信息最大化生成对抗网络实现可解释表示学习
Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, Pieter Abbeel
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/infogan/infogan.py
$ cd models/infogan/
$ python3.7 infogan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/ec5ed7b0-7c9e-42a3-ad1f-c0af569ffc0c.png" width="200"\>
</p>
<p align="center">
按行变化连续潜在变量的结果。
</p>
最小二乘生成对抗网络
Xudong Mao, Qing Li, Haoran Xie, Raymond Y.K. Lau, Zhen Wang, Stephen Paul Smolley
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/lsgan/lsgan.py
$ cd models/lsgan/
$ python3.7 lsgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/01ba5dfc-6c7a-4b29-be45-7b6e7612dd81.png" width="200"\>
</p>
使用条件对抗网络的非配对图像到图像转换
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, Alexei A. Efros
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/pix2pix/pix2pix.py
$ cd data/
$ bash download_pix2pix_dataset.sh facades
$ cd ../models/pix2pix/
$ python3.7 pix2pix.py --dataset_name facades
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/a67f2aa5-fb8c-4481-98fb-76d93219c7a2.png" width="240"\>
</p>
<p align="center">
从上到下的行依次为:(1) 生成器的条件 (2) 基于条件生成的图像 <br>
(3) 与条件相对应的真实图像
</p>
使用生成对抗网络的无监督像素级域适应
Konstantinos Bousmalis, Nathan Silberman, David Dohan, Dumitru Erhan, Dilip Krishnan
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/pixelda/pixelda.py
训练一个分类器,使用从源域(MNIST)转换到目标域(MNIST-M)的图像,并使用源域图像的标注。分类网络与生成器网络联合训练,以优化生成器既能提供适当的域转换,又能保留源域图像的语义。在转换后的图像上训练的分类网络与直接在MNIST上训练并在MNIST-M上评估的朴素解决方案进行比较。朴素模型在MNIST-M上实现55%的分类准确率,而在域适应过程中训练的模型达到95%的分类准确率。
$ 从 https://cloud.tsinghua.edu.cn/f/d9a411da271745fcbe1f/?dl=1 下载 mnistm.pkl 并将其放入 data/mnistm/mnistm.pkl
$ cd models/pixelda/
$ python3.7 pixelda.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/e9b07f3a-8f86-4c7a-851a-3b2327f02d2e.gif" width="200"\>
</p>
<p align="center">
从上到下的行依次为:(1) MNIST的真实图像 (2) 从MNIST转换到MNIST-M的图像 <br>
(3) MNIST-M的示例图像
</p>
相对论判别器:标准GAN中缺失的关键元素
Alexia Jolicoeur-Martineau
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/relativistic_gan/relativistic_gan.py
$ cd models/relativistic_gan/
$ python3.7 relativistic_gan.py # 相对论标准GAN
$ python3.7 relativistic_gan.py --rel_avg_gan # 相对论平均GAN
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/d05c04e1-fe70-4995-b6fb-73631f1dd932.png" width="240"\>
</p>
半监督生成对抗网络
Augustus Odena
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/sgan/sgan.py
$ cd models/sgan/
$ python3.7 sgan.py
Softmax 生成对抗网络
Min Lin
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/softmax_gan/softmax_gan.py
$ cd models/softmax_gan/
$ python3.7 softmax_gan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/b043f92e-4ec0-4bda-885e-0e444eda31f6.png" width="240"\>
</p>
StarGAN:用于多域图像到图像转换的统一生成对抗网络
Yunjey Choi, Minje Choi, Munyoung Kim, Jung-Woo Ha, Sunghun Kim, Jaegul Choo
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/stargan/stargan.py
$ cd models/stargan/
<按照stargan.py顶部的步骤操作>
$ python3.7 stargan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/9410b90c-9263-4e93-a212-8185fa6180de.png" width="240"\>
</p>
<p align="center">
原始 | 黑发 | 金发 | 棕发 | 性别翻转 | 变老
</p>
无监督图像到图像转换网络
Ming-Yu Liu, Thomas Breuel, Jan Kautz
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/unit/unit.py
$ cd data/
$ bash download_cyclegan_dataset.sh apple2orange
$ cd models/unit/
$ python3.7 unit.py --dataset_name apple2orange
Wasserstein 生成对抗网络
Martin Arjovsky, Soumith Chintala, Léon Bottou
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/wgan/wgan.py
$ cd models/wgan/
$ python3.7 wgan.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/51489852-e2ba-4fa9-ba54-da961a10e899.png" width="240"\>
</p>
改进的Wasserstein GAN训练
Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, Aaron Courville
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/wgan_gp/wgan_gp.py
$ cd models/wgan_gp/
$ python3.7 wgan_gp.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/43ce84a3-7861-4cb3-b26c-897f574baec2.png" width="240"\>
</p>
GAN的Wasserstein散度
Jiqing Wu, Zhiwu Huang, Janine Thoma, Dinesh Acharya, Luc Van Gool
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/wgan_div/wgan_div.py
$ cd models/wgan_div/
$ python3.7 wgan_div.py
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/c09300ab-782b-4471-935b-d0db8642c322.gif" width="240"\>
</p>
GAN的Wasserstein散度
Jiqing Wu, Zhiwu Huang, Janine Thoma, Dinesh Acharya, Luc Van Gool
[论文] [[代码]](https://github.com/Jittor/JGAN/blob/master/models/wgan_div/wgan_div.py
$ cd models/StyleGAN2
<p align="center">
<img src="https://yellow-cdn.veclightyear.com/0a4dffa0/a2e3acfd-7fe3-4d2c-88a4-d13af249c6c2.png" \>
</p>字节跳动发布的AI编程神器IDE
Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。
全能AI智能助手,随时解答生活与工作的多样问题
问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。
实时语音翻译/同声传译工具
Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。
一键生成PPT和Word,让学习生活更轻松
讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。
深度推理能力全新升级,全面对标OpenAI o1
科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。
一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型
Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。
AI助力,做PPT更简单!
咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。
选题、配图、成文,一站式创作,让内容运营更高效
讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。
专业的AI公文写作平台,公文写作神器
AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。
OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。
openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。
最新AI工具、AI资讯
独家AI资源、AI项目落地
微信扫一扫关注公众号