K's changes to fix ROC issue in detect when zip file not passed as model file