Problem with saving a model using mlflow #12296
Unanswered
JulianPerez852
asked this question in
Help: Coding & Implementations
Replies: 2 comments 1 reply
-
Hi @JulianPerez852, which versions of |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi! The code you shared are all calls into |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!!
I have an issue when I tried to save a mlflow model, I am using the same code that the documentation and my model will be storage in azure ML, but when the code run, that happens.
The code is:
`import mlflow
import mlflow.spacy
nlp = spacy.load('models/nlp')
with mlflow.start_run(run_name='Spacy'):
mlflow.set_tag('model_flavor', 'spacy')
mlflow.spacy.log_model(spacy_model=nlp, artifact_path='model_spacy')
mlflow.log_metric(('accuracy', 0.72))
my_run_id = mlflow.active_run().info.run_id
model_uri = f'runs:/{my_run_id}/model_spacy'`
The error:

It means "The process don't have access to the file, because is using by another process"
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions