Open finnn00 opened 3 weeks ago
Hi, @finnn00. To calculate the model's inference time, you can set the start and end times around the code, i.e., diffusion.test(continous=False).
If you want to measure the time until the output image is saved, you should consider moving the end_time calculation before the PSNR and SSIM calculations, since they are time-consuming.
Regarding the inference time in test.py , could you please confirm if the following code is used for calculation? Looking forward to ur reply! ················································································································································································································································· def main():