Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError #48

Open
gitfan7 opened this issue Dec 1, 2021 · 2 comments
Open

TypeError #48

gitfan7 opened this issue Dec 1, 2021 · 2 comments

Comments

@gitfan7
Copy link

gitfan7 commented Dec 1, 2021

Could anyone please fix the following error? Thanks a lot.

"/usr/local/lib/python3.7/dist-packages/mesh_transformer/util.py in ()
34
35
---> 36 class ClipByGlobalNormState(OptState):
37 """The clip_by_global_norm transformation is stateless."""
38

/usr/lib/python3.7/typing.py in new(cls, *args, **kwds)
308 isinstance(args[1], tuple)):
309 # Close enough.
--> 310 raise TypeError(f"Cannot subclass {cls!r}")
311 return super().new(cls)
312

TypeError: Cannot subclass <class 'typing._SpecialForm'>"

@gitfan7
Copy link
Author

gitfan7 commented Dec 1, 2021

Looking forward to hearing from you. Thanks a lot.

@kevinlin311tw
Copy link
Member

Can you provide your command here? I am trying to reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants