File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ The Cortex cluster may be configured by providing a configuration file to `corte
77``` yaml
88# cluster.yaml
99
10- # AWS credentials (if not specified, ~/.aws/credentials will be checked) (can be overriden by $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY)
10+ # AWS credentials (if not specified, ~/.aws/credentials will be checked) (can be overridden by $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY)
1111aws_access_key_id : ***
1212aws_secret_access_key : ***
1313
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ def predict(sample, metadata):
127127
128128The following packages have been pre-installed and can be used in your implementations :
129129
130- ` ` `
130+ ` ` ` text
131131Keras==2.3.1
132132Pillow==6.2.1
133133cloudpickle==1.2.2
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import tensorflow as tf
88
99...
1010
11- OUPUT_DIR = " bert"
11+ OUTPUT_DIR = " bert"
1212estimator = tf.estimator.Estimator(model_fn = model_fn... )
1313
1414# TF Serving requires a special input_fn used at serving time
@@ -22,7 +22,7 @@ def serving_input_fn():
2222 }
2323 return tf.estimator.export.ServingInputReceiver(features = features, receiver_tensors = inputs)
2424
25- estimator.export_savedmodel(OUPUT_DIR , serving_input_fn, strip_default_attrs = True )
25+ estimator.export_savedmodel(OUTPUT_DIR , serving_input_fn, strip_default_attrs = True )
2626```
2727
2828Upload the checkpoint directory to Amazon S3 using the AWS web console or CLI:
You can’t perform that action at this time.
0 commit comments