File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,6 @@ def _load_testing_data(base_dir):
35
35
return x_test , y_test
36
36
37
37
38
- def assert_can_track_sagemaker_experiments ():
39
- in_sagemaker_training = 'TRAINING_JOB_ARN' in os .environ
40
- in_python_three = sys .version_info [0 ] == 3
41
-
42
- if in_sagemaker_training and in_python_three :
43
- import smexperiments .tracker
44
-
45
- with smexperiments .tracker .Tracker .load () as tracker :
46
- tracker .log_parameter ('param' , 1 )
47
- tracker .log_metric ('metric' , 1.0 )
48
-
49
-
50
38
args , unknown = _parse_args ()
51
39
52
40
model = tf .keras .models .Sequential ([
@@ -66,4 +54,3 @@ def assert_can_track_sagemaker_experiments():
66
54
67
55
if args .current_host == args .hosts [0 ]:
68
56
model .save (os .path .join ('/opt/ml/model' , 'my_model.h5' ))
69
- assert_can_track_sagemaker_experiments ()
You can’t perform that action at this time.
0 commit comments