mueller-franzes / medfusion

Implementation of Medfusion - A latent diffusion model for medical image synthesis.
MIT License
165 stars 32 forks source link

Tensor Size mismatch after chaging batch_size #12

Closed stack-raghav closed 1 year ago

stack-raghav commented 1 year ago

RuntimeError: The size of tensor a (504) must match the size of tensor b (500) at non-singleton dimension 3

stack-raghav commented 1 year ago

Resizing the input images to 256*256 solved the issue