From a79a7c51d13d87f2d668f96e3a4a51a37b94068c Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 3 Jul 2025 08:13:15 +0100 Subject: [PATCH] imx500: Swap pytorch/tf tab ordering. Pytorch is preferred. --- .../ai-camera/model-conversion.adoc | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/documentation/asciidoc/accessories/ai-camera/model-conversion.adoc b/documentation/asciidoc/accessories/ai-camera/model-conversion.adoc index 3465a6d36..f449476c6 100644 --- a/documentation/asciidoc/accessories/ai-camera/model-conversion.adoc +++ b/documentation/asciidoc/accessories/ai-camera/model-conversion.adoc @@ -26,21 +26,21 @@ The Edge-MDT package takes a parameter to select between installing the PyTorch [tabs] ====== -TensorFlow:: +PyTorch:: + [source,console] ---- -$ pip install edge-mdt[tf] +$ pip install edge-mdt[pt] ---- -+ -TIP: Always use the same version of TensorFlow you used to compress your model. -PyTorch:: +TensorFlow:: + [source,console] ---- -$ pip install edge-mdt[pt] +$ pip install edge-mdt[tf] ---- ++ +TIP: Always use the same version of TensorFlow you used to compress your model. ====== If you need to install both packages, use two separate Python virtual environments. This prevents TensorFlow and PyTorch from causing conflicts with each other. @@ -62,18 +62,18 @@ To convert a model model: [tabs] ====== -TensorFlow:: +PyTorch:: + [source,console] ---- -$ imxconv-tf -i -o +$ imxconv-pt -i -o ---- -PyTorch:: +TensorFlow:: + [source,console] ---- -$ imxconv-pt -i -o +$ imxconv-tf -i -o ---- ======