Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in running python examples for branch rel_09_02 #83

Open
smzahraee opened this issue Aug 6, 2024 · 0 comments
Open

error in running python examples for branch rel_09_02 #83

smzahraee opened this issue Aug 6, 2024 · 0 comments

Comments

@smzahraee
Copy link

for command source ./scripts/run_python_examples.sh it will stuck on x86 and won't go further

`Processing config file #0 : /media/user/disk1/ti-ai2/edgeai-tidl-tools/model-artifacts/cl-dlr-timm_mobilenetv3_large_100_device_c7x/tempDir/tidl_import_subgraph9.txt.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------

0 . .. T 29.25 .... ..... ... .... .....

1 . .. T 27.15 .... ..... ... .... .....

***************** Calibration iteration number 0 completed ************************

Empty prototxt path, running calibration

------------------ Network Compiler Traces -----------------------------
successful Memory allocation
successful Workload Creation
SUGGESTION: [TIDL_BatchNormLayer] tidl_9_8 16 bits is not optimal in this release.


** 1 WARNINGS 0 ERRORS **


TIDL import of 10 Relay IR subgraphs succeeded.
TIDL artifacts are stored at ../../../model-artifacts/cl-dlr-timm_mobilenetv3_large_100_device_c7x
Building C7x tvm deployable module: generating c files...
Building C7x tvm deployable module: building... (log in c7x_deploy_mod.log)
make SILICON_VERSION=7100 TVM_ROOT=/home/user/.local/lib/python3.10/site-packages/tvm TVM_C7X_ROOT=/home/user/.local/lib/python3.10/site-packages/tvm/src/runtime/contrib/tidl/c7x QUIET= -C /media/user/disk1/ti-ai2/edgeai-tidl-tools/model-artifacts/cl-dlr-timm_mobilenetv3_large_100_device_c7x/tempDir -f /home/user/.local/lib/python3.10/site-packages/tvm/src/runtime/contrib/tidl/c7x/Makefile.c7x_mod -j$(nproc)
Creating Arm wrapper tvm module...
/media/user/disk1/ti-ai2/edgeai-tidl-tools/examples/osrt_python/tvm_dlr/tvm_compilation_timm_example.py:175: DeprecationWarning: legacy graph executor behavior of producing json / lib / params will be removed in the next release. Please see documents of tvm.contrib.graph_executor.GraphModule for the new recommended usage.
graph, lib, params = relay.build_module.build(mod, target=build_target, params=params)
run python3 dlr_inference_example.py

Running Inference on Model - ../../../model-artifacts/cl-dlr-tflite_inceptionnetv3

2024-08-06 09:54:25,200 ERROR error in DLRModel instantiation model_path ../../../model-artifacts/cl-dlr-tflite_inceptionnetv3 doesn't exist
Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/dlr/api.py", line 89, in init
self._impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use_default_dlr)
File "/home/user/.local/lib/python3.10/site-packages/dlr/dlr_model.py", line 65, in init
raise ValueError("model_path %s doesn't exist" % model_path)
ValueError: model_path ../../../model-artifacts/cl-dlr-tflite_inceptionnetv3 doesn't exist
Traceback (most recent call last):
File "/media/user/disk1/ti-ai2/edgeai-tidl-tools/examples/osrt_python/tvm_dlr/dlr_inference_example.py", line 199, in
model_create_and_run(model_output_directory, 'input',
File "/media/user/disk1/ti-ai2/edgeai-tidl-tools/examples/osrt_python/tvm_dlr/dlr_inference_example.py", line 164, in model_create_and_run
model = DLRModel(model_dir, 'cpu')
File "/home/user/.local/lib/python3.10/site-packages/dlr/api.py", line 92, in init
raise ex
File "/home/user/.local/lib/python3.10/site-packages/dlr/api.py", line 89, in init
self._impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use_default_dlr)
File "/home/user/.local/lib/python3.10/site-packages/dlr/dlr_model.py", line 65, in init
raise ValueError("model_path %s doesn't exist" % model_path)
ValueError: model_path ../../../model-artifacts/cl-dlr-tflite_inceptionnetv3 doesn't exist`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant