PyTorch-VAE icon indicating copy to clipboard operation
PyTorch-VAE copied to clipboard

Generalise hard coded values

Open rishabh-ranjan opened this issue 2 years ago • 2 comments

The code fails for general values of hidden dims, image sizes, etc. due to shape mismatches. Since image size and hidden dims are parameters anyway, can you please increase the flexibility in other parts of the code? This will allow it to be used as it is on other datasets and different architectures.

rishabh-ranjan avatar Feb 27 '22 22:02 rishabh-ranjan

I can try to do this when I get some time :)

PratikStar avatar May 19 '22 17:05 PratikStar

Not sure it is still relevant to you but I have put together some Implementations of VAE variants that allow such flexibility here. Maybe this can help.

clementchadebec avatar Dec 14 '22 10:12 clementchadebec