'NoneType' error on trained models (unresolvable error)
Hello, have been struggling with this error for a while now. So the training of the model is fine, working well. However, after training when I try to retrieved the train model from the workspace and make a prediction, sometimes it give me this error. It seems to be related to space remaining on the machine? I am guessing the old models are being over-written and they are gone. But the metrics such as their accuracy or log loss is still showing on the monitoring tab. There are no stackoverflow answers related to this error, can I get any help?
This is the code used to retrieved the saved models.
CURRENT_RUN = Experiment(ws, experiment_name).workspace.get_run(RUNID)
best_run, best_model = CURRENT_RUN.get_output()
Message: object of type 'NoneType' has no len()
InnerException: TypeError: object of type 'NoneType' has no len()
ErrorResponse
{
"error": {
"code": "SystemError",
"message": "Encountered an internal AutoML error. Error Message/Code: PredictionException. Additional Info: PredictionException:\n\tMessage: object of type 'NoneType' has no len()\n\tInnerException: None\n\tErrorResponse \n{\n \"error\": {\n \"message\": \"object of type 'NoneType' has no len()\",\n \"target\": \"CalibratedModel\",\n \"reference_code\": \"CalibratedModel\"\n }\n}",
"details_uri": "https://aka.ms/automltroubleshoot",
"target": "CalibratedModel",
"inner_error": {
"code": "ClientError",
"inner_error": {
"code": "AutoMLInternal"
}
},
"reference_code": "CalibratedModel"
}
}