@@ -60,11 +60,11 @@ See additional documentation for [autoscaling](autoscaling.md), [compute](comput
6060 predictor :
6161 type : tensorflow
6262 path : <string> # path to a python file with a TensorFlowPredictor class definition, relative to the Cortex root (required)
63- model : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model) (either this or 'models' must be provided)
63+ model_path : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model) (either this or 'models' must be provided)
6464 signature_key : <string> # name of the signature def to use for prediction (required if your model has more than one signature def)
65- models : # use this when multiple models per API are desired (either this or 'model ' must be provided)
65+ models : # use this when multiple models per API are desired (either this or 'model_path ' must be provided)
6666 - name : <string> # unique name for the model (e.g. iris-classifier) (required)
67- model : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model) (required)
67+ model_path : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model) (required)
6868 signature_key : <string> # name of the signature def to use for prediction (required if your model has more than one signature def)
6969 ...
7070 config : <string: value> # arbitrary dictionary passed to the constructor of the Predictor (optional)
@@ -113,10 +113,10 @@ See additional documentation for [autoscaling](autoscaling.md), [compute](comput
113113 predictor :
114114 type : onnx
115115 path : <string> # path to a python file with an ONNXPredictor class definition, relative to the Cortex root (required)
116- model : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model.onnx) (either this or 'models' must be provided)
117- models : # use this when multiple models per API are desired (either this or 'model ' must be provided)
116+ model_path : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model.onnx) (either this or 'models' must be provided)
117+ models : # use this when multiple models per API are desired (either this or 'model_path ' must be provided)
118118 - name : <string> # unique name for the model (e.g. iris-classifier) (required)
119- model : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model.onnx) (required)
119+ model_path : <string> # S3 path to an exported model (e.g. s3://my-bucket/exported_model.onnx) (required)
120120 signature_key : <string> # name of the signature def to use for prediction (required if your model has more than one signature def)
121121 ...
122122 config : <string: value> # arbitrary dictionary passed to the constructor of the Predictor (optional)
0 commit comments