Skip to content

Commit be30b94

Browse files
Update documentation/asciidoc/accessories/ai-camera/model-conversion.adoc
1 parent 25af7ef commit be30b94

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

documentation/asciidoc/accessories/ai-camera/model-conversion.adoc

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,28 @@ The Model Compression Toolkit generates a quantised model in the following forma
3434

3535
=== Conversion
3636

37-
First, we must install the necessary converter tools. If you are using TensorFlow, please run
37+
To convert a model, first install the converter tools.
3838

39+
[tabs]
40+
======
41+
TensorFlow::
42+
+
3943
[source,console]
4044
----
41-
pip install imx500-converter[tf]
45+
$ pip install imx500-converter[tf]
4246
----
47+
+
48+
TIP: Always use the same version of TensorFlow you used to compress your model.
4349
44-
TIP: Be careful that you have installed the same version of TensorFlow as you used to compress your model. This avoids problems where the above may install a more recent version of TensorFlow that is not compatible with your model.
45-
46-
or if you are using PyTorch, please run
47-
50+
PyTorch::
51+
+
4852
[source,console]
4953
----
50-
pip install imx500-converter[pt]
54+
$ pip install imx500-converter[pt]
5155
----
56+
======
5257

53-
TIP: If you need to install both these packages, we strongly recommend doing so in separate Python virtual environments (for example, using `python -m venv <virtual-environment-name>`). This avoids any problems with TensorFlow and PyTorch causing conflicts with one another.
58+
If you need to install both packages, use two separate Python virtual environments. This prevents TensorFlow and PyTorch from causing conflicts with one another.
5459

5560
Next, convert the model:
5661

0 commit comments

Comments
 (0)