You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In the current implementation of the AutoEncoder class in the monai.networks.nets module, the padding parameter is not customizable. This limits the model's flexibility, as different padding strategies might suit different data-sizes.
Describe the solution you'd like
I would like to propose adding a padding argument to the AutoEncoder class constructor. This would allow users to specify the padding strategy when instantiating the model.
Describe alternatives you've considered
An alternative solution could be to create a subclass of AutoEncoder (like CustomAE) whenever a different padding strategy is needed. See below,
Activity
Adding padding option to autoencoder (#7068)