This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: Cannot connect to model server!

Part Number: SK-TDA4VM
Other Parts Discussed in Thread: TDA4VM,

Hello,

We are currently starting to work with the TDA4VM starter kit J721EXSKG01EVM. 

Since we have to make some modifications on the sensor.c files, we are following the Development flow stated here: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-sk-tda4vm/latest/exports/docs/development_flow.html#pub-edgeai-sdk-development-flow

We are able to go through each step of the process (Skipping "Getting PSDK LINUX" and "Building the LINUX SDK from source" since we only want to modify sensor.c files on RTOS).

Despite that, when we try to download the recommended set of models, we get an error:

/media/<user-name>/rootfs/opt/edge_ai_apps#sudo ./download_models.sh --recommended

ERROR: Cannot connect to model server!

When we don't use sudo permissions:


/media/<user-name>/rootfs/opt/edge_ai_apps# ./download_models.sh --recommended

./download_models.sh: line 55: ../model_zoo//unsupported_models.txt: Permission denied

ERROR: Cannot connect to model server!

How can we download the recommended models to the SD card?

Best regards,

  • Hi David,

    Could you try running the script directly on the SK-TDA4VM board? The script should run on PC as well, but it was mainly designed to run on the board.

    If it still does not work, could you try directly running the wget commands in your Linux terminal and share any error messages:

    wget --proxy off https://software-dl.ti.com/jacinto7/esd/modelzoo/gplv3/08_02_00_11/edgeai-yolov5/pretrained_models/modelartifacts/8bits/"artifacts.csv"

    Regards,

    Takuma

  • Hello, 

    Running the script directly on the board returns the same error. But when we directly run the wget commands it seems that we can run the script after it downloads "artifacts.csv":

    root@tda4vm-sk:/opt/edge_ai_apps# wget --proxy off https://software-dl.ti.com/jac

    cinto7/esd/modelzoo/gplv3/08_02_00_11/edgeai-yolov5/pretrained_models/modelartifa

    acts/8bits/"artifacts.csv"

     

    Connecting to software-dl.ti.com (23.223.102.11:443)

     

    Connecting to www.ti.com (37.26.118.194:443)

     

    Connecting to software-dl.ti.com (104.83.32.227:443)

     

    Connecting to downloads.ti.com (23.214.211.33:443)

     

    saving to 'artifacts.csv'

     

     

    artifacts.csv        100% |********************************|  1162  0:00:00 ETA

     

    'artifacts.csv' saved

     

    root@tda4vm-sk:/opt/edge_ai_apps#

     

    root@tda4vm-sk:/opt/edge_ai_apps# wget --proxy off https://software-dl.ti.com/jac

    cinto7/esd/modelzoo/gplv3/i_apps# ./download_models.sh --recommended

    a

    acts/8bits/"artifacts.csv"

     

    root@tda4vm-sk:/opt/edge_ai_apps# ./download_models.sh --recommended

     

    Models downloaded to /opt/model_zoo

     

    root@tda4vm-sk:/opt/edge_ai_apps#

    Thank you,

    David