Skip to content

Custom model on KR260 using 08-tf2_flow tutorial  #113

@mi-heinsch

Description

@mi-heinsch

We were trying to run a customized model on the KR260. But when following the 08-tf2_flow Tutorial the scripts dont seem to work.
When using "source run_all.sh" there is "permission denied", but when using it with sudo before hand: "sudo: source: command not found" So we tried executing the scripts manually but after "sudo python -u images_to_tfrec.py 2>&1 | sudo tee tfrec.log" we only get:

Traceback (most recent call last):
      File "images_to_tfrec.py", line 41, in <module>
      from tqdm import tqdm
ImportError: No module named tqdm

I checked that tqdm is installed with pip install tqdm and the output confirms

Using pip 22.1.2 from /opt/vitis_ai/conda/envs/vitis-ai-tensorflow2/lib/python3.7/site-packages/pip (python 3.7)
Requirement already satisfied: tqdm in /opt/vitis_ai/conda/envs/vitis-ai-tensorflow2/lib/python3.7/site-packages (4.64.0)

Did anyone ran into a similar problem or knows a fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions