Open JoshuaGhost opened 1 year ago
Hi @JoshuaGhost, The reason why this is not supported by tsai is that the original InceptionTime model (https://github.com/hfawaz/InceptionTime/blob/470ce144c1ba43b421e72e1d216105db272e513f/classifiers/inception.py#L39) doesn't use it. It just uses padding="same".
I've been playing around with the InceptionTime and InceptionModulePlus models and gathering the features captured by the CNN layers w.r.t. different filters. In the meanwhile, i would also like to try out different padding strategies of the Conv1d modules and see their difference.
But it seems that there is no way of passing the
padding_mode
parameter to nn.Conv1d through the construction methods of both models. I then notice that there is apadding
parameter but it doesn't accept either 'zero' or 'zeros'. However, simply passing thepadding
parameter with"valid"
or the number0
causes a dimension misalignment error (withseq_len=1000
andks=40
) like:Is there a reason why this shouldn't be implemented or it is an up-coming feature?