File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
vision/automl/edge_container_predict Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3737
3838# The absolute path of the current file. This will locate the model_path when
3939# run docker containers.
40- ROOT_DIR = os .environ .get ('KOKORO_ROOT' , os .path .abspath (os .path .dirname (__file__ )))
40+ ROOT_DIR = os .environ .get (
41+ 'KOKORO_ROOT' , os .path .abspath (os .path .dirname (__file__ )))
4142MODEL_PATH = os .path .join (ROOT_DIR , 'model_path' )
4243
4344IMAGE_FILE_PATH = os .path .join (os .path .dirname (__file__ ), 'test.jpg' )
4445# The cpu docker gcs path is from 'Edge container tutorial'.
45- CPU_DOCKER_GCS_PATH = 'gcr.io/automl-vision-ondevice/gcloud-container-1.12.0:latest'
46+ CPU_DOCKER_GCS_PATH = '{}' .format (
47+ 'gcr.io/automl-vision-ondevice/gcloud-container-1.12.0:latest' )
4648# The path of a sample saved model.
47- SAMPLE_SAVED_MODEL = 'gs://cloud-samples-data/vision/edge_container_predict/saved_model.pb'
49+ SAMPLE_SAVED_MODEL = '{}' .format (
50+ 'gs://cloud-samples-data/vision/edge_container_predict/saved_model.pb' )
4851# Container Name.
4952NAME = 'AutomlVisionEdgeContainerPredictTest'
5053# Port Number.
You can’t perform that action at this time.
0 commit comments