You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone runs the above code and gets the following error:
File "/home/user_name/anaconda3/envs/transformer_pytorch/lib/python3.9/typing.py", line 852, in __subclasscheck__
return issubclass(cls, self.__origin__)
TypeError: issubclass() arg 1 must be a class
Then ensuring that the typing_extension is version 4.5.0 may fix this bug:
pip install typing_extensions==4.5.0
The text was updated successfully, but these errors were encountered:
transformer_pytorch/main.py
Line 20 in 76597a4
If someone runs the above code and gets the following error:
Then ensuring that the
typing_extension
is version 4.5.0 may fix this bug:The text was updated successfully, but these errors were encountered: