From a52f5969798951b42d778910f506dafc20e56c8e Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 16 Dec 2025 03:36:21 +0100 Subject: [PATCH] tf-hailo setup: added permission fix --- wiki/linux/raspberry_pi.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wiki/linux/raspberry_pi.md b/wiki/linux/raspberry_pi.md index a0ff85f..5883215 100644 --- a/wiki/linux/raspberry_pi.md +++ b/wiki/linux/raspberry_pi.md @@ -56,3 +56,16 @@ hailo parser tf hailo optimize --use-random-calib-set hailo compiler ``` + +Note that the user in the Docker container usually uses anothr UID and GID. +To make the volume and files accessible inside the container the IDs of the files in the volume +should be changed accordingly - for example as shown in the following example. +`` is the path that points to the volume +`` is the UID of the Docker user - which can be found using `id -u` (for example `10642`) - +and `` the GID of the Docker user - which can be found using `id -g` (for example `10600`). + +```sh +chown -R : +``` + +After the models have been converted it can be reversed using the systems user UID and GID.