Skip to content
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

Load the metadata under SAVE_DIR_NAME #83

Closed
wants to merge 1 commit into from

Conversation

shiyu22
Copy link

@shiyu22 shiyu22 commented Jul 25, 2022

As the issue #18, if we add judges the path to file in read() it will be slower, so how about adding load() function?

So if we want to load the optimized model, we need to run:

from nebullvm.inference_learners.base import LearnerMetadata

path = "path-to-directory-where-the-model-is-saved"
loaded_model = LearnerMetadata.load(path).load_model(path)

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>

Load the metadata under SAVE_DIR_NAME

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
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.

None yet

1 participant