mvts_transformer
mvts_transformer copied to clipboard
TypeError: forward() got an unexpected keyword argument 'is_causal'
when i tried use mvts_transformer to SpokenArabicDigits , the error occurred
I have the same issue. Have you solved it yet?
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.
yes you can basically add , is_causal: bool = None
or , **kwargs
at the end of forward pass for TransformerBatchNormEncoderLayer
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.
this resolved the issue.