kl520_get_model_info not working

Hi, I am trying to retrieve which model is uploaded to the dongle.

I uploaded an existing model as follows:

Now I used the get_model_info example and I get:

As you can see "Total model" is equal to 0 while it should be 1. I tested this procedure both on a VM running Ubuntu and on a Linux real machine.

Any idea on how to make it work? I would like to get the model id in order to decide whether I should upload a different model or not.

Thank you.

Comments

  • Hi Paolo,

    The issue was caused by the scpu fw error with the binary fw_scpu.bin in folder age_gender.

    Please copy the "fw_scpu.bin" in /host_lib_v0.9.0-early/app_binaries/KL520/tiny_yolo_v3 into /host_lib_v0.9.0-early/app_binaries/KL520/ota/ready_to_load, and use the example "/kl520_update_fw.exe 1" to update fw_scpu.

    You can get model info again and would get return values as following


  • Perfect, it works. Thank you.

The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.