-
Notifications
You must be signed in to change notification settings - Fork 286
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
I want to be able to use synthesizer models in a standalone way (just the model weights) #1970
Labels
feature request
Request for a new feature
Comments
Originally from sdv-dev/CTGAN#358 Problem Description I want to be able to call CTGAN models from my C++ code. Using the synthesizer PKL files doesn't work because of all the Python context that's included. Potential Solution Provide a way to export just the model weights as something more standalone to use. |
srinify
changed the title
Idea: Save only the model weights in the model PKL file instead of all the classes and other object properties
I want to be able to use synthesizer models in a standalone way
May 21, 2024
srinify
changed the title
I want to be able to use synthesizer models in a standalone way
I want to be able to use synthesizer models in a standalone way (just the model weights)
May 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
A SDV public user trained a synthesizer in SDV 1.11, saved the model PKL file, and then tried to import it into SDV 1.12. During import, SDV was trying to load specific Faker classes and this caused an error because of the delta in Faker versions.
See full context here: #1959
Potential Solution
Instead of saving this much object state and trying to recreate it on load, we could just save the model weights and load those. That honestly better represents the context needed for the model itself and could lead to less errors of this type that the user ran into.
The text was updated successfully, but these errors were encountered: