EfficientDM icon indicating copy to clipboard operation
EfficientDM copied to clipboard

How to reproduce the results in the paper

Open csguoh opened this issue 1 year ago • 4 comments

Hi, sorry to bother you.

In the released code of smaple_lora_int_model.py, is seems only one image is sampled as a toy example. How to reproduce the results of 500K samples and save them as npz format, to reproduce results reported in the paper?

If it is convenient to share the related code? Thank you very much !

csguoh avatar Jun 06 '24 07:06 csguoh

I also have another question, why the DDIM of ImageNet uses 20 timesetps while the code released seems uses more timestep 100? Does this modification influence the performance?

csguoh avatar Jun 06 '24 07:06 csguoh

Hi, you may refer to another issue to reproduce the results. Also, the steps of diffusion models can be adjusted as you wish.

ThisisBillhe avatar Jun 06 '24 07:06 ThisisBillhe

I will try it, thanks for your reply!

csguoh avatar Jun 06 '24 09:06 csguoh

Hi, authors!

I follow the instruction in README, and use the released code with 100 timesteps using DDIM on ImageNet, and use the guided-diffusion codebase for evaluate. However, I still can not reproduce the results in Table2. Since the 50000 smapling is too long, I use 30000 instead. The results of W4A4 (the default setup in the code) of my reproduce is as follows: Snipaste_2024-06-09_14-35-15

I also use the pre-trained ckpt (20 DDIM steps) you have provided and the results are as follows: image

The results reported in the paper is 250.90 || 6.17 || 7.75.

I suspect the above failure of reproduce might be caused by the sample generation process. I write the sampling code by myself following the smaple_lora_inimodel. But it seems not work well for reproduce. Could you give me some help about this? Thx!

csguoh avatar Jun 09 '24 08:06 csguoh