Open csemenzin opened 4 months ago
I think its an issue with the code. Not sure how beartype works, havent used it before, but I found a workaround. Just commenting out the type works.
def __init__(
self,
*,
num_tokens,
conformer#: Union[Conformer, Dict[str, any]]
):
Hello, I am encoutering the following issue when testing the
pretrain.py
script from theexamples
folder.beartype.roar.BeartypeDecorHintNonpepException: Method best_rq_pytorch.conformer.ConformerWrapper.__init__() parameter "conformer" type hint <built-in function any> either PEP-noncompliant or currently unsupported by @beartype.
I do not understand how to address this, could you please provide some guidance? Perhaps my data is not well formatted, could you point me to the correct formatting?