We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for helping us improve this project!
Before you create this issue Please make sure you are using the latest updated code and libraries: see https://github.com/ageron/handson-ml3/blob/main/INSTALL.md#update-this-project-and-its-libraries
Also please make sure to read the FAQ (https://github.com/ageron/handson-ml3#faq) and search for existing issues (both open and closed), as your question may already have been answered: https://github.com/ageron/handson-ml3/issues
Describe the bug In chapter 16 page 601 there is an instruction
translate("I like soccer")
However it fails with :
ValueError Traceback (most recent call last) in <cell line: 1>() ----> 1 translate("I like soccer")
2 frames /usr/local/lib/python3.10/dist-packages/optree/ops.py in tree_map(func, tree, is_leaf, none_is_leaf, namespace, *rests) 750 leaves, treespec = _C.flatten(tree, is_leaf, none_is_leaf, namespace) 751 flat_args = [leaves] + [treespec.flatten_up_to(r) for r in rests] --> 752 return treespec.unflatten(map(func, *flat_args)) 753 754
ValueError: Invalid dtype: str416
To Reproduce Run the notebook 16_nlp_with_rnns_and_attention.ipynb in Colab
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for helping us improve this project!
Before you create this issue
Please make sure you are using the latest updated code and libraries: see https://github.com/ageron/handson-ml3/blob/main/INSTALL.md#update-this-project-and-its-libraries
Also please make sure to read the FAQ (https://github.com/ageron/handson-ml3#faq) and search for existing issues (both open and closed), as your question may already have been answered: https://github.com/ageron/handson-ml3/issues
Describe the bug
In chapter 16 page 601 there is an instruction
translate("I like soccer")
However it fails with :
ValueError Traceback (most recent call last)
in <cell line: 1>()
----> 1 translate("I like soccer")
2 frames
/usr/local/lib/python3.10/dist-packages/optree/ops.py in tree_map(func, tree, is_leaf, none_is_leaf, namespace, *rests)
750 leaves, treespec = _C.flatten(tree, is_leaf, none_is_leaf, namespace)
751 flat_args = [leaves] + [treespec.flatten_up_to(r) for r in rests]
--> 752 return treespec.unflatten(map(func, *flat_args))
753
754
ValueError: Invalid dtype: str416
To Reproduce
Run the notebook 16_nlp_with_rnns_and_attention.ipynb in Colab
The text was updated successfully, but these errors were encountered: