coded by: Youngmin Ryou
- open [team 25]ddpm.ipynb
- mount google drive and write proper root directory
- go to the cell after 'Training setting'
- depending on whether you want to use adaptive loss or not, choose proper diffuser model declaration.
- depending on wheter you want to use adaptive loss or not, input proper arguments to the trainer function.
- Train
- After train, you can do sampling & FID, IS evaluation in the same notebook.
- write proper result dir in the cell after 'Trained result & sampling'
- Run all cells after, then you will get 10240 sampled images and the final cell will report computed FID and IS values.
This notebook is for generating progressive generation figures and create generated samples from learned model.
- mount google drive and write proper root directory
- set the result_dir to the directory where the model parameter which you want to generate samples from exists.
- goto diffuser model declaration part and choose whether you will use model with adaptive loss or not.
- generate progressive images and samples. you will get 10240 generation samples by default.
- setup proper directories.
- set gen_img_dir to the directory where generated samples exists.
- run and get FID, IS
you can download here
https://drive.google.com/drive/folders/1NlzJbFREUa8KiDxfTe4Xo90F_Njw5H2i?usp=share_link