Forum Discussion
Stuck-- Can't Load Registered ML Model
- Anonymous1 year ago
Hi AlanZ
I applied the following code got from the tutorial documentation without having any error. There are two other ways to apply the PREDICT function in the model in the documentation, which you can try.
If all methods failed, you might take a moment to try out the entire tutorial in the previous documentation. Test if the sample provided in the tutorial works at your end. If it works, the cause probably doesn't lie in the environment. Then you might need to check the model registration process.
Updated:
Additionally, open the related Experiment, select the model and save the run as an ML model. You can save it as a new model with a different name. Then try to load this new model. This might work.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Also had this error. Solution did not remedy.
[{'aliases': {},
'creation_timestamp': 1746808155391,
'description': '',
'last_updated_timestamp': 1746808155391,
'latest_versions': [<ModelVersion: aliases=[], creation_timestamp=1746810862004, current_stage='None', description='', last_updated_timestamp=1746810862004, name='FaultClassification', run_id='c424459f-6b46-4d53-bccb-d391aa105dac', run_link='', source='abfss://[email protected]/A-GUID/artifacts', status='READY', status_message='', tags={}, user_id='', version='3'>],
'name': 'FaultClassification',
'tags': {}}]
If I'm reading the error correctly `RuntimeError: Unable to get model info: No such file or directory: '/tmp/tmpsb213zls/MLmodel'`
It's trying to access a temp directory rather than the path that's in the `source` field? Is that right?