mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-04-25 15:20:58 +00:00
关于数据集的问题 #491
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @izhaolinger on GitHub (May 21, 2024).
非常感谢作者的贡献,GFPGAN的效果让人惊艳。我尝试使用私有数据集定制化训练,但train_gfpgan_v1配置文件中所需的数据集格式,我不太理解,请问:
感谢,期待回复!
@doniaa24 commented on GitHub (May 22, 2024):
Training Data Format: Yes, for the train - dataroot_gt parameter, you should use high-definition images with a size of 512x512 pixels.
Validation Data Paths:
val - dataroot_lq: This should be the path to your low-quality or damaged images. These are the images that your model will attempt to restore.
val - dataroot_gt: This path should lead to the clean or undamaged versions of the images specified in dataroot_lq. It is crucial for assessing the model's performance during validation.
Note: Ensure that both directories (dataroot_lq and dataroot_gt) contain the same number of images as each damaged image in dataroot_lq should have its matching clean version in dataroot_gt for effective training and validation.
@izhaolinger commented on GitHub (May 29, 2024):
非常感谢您的回复,很有帮助!
@Bobchenyx commented on GitHub (Dec 8, 2024):
您好, 请问可以加下您联系方式嘛? 想咨询有关模型微调相关的问题