Skip to content

Conversation

@Humbulani1234
Copy link
Contributor

This PR fixes various similar errors related to data download and Dataset preparation in various scripts in the structured_data examples. It includes: movielens_recommendations_transformers.py, wide_deep_cross_networks.py, and feature_space_advanced.py.

Detailed errors description may also be referenced from PR.

More information about the error from the function tree_flatten doc string. OrderedDict when flattened keeps its keys insertion order, and dict does not. In our models inputs are a dict and dataset is an OrderedDict.

A fix has been provided.

Copy link
Contributor

@fchollet fchollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Can you please also fix the issues in the corresponding .md and .ipynb files?

@Humbulani1234
Copy link
Contributor Author

Find the generated .ipynb and .md files.

@fchollet fchollet merged commit 17ce1f3 into keras-team:master Jan 9, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants