-
Notifications
You must be signed in to change notification settings - Fork 53
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
ENH - Gets SciKeras script working #394
Open
lazarust
wants to merge
57
commits into
skops-dev:main
Choose a base branch
from
lazarust:enh-get-scikeras-working
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
925c960
Gets SciKeras script working
lazarust 3500592
Fixes test_metainfo
lazarust 492a1ca
Updates changes.rst
lazarust 4c91a07
Merge branch 'main' into enh-get-scikeras-working
lazarust 101b90c
Merge branch 'main' into enh-get-scikeras-working
lazarust 08f5ba7
Merge branch 'main' into enh-get-scikeras-working
lazarust 0491a7b
Merge branch 'main' into enh-get-scikeras-working
lazarust f1b93fe
Update changes.rst
lazarust bbe6b34
Adds test
lazarust 3b274b4
Loads dumped model in test and checks output
lazarust e7ab34e
Refactor test_external.py to use dumps instead of dump
lazarust a1a92cc
Add TensorFlow as a dependent package
lazarust 7b0f21e
WIP Still running into a recursion error
lazarust 3397b17
Refactor imports and update test method
lazarust 49a16f0
WIP Fix get_state function to include module and class
lazarust d4469f9
Merge branch 'main' into enh-get-scikeras-working
lazarust 3b55471
Merge branch 'main' into enh-get-scikeras-working
lazarust b51ca0e
Reverts changes from previous implementation
lazarust dd8d6e1
Merge branch 'main' into enh-get-scikeras-working
lazarust f68eea6
WIP Fix saving of scikeras models in zip file
lazarust f304dc7
Fixes lines I missed when reverting previous commits
lazarust c131ebd
Switch to saving as a `.keras` file
lazarust 846e72e
Updates to use TempFile to save the model
lazarust 7f8593a
Fixes typo in comment
lazarust 208839b
Merge branch 'main' into enh-get-scikeras-working
lazarust 28e9f15
Merge branch 'main' into enh-get-scikeras-working
lazarust d1d260e
Merge branch 'main' into enh-get-scikeras-working
lazarust ac11b46
Add support for saving and loading scikeras models by adding _scikera…
lazarust a9b9dbf
Removes comment that isn't necessary now
lazarust e5eb579
Adds SciKerasNode
lazarust 0eca68a
Update Keras import to TensorFlow and fix model loading
lazarust 30f8993
Update dependencies for TensorFlow to be included in docs
lazarust 1b1cdff
Adds scikeras to docs dependencies
lazarust 5033112
Updates scikeras to version 0.13
lazarust 6a8e821
Removes default trusted types
lazarust f119713
Merge branch 'main' into enh-get-scikeras-working
lazarust ab530f3
Add importing __future__ annotations in _scikeras.py
lazarust 0d8efca
Update TensorFlow version to 2.16.0 in _min_dependencies.py
lazarust 07e0d5a
Update scikeras version to 0.12.0 in _min_dependencies.py
lazarust cc08530
Update TensorFlow version to 2.13.0 in _min_dependencies.py
lazarust cc2aead
Update TensorFlow version to 2.12.0 in _min_dependencies.py
lazarust c96a50a
Merge branch 'main' into enh-get-scikeras-working
lazarust 91983e8
Moves changes to the correct version
lazarust 2f3ae7a
Merge branch 'main' into enh-get-scikeras-working
lazarust 3739f1f
Ignores deprecation warning from protobuf
lazarust ce11bf0
Fixes deprecation warning from matplotlib
lazarust 4c47aaf
Merge branch 'main' into enh-get-scikeras-working
lazarust 12e2108
Merge branch 'main' into enh-get-scikeras-working
lazarust d677476
Fixes making scikears a hard dependency
lazarust 6d10f71
Adds test for error on untrusted types
lazarust e307560
Cleans up unneeded ()
lazarust bb82961
Merge branch 'main' into enh-get-scikeras-working
lazarust 76341fd
Merge branch 'main' into enh-get-scikeras-working
lazarust fa6b208
use TF directly
adrinjalali 83891ed
Merge remote-tracking branch 'upstream/main' into enh-get-scikeras-wo…
adrinjalali e9b2dd0
move changelog
adrinjalali 2d92168
add missing file
adrinjalali File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2nd argument to
dumps
is the compression level. Honestly, I'm surprised that this didn't raise an error.