Skip to content

Commit efb4d65

Browse files
Opset works at version 14 and change ONNX_FILE_PATH to the sac model
1 parent 9d63c98 commit efb4d65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/export.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ The following is a simple example that showcases the full conversion + inference
304304
onnxable_model,
305305
dummy_input,
306306
"my_sac_actor.onnx",
307-
opset_version=12, # because of the outdated tf-js converter you have to use an old opset
307+
opset_version=14, # because of the outdated tf-js converter you have to use an old opset
308308
input_names=["input"],
309309
)
310310
@@ -334,7 +334,7 @@ The following is a simple example that showcases the full conversion + inference
334334
import onnx_tf.backend
335335
import tensorflow as tf
336336
337-
ONNX_FILE_PATH = "ppo_cargame.onnx"
337+
ONNX_FILE_PATH = "my_sac_actor.onnx"
338338
MODEL_PATH = "tf_model"
339339
340340
onnx_model = onnx.load(ONNX_FILE_PATH)

0 commit comments

Comments
 (0)