Error with Model Zoo compile/optimize

I’ve been trying to follow this tutorial:

and been having difficulties during the compile/optimize.

The first error I got was
" FileNotFoundError: Couldn’t find dataset in /home/seansamu/.hailomz/data/models_files/coco/2021-06-18/coco_calib2017.tfrecord. Please refer to docs/DATA.rst.

and in the directory I found a 2023-08-03 folder, so I tried to solve the error by creating a 2021-06-18 folder with the same datasets in the 2023 folder. This led to the following error:

hailo_sdk_client.sdk_backend.sdk_backend_exceptions.AllocatorScriptParserException: Post-process config file isn’t found in /home/seansamu/Projects/hailo/hailo_env/lib/python3.10/site-packages/hailo_model_zoo/cfg/alls/generic/…/…/postprocess_config/yolov8n_nms_config.json. Please make sure the given path is relative to the .alls file location, or it is a global path.

Any guidance on what is going wrong or what I could do to fix it would be helpful!

Hey @seansamu.code ,

You need to locate the .alls file and ensure that the directory structure you create maintains the same relative path as shown in the tutorial. This means that the paths specified inside the .alls file should match the relative directory structure outside the file, even if they’re not in the exact same location.

Hi @seansamu.code,

As the error states, a calibration dataset is needed but couldn’t be found. This calibration dataset is needed for the collection of statistics for the optimization step, you can read more about it in our documentation.

You can pass a directory of images to the hailomz tool with the flag --calib-path