Can't import joblib files to Azure - logstream problem

Harmony 5 Reputation points
2023-11-13T20:26:27.32+00:00

I'm trying to deploy a machine learning model in an Azure Function App in Python. It's saved as a joblilb file, but when I try to import it, it returns only a general fail error.

filepath = '/home/site/wwwroot/my_model.sav'
model = joblib.load(filepath, 'rb')

I'm able to load other files (ie, json), the path seems correct, and all the model dependencies should be installed. The main issue is not being able to get more detailed logs on this specific crash.

Any suggestions?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,027 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.