1

I should use Google’s managed ML platform Vertex AI to build an end-to-end machine learning workflow for an internship. Although I completely follow the tutorial, when I run a training job, I see this error message:

Training pipeline failed with error message: There are no files under "gs://dps-fuel-bucket/mpg/model" to copy.

based on the tutorial, we should not have a /model directory in the bucket. And the model should create this directory and save the final result there.

# Export model and save to GCS
model.save(BUCKET + '/mpg/model')

I added this directory but still face this error. Does anybody have any idea, thanks in advance :)

1 Answers1

1

If you're using a pre-built container, ensure that your model artifacts have filenames that exactly match the following examples:

TensorFlow SavedModel: saved_model.pb
scikit-learn: model.joblib or model.pkl
XGBoost: model.bst, model.joblib, or model.pkl

Reference : Vertex-AI Model Import

Ankit
  • 11
  • 4