I am facing an issue with serving tensorflow models on AWS SageMaker. I have trained the model outside of the SageMaker environment, now I have a savedmodel.pb file and I need to deploy it on a SageMaker endpoint. So I simply zipped the model file and uploaded it to an S3 bucket. Now, when trying to create an endpoint, I get the following error in my Cloudwatch log:
tensorflow_serving/sources/storage_path/file_system_storage_path_source.cc:369] FileSystemStoragePathSource encountered a file-system access error: Could not find base path /opt/ml/model/export/Servo for servable generic_model
I believe SageMaker is looking for the tar.gz to follow a particular directory structure. However, all I have is a .pb file.
variablesfolder next to your.pbfile? - sdcbr