Image-Super-Resolution-via-Iterative-Refinement
Image-Super-Resolution-via-Iterative-Refinement copied to clipboard
fix_uncondition_shape
When the condition is null, a tensor is passed in instead of the shape
When the condition is null, x_in = (b, c, h, w) as show in https://github.com/Janspiry/Image-Super-Resolution-via-Iterative-Refinement/blob/52af4cb2ec0c09ab7de3ca5ffb5c77432dce0fc6/model/sr3_modules/diffusion.py#L206