gzerveas / mvts_transformer

Multivariate Time Series Transformer, public version
MIT License
718 stars 169 forks source link

TypeError: forward() got an unexpected keyword argument 'is_causal' #68

Open xy-whu opened 3 months ago

xy-whu commented 3 months ago

when i tried use mvts_transformer to SpokenArabicDigits , the error occurred

annachester commented 3 months ago

I have the same issue. Have you solved it yet?

annachester commented 3 months ago

I solved it by adding "**kwargs" to the forward() function in the TransformerBatchNormEncoderLayer class.. this solves the issue that the argument 'is_casual' is no longer expected in the function call.