Time series Timeseries Deep Learning Machine Learning Python Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai
Quite a few models, including MLP but not only, complain of unexpected custom_head in kwargs. I've worked-around it by adding custom_head=None to the affected constructors, and just ignore the parameter.
With the custom_head=None work-around the model runs, however the default loss functions complain of mismatched tensors:
RuntimeError: The size of tensor a (64) must match the size of tensor b (640) at non-singleton dimension 0
I'm not doing anything particularly strange, and the same code works when using the "Plus" models.
Quite a few models, including MLP but not only, complain of unexpected custom_head in kwargs. I've worked-around it by adding custom_head=None to the affected constructors, and just ignore the parameter.
With the custom_head=None work-around the model runs, however the default loss functions complain of mismatched tensors:
RuntimeError: The size of tensor a (64) must match the size of tensor b (640) at non-singleton dimension 0
I'm not doing anything particularly strange, and the same code works when using the "Plus" models.