Error: Create Version Failed. Bad Model Detected With Error: "failed To Load Model: Could Not Load The Model
clf = svm.SVC() # Giving test data as input clf.fit(X_train, y_train) joblib.dump(clf, 'model.joblib') GCP_PROJECT = 'career-banao-project' BUCKET_NAME='career_banao_bucket' MODEL
Solution 1:
Welcome to StackOverflow community! First of all, questions should always start with a context (explain what and where you are trying to do it) and then you can include your procedure or code and particular error / logs. This would help a lot troubleshooting your issue.
As for your error, runtime 1.15 uses scikit-learn 0.20, whereas module "_classes" is found in 0.22 (in 0.20 it is called "classes" (no underscore)).
Try using runtime version 2.1 in order to fix your issue.
Post a Comment for "Error: Create Version Failed. Bad Model Detected With Error: "failed To Load Model: Could Not Load The Model"