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
In the README part it says, that Python 3.9 is supported but if I try to use tensorflow_models I'm getting:
TypeError: unsupported operand type(s) for |: 'type' and '_GenericAlias'
There has been a similar issue with #10986 but the docu still says it works with python 3.9
The text was updated successfully, but these errors were encountered:
Hi @DanielUsselmann
Thanks for reporting the issue. I was able to reproduce this issue, it is due to new typing feature of python 3.10. I've opened a PR #11259 to make tensorflow_models compatible with python3.7+
Prerequisites
Please answer the following question for yourself before submitting an issue.
1. The entire URL of the documentation with the issue
https://github.com/tensorflow/models
2. Describe the issue
In the README part it says, that Python 3.9 is supported but if I try to use tensorflow_models I'm getting:
TypeError: unsupported operand type(s) for |: 'type' and '_GenericAlias'
There has been a similar issue with #10986 but the docu still says it works with python 3.9
The text was updated successfully, but these errors were encountered: