net2net icon indicating copy to clipboard operation
net2net copied to clipboard

How to prepare the data (e.g. CelebA HQ)

Open yjhuangcd opened this issue 4 years ago • 2 comments

Hi,

Thanks for the interesting work. I am trying to reproduce the results bu running faces32-to-faces256.yaml. However, I am confused about how to prepare the corresponding dataset.

I have downloaded celebahq dataset from https://drive.google.com/drive/folders/11Vz0fqHS2rXDb5pprgTjpD7S2BAJhi1P, and put them into the data/celebahq folder. And there are 4 subfolders corresponding to different resolutions: 128 x 128, 256 x 256, 512 x 512 and 1024 x 1024, the images are in .jpg format.

My questions are:

  1. Which resolution should we use?
  2. Currently the images are in .jpg format. I am trying to convert them to .npy. However, it looks like I need to convert them following the file names provided in celebahqtrain.txt. Are there any guidelines for that? Thanks for your time!

yjhuangcd avatar Mar 01 '21 21:03 yjhuangcd

你好,

感谢您的有趣的工作。我正在尝试重现运行时的结果faces32-to-faces256.yaml。但是,我对如何准备相应的数据集感到困惑。

我已从https://drive.google.com/drive/folders/11Vz0fqHS2rXDb5pprgTjpD7S2BAJhi1P下载celebahq数据集,并将其放入data / celebahq文件夹中。共有4个子文件夹,分别对应于不同的分辨率:128 x 128、256 x 256、512 x 512和1024 x 1024,这些图像均为.jpg格式。

我的问题是:

  1. 我们应该使用哪种分辨率?
  2. 当前,图像为.jpg格式。我正在尝试将它们转换为.npy。但是,看来我需要按照celebahqtrain.txt中提供的文件名进行转换。有什么指导方针吗? 谢谢你的时间!

Hi~Thank you solving my dataset problem. And have you solved the resolution problem? Thank you very much!

changrannn avatar May 12 '21 10:05 changrannn

hi, have you solved the problem? thanks!

Corleone-Huang avatar Mar 06 '23 03:03 Corleone-Huang