Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix style in tests #2318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@

# The absolute path of the current file. This will locate the model_path when
# run docker containers.
ROOT_DIR = os.environ.get('KOKORO_ROOT', os.path.abspath(os.path.dirname(__file__)))
ROOT_DIR = os.environ.get(
'KOKORO_ROOT', os.path.abspath(os.path.dirname(__file__)))
MODEL_PATH = os.path.join(ROOT_DIR, 'model_path')

IMAGE_FILE_PATH = os.path.join(os.path.dirname(__file__), 'test.jpg')
# The cpu docker gcs path is from 'Edge container tutorial'.
CPU_DOCKER_GCS_PATH = 'gcr.io/automl-vision-ondevice/gcloud-container-1.12.0:latest'
CPU_DOCKER_GCS_PATH = '{}'.format(
'gcr.io/automl-vision-ondevice/gcloud-container-1.12.0:latest')
# The path of a sample saved model.
SAMPLE_SAVED_MODEL = 'gs://cloud-samples-data/vision/edge_container_predict/saved_model.pb'
SAMPLE_SAVED_MODEL = '{}'.format(
'gs://cloud-samples-data/vision/edge_container_predict/saved_model.pb')
# Container Name.
NAME = 'AutomlVisionEdgeContainerPredictTest'
# Port Number.
Expand Down