Unanswered
Hello! I’M Trying To Re-Use Model, Which Is Already In Model Regystry And I Came Up With Two Ideas:
Query Model And Connect It To The Task
Do you mean that in the Model tab when you look into the model details the URL points to a local location (e.g. file:///mnt/something/model) ?
Exactly.
And your goal is to get a copy of that model (file) from your code, is that correct ?
See, it happens when I tried to connect
existed model (in model registry, model is already uploaded to remote storage). I query this model and connect it to the task
model = InputModel.query_models(model_name=name
task.connect(model[0])
It creates Imported by SCRIPT_NAME
record in model registry and in the Model tab, when I look into the model details, model_url
refer to local file (file:///mnt/something/model)) for some reason
114 Views
0
Answers
one year ago
one year ago