Skip to content

Added Deprecated warning for model_from_yaml#728

Open
singhniraj08 wants to merge 1 commit intokeras-team:masterfrom
singhniraj08:master
Open

Added Deprecated warning for model_from_yaml#728
singhniraj08 wants to merge 1 commit intokeras-team:masterfrom
singhniraj08:master

Conversation

@singhniraj08
Copy link

@singhniraj08 singhniraj08 commented Jan 24, 2024

Using model.to_yaml() or model_from_yaml raises "RuntimeError: Method model.to_yaml() has been removed due to security risk of arbitrary code execution. Please use model.to_json() instead" error on latest tf-keras versions. So added deprecated warning in api document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants