Before multiplying the values of the samples to 255 and cast it to int8, it is necessary clip the values to avoid out of range artifacts. https://github.com/Project-MONAI/GenerativeModels/blob/24b003930e2f8fe7a0abd13bf3bb3cabec718b67/model-zoo/models/cxr_image_synthesis_latent_diffusion_model/scripts/saver.py#L15
Before multiplying the values of the samples to 255 and cast it to int8, it is necessary clip the values to avoid out of range artifacts.
GenerativeModels/model-zoo/models/cxr_image_synthesis_latent_diffusion_model/scripts/saver.py
Line 15 in 24b0039