@@ -119,8 +119,8 @@ def pca_estimator_with_falsy_debug_hook():
119119 pca  =  sagemaker .estimator .Estimator (
120120 PCA_IMAGE ,
121121 role = EXECUTION_ROLE ,
122-  train_instance_count = 1 ,
123-  train_instance_type = 'ml.c4.xlarge' ,
122+  instance_count = 1 ,
123+  instance_type = 'ml.c4.xlarge' ,
124124 output_path = s3_output_location ,
125125 debugger_hook_config  =  False 
126126 )
@@ -298,7 +298,7 @@ def test_training_step_creation_with_debug_hook(pca_estimator_with_debug_hook):
298298 'DebugRuleConfigurations' : [
299299 {
300300 'RuleConfigurationName' : 'Confusion' ,
301-  'RuleEvaluatorImage' : '199566480951 .dkr.ecr.us-east-1.amazonaws.com/sagemaker-debugger-rules:latest' ,
301+  'RuleEvaluatorImage' : '503895931360 .dkr.ecr.us-east-1.amazonaws.com/sagemaker-debugger-rules:latest' ,
302302 'RuleParameters' : {
303303 'rule_to_invoke' : 'Confusion' ,
304304 'category_no' : '15' ,
@@ -449,13 +449,14 @@ def test_training_step_creation_with_framework(tensorflow_estimator):
449449 },
450450 'RoleArn' : EXECUTION_ROLE ,
451451 'HyperParameters' : {
452-  'model_dir' : '"s3://sagemaker/models/tensorflow-job/model"' ,
452+  'checkpoint_path' : '"s3://sagemaker/models/sagemaker-tensorflow/checkpoints"' ,
453+  'evaluation_steps' : '100' ,
453454 'sagemaker_container_log_level' : '20' ,
454-  'sagemaker_enable_cloudwatch_metrics' : 'false' ,
455455 'sagemaker_job_name' : '"tensorflow-job"' ,
456456 'sagemaker_program' : '"tf_train.py"' ,
457457 'sagemaker_region' : '"us-east-1"' ,
458-  'sagemaker_submit_directory' : '"s3://sagemaker/source"' 
458+  'sagemaker_submit_directory' : '"s3://sagemaker/source"' ,
459+  'training_steps' : '1000' ,
459460 },
460461 'TrainingJobName' : 'tensorflow-job' ,
461462 'Tags' : DEFAULT_TAGS_LIST 
@@ -557,7 +558,6 @@ def test_get_expected_model_with_framework_estimator(tensorflow_estimator):
557558 'Environment' : {
558559 'SAGEMAKER_PROGRAM' : 'tf_train.py' ,
559560 'SAGEMAKER_SUBMIT_DIRECTORY' : 's3://sagemaker/tensorflow-job/source/sourcedir.tar.gz' ,
560-  'SAGEMAKER_ENABLE_CLOUDWATCH_METRICS' : 'false' ,
561561 'SAGEMAKER_CONTAINER_LOG_LEVEL' : '20' ,
562562 'SAGEMAKER_REGION' : 'us-east-1' ,
563563 },
0 commit comments