Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 8th No.23】RFC:Improved Training of Wasserstein GANs 论文复现 #1108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robinbg
Copy link
Contributor

@robinbg robinbg commented Apr 4, 2025

No description provided.

Copy link

paddle-bot bot commented Apr 4, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请检查PR提交格式和内容是否完备,具体请参考示例模版
Your PR has been submitted. Thanks for your contribution!
Please check its format and content. For this, you can refer to Template and Demo.

Comment on lines +185 to +204
PaddleScience/
├── ppsci/
│ ├── utils/
│ │ ├── __init__.py
│ │ ├── losses.py # 损失函数
│ │ ├── metrics.py # 评估指标
│ │ └── visualization.py # 可视化工具
│ └── ...
└── examples/
└── wgan_gp/
├── __init__.py
├── models/
│ ├── __init__.py
│ ├── base_gan.py # GAN 基类
│ ├── wgan.py # WGAN 实现
│ └── wgan_gp.py # WGAN-GP 实现
└── cases/
├── wgan_gp_toy.py # 玩具数据集示例
├── wgan_gp_mnist.py # MNIST 示例
└── wgan_gp_cifar.py # CIFAR-10 示例
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PaddleScience/
├── ppsci/
│ ├── utils/
│ │ ├── __init__.py
│ │ ├── losses.py # 损失函数
│ │ ├── metrics.py # 评估指标
│ │ └── visualization.py # 可视化工具
│ └── ...
└── examples/
└── wgan_gp/
├── __init__.py
├── models/
│ ├── __init__.py
│ ├── base_gan.py # GAN 基类
│ ├── wgan.py # WGAN 实现
│ └── wgan_gp.py # WGAN-GP 实现
└── cases/
├── wgan_gp_toy.py # 玩具数据集示例
├── wgan_gp_mnist.py # MNIST 示例
└── wgan_gp_cifar.py # CIFAR-10 示例
PaddleScience/
└── examples/
└── wgan_gp/
├── __init__.py
├── utils/
│ ├── __init__.py
│ ├── losses.py # 损失函数
│ ├── metrics.py # 评估指标
│ └── visualization.py # 可视化工具
├── models/
│ ├── __init__.py
│ ├── base_gan.py # GAN 基类
│ ├── wgan.py # WGAN 实现
│ └── wgan_gp.py # WGAN-GP 实现
└── cases/
├── wgan_gp_toy.py # 玩具数据集示例
├── wgan_gp_mnist.py # MNIST 示例
└── wgan_gp_cifar.py # CIFAR-10 示例

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果要向ppsci下添加代码,需要遵守当前ppsci库中代码的格式,所以所有代码都放在examples的当前案例下即可。同时ppsci下已经存在一些loss等现成的代码,实现时如果需要,可以考虑是否可以直接使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants