Skip to content

Commit 0ccb8dd

Browse files
committed
Update warm up with the new input layer name
1 parent d78f3b6 commit 0ccb8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

training/warm_up.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
predict_request.model_spec.name = "sqli_model"
4949
predict_request.model_spec.signature_name = "serving_default"
5050
if sys.argv[3].lower() == "true":
51-
predict_request.inputs["keras_tensor"].CopyFrom(
51+
predict_request.inputs["keras_tensor_32"].CopyFrom(
5252
tensor_util.make_tensor_proto(query_vec, float32)
5353
)
5454
else:

0 commit comments

Comments
 (0)