Building-ML-Pipelines / building-machine-learning-pipelines

Code repository for the O'Reilly publication "Building Machine Learning Pipelines" by Hannes Hapke & Catherine Nelson
MIT License
583 stars 250 forks source link

problem while serving with docker container #71

Open sawanjr opened 2 months ago

sawanjr commented 2 months ago

The current trainer script in TFX saves the exported model with an additional directory structure before the saved_model.pb file. This structure includes the model version followed by the format ("serving") which creates a path like: model_path/

However, the Docker container expects the saved_model.pb file to be directly under the model version directory:

model_path/