ke_images, real=False)

print(f"FID: {float(fid.compute())}")
# FID: 177.7147216796875 The lower the FID, the better it is. Several things can influence FID here: Number of images (both real and fake) Randomness induced in the diffusion process Number of inference steps in the diffusion process The scheduler being used in the diffusion process For the last two points, it is, therefore, a good practice to run the evaluation across different seed