我正在尝试从这样的工件输出文件夹中读取 model.pkl 文件
def init():
global model
# infile = open('model.pkl','rb')
# model = pickle.load(infile)
#model = joblib.load('model.pkl')
model_path = Model.get_model_path(model_name = '<<modelname>>')
model_path="outputs/model.pkl"
# deserialize the model file back into a sklearn model
model = joblib.load(model_path)
但它仍然无法正常工作,请指导我如何从工件输出文件夹中读取 model.pkl 文件,因此它无法部署到 Azure 容器实例中