Open
Description
In Sparse/models/SparseTSF.py, the kernel size of nn.Conv1d() is set to 1 + 2 * self.period_len // 2. As I try to use an odd period_len, It will raise error saying the shape of input x can not match itself after 1D convolution aggregation. I guess the kernel size should be set to 1 + self.period_len // 2 * 2 or 1 + 2 * (self.period_len // 2) ?
Metadata
Metadata
Assignees
Labels
No labels