Skip to content

Commit 202c583

Browse files
committed
Save model locally instead of S3
1 parent f341864 commit 202c583

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integ/test_tf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def tf_training_job(sagemaker_session, tf_full_version):
3838
framework_version=tf_full_version,
3939
training_steps=1,
4040
evaluation_steps=1,
41+
checkpoint_path='/opt/ml/model',
4142
hyperparameters={'input_tensor_name': 'inputs'},
4243
train_instance_count=1,
4344
train_instance_type='ml.c4.xlarge',
@@ -114,6 +115,7 @@ def test_tf_async(sagemaker_session):
114115
role='SageMakerRole',
115116
training_steps=1,
116117
evaluation_steps=1,
118+
checkpoint_path='/opt/ml/model',
117119
hyperparameters={'input_tensor_name': 'inputs'},
118120
train_instance_count=1,
119121
train_instance_type='ml.c4.xlarge',
@@ -156,6 +158,7 @@ def test_tf_vpc_multi(sagemaker_session, tf_full_version):
156158
framework_version=tf_full_version,
157159
training_steps=1,
158160
evaluation_steps=1,
161+
checkpoint_path='/opt/ml/model',
159162
hyperparameters={'input_tensor_name': 'inputs'},
160163
train_instance_count=instance_count,
161164
train_instance_type=instance_type,

0 commit comments

Comments
 (0)