I compiled a model for a device (AM62A, AM68A, AM69A, etc.) with edgeai-tidl-tools and compilation did not throw any errors.
I want to evaluate my model on the EVM now, and I see edgeai-gst-apps is the initial directory in the Edge AI SDK. I have setup my YAML configuration file to use the model / artifacts that were compiled.
When I try to run the application, it doesn't start -- it either exits or hangs. When I try to look at the messages printed (using the '-n' option to stop the constant overwriting effect), I see something about a missing key, like this:
root@am62axx-evm:/opt/edgeai-gst-apps# ./apps_python/app_edgeai.py configs/my_config.yaml -n Traceback (most recent call last): File "/opt/edgeai-gst-apps/./apps_python/app_edgeai.py", line 67, in <module> main(sys.argv) File "/opt/edgeai-gst-apps/./apps_python/app_edgeai.py", line 46, in main demo = EdgeAIDemo(config) File "/opt/edgeai-gst-apps/apps_python/edge_ai_class.py", line 105, in __init__ model_obj = ModelConfig(model_path,enable_tidl,core_id) File "/usr/lib/python3.10/site-packages/edgeai_dl_inferer.py", line 247, in __init__ if (params['session']['input_optimization'] == True): KeyError: 'input_optimization'
How do I fix this?