From e08a6cca74c3304581b5b183d682eb58e5519450 Mon Sep 17 00:00:00 2001 From: Zhu Lin Ch'ng Date: Wed, 6 Sep 2023 00:50:22 +0800 Subject: [PATCH] Update Unit 7 hands-on.mdx onnx v1.12.0 is needed because of protobuf v3.19.6 is used for the setup, later versions of onnx is not compatible. --- units/en/unit7/hands-on.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/units/en/unit7/hands-on.mdx b/units/en/unit7/hands-on.mdx index 94b16d1..51bd1d7 100644 --- a/units/en/unit7/hands-on.mdx +++ b/units/en/unit7/hands-on.mdx @@ -84,6 +84,12 @@ We also need to install pytorch with: pip install torch ``` +As well as the following dependency: + +```bash +pip install onnx==1.12.0 +``` + Finally, you need to install git-lfs: https://git-lfs.com/ Now that it’s installed, we need to add the environment training executable. Based on your operating system you need to download one of them, unzip it and place it in a new folder inside `ml-agents` that you call `training-envs-executables`