Tool/software:
Hello.
I am using edgeai-modelmaker. And I followed the step in README.
When I handling the Step 3, console showed me SUCCESS, but the model I compiled cannot work successfully.
So I checked the run.log which is generated by this tool, then I found some errors.
What shoud I do?
※The run.log is attached.
The pip information maybe useful, I atattch it as pip.txt.
※The pip.tx is attached.
commandline:
./run_modelmaker.sh TDA4VM config_detection.yaml > command.log
※The command.log is attached.
To repeat my errors,
put my 20240604-111044_yolox_nano_lite_onnxrt_TDA4VM.tar.gz into the board, and unzip it
※The 20240604-111044_yolox_nano_lite_onnxrt_TDA4VM.tar.gz is attached.
root@tda4vm-sk:/opt/edgeai-gst-apps/apps_python# ls /opt/model_zoo/custom_model/
artifacts config.yaml dataset.yaml model param.yaml run.log
Edit the /opt/edgeai-gst-apps/configs/object_detection.yaml
※The object_detection.yaml is attached as object_detection.yaml.txt because the limit of file type when uploading
Then run:
root@tda4vm-sk:/opt/edgeai-gst-apps/apps_python# python3 app_edgeai.py ../configs/object_detection.yaml
libtidl_onnxrt_EP loaded 0x27433e70
Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes - 283
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=5) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
596100.197813 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
596100.198001 s: VX_ZONE_INIT:Enabled
596100.198047 s: VX_ZONE_ERROR:Enabled
596100.198772 s: VX_ZONE_WARNING:Enabled
596100.199339 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
596100.199471 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
596100.199553 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
596100.199643 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
596100.199655 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
596100.200244 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
596100.215100 s: VX_ZONE_ERROR:[ownContextSendCmd:875] Command ack message returned failure cmd_status: -1
596100.215149 s: VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node TIDLNode
596100.215167 s: VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core
596100.215184 s: VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
596100.215203 s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.tidl:1:2 ... failed !!!
596100.215225 s: VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed
596100.215243 s: VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed
TIDL_RT_OVX: ERROR: Verifying TIDL graph ... Failed !!!
TIDL_RT_OVX: ERROR: Verify OpenVX graph failed
[ERROR] Flow output resolution can not be greater than input resolution
596100.253998 s: VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
596100.258457 s: VX_ZONE_INIT:[tivxDeInitLocal:204] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 8 alloc's of 9687228 bytes
DDR_SHARED_MEM: Free's : 8 free's of 9687228 bytes
DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
command.log20240604-111044_yolox_nano_lite_onnxrt_TDA4VM.tar.gz
title: "Object Detection"
log_level: 2
inputs:
input1:
source: /opt/edgeai-test-data/videos/video0_1280_768.h264
format: h264
width: 1280
height: 768
framerate: 30
loop: True
models:
model2:
model_path: /opt/model_zoo/custom_model
viz_threshold: 0.6
outputs:
output3:
sink: remote
width: 1920
height: 1080
port: 8081
host: 127.0.0.1
encoding: jpeg
overlay-perf-type: graph
output0:
sink: kmssink
width: 1920
height: 1080
overlay-perf-type: graph
flows:
flow0: [input1,model2,output3]
absl-py==2.1.0 addict==2.4.0 appdirs==1.4.4 asgiref==3.8.1 attr==0.3.1 attrs==23.2.0 azure-core==1.30.1 azure-storage-blob==12.20.0 bleach==5.0.1 boto==2.49.0 boto3==1.16.63 botocore==1.19.63 boxing==0.1.4 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 charset-normalizer==3.3.2 click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 coloredlogs==15.0.1 contourpy==1.2.1 cryptography==42.0.7 cycler==0.12.1 Cython==3.0.10 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distro==1.9.0 Django==3.2.20 django-annoying==0.10.6 django-cors-headers==3.6.0 django-debug-toolbar==3.2.1 django-environ==0.10.0 django-extensions==3.1.0 django-filter==2.4.0 django-model-utils==4.1.1 django-ranged-fileresponse==0.1.2 django-rq==2.5.1 django-storages==1.12.3 django-user-agents==0.4.0 djangorestframework==3.13.1 dlr @ https://software-dl.ti.com/jacinto7/esd/tidl-tools/09_02_06_00/OSRT_TOOLS/X86_64_LINUX/UBUNTU_22_04/dlr-1.13.0-py3-none-any.whl#sha256=f2a6f2814c60ceb2d2aa2de92714f559dc10d16919b7dbc73f733e7605f93176 drf-dynamic-fields==0.3.0 drf-flex-fields==0.9.5 drf-generators==0.3.0 -e git+https://gitclone.com/github.com/TexasInstruments/edgeai-tensorlab@9d595574ee4eeebb145a56376ac91a60c68d7873#egg=edgeai_benchmark&subdirectory=edgeai-benchmark -e git+https://gitclone.com/github.com/TexasInstruments/edgeai-tensorlab@9d595574ee4eeebb145a56376ac91a60c68d7873#egg=edgeai_modelmaker&subdirectory=edgeai-modelmaker edgeai-torchmodelopt @ git+https://github.com/TexasInstruments/edgeai-modeloptimization.git@c6958abce6a177d90add2b21bedd1f8b77c44354#subdirectory=torchmodelopt -e git+https://gitclone.com/github.com/TexasInstruments/edgeai-tensorlab@9d595574ee4eeebb145a56376ac91a60c68d7873#egg=edgeai_xvision&subdirectory=edgeai-torchvision/references/edgeailite exceptiongroup==1.2.1 expiringdict==1.2.2 filelock==3.14.0 flatbuffers==1.12 fonttools==4.51.0 google-api-core==2.11.0 google-auth==2.14.1 google-auth-oauthlib==0.4.6 google-cloud-appengine-logging==1.1.0 google-cloud-audit-log==0.2.0 google-cloud-core==2.3.2 google-cloud-logging==2.7.2 google-cloud-storage==2.5.0 google-crc32c==1.5.0 google-resumable-media==2.3.3 googleapis-common-protos==1.56.4 graphviz==0.20.3 grpc-google-iam-v1==0.12.4 grpcio==1.64.0 grpcio-status==1.48.2 h5py==3.11.0 htmlmin==0.1.12 humanfriendly==10.0 humansignal-drf-yasg==1.21.9 idna==3.7 ijson==3.2.3 imageio==2.34.1 importlib_metadata==7.1.0 inflection==0.5.1 iniconfig==2.0.0 isodate==0.6.1 Jinja2==3.1.4 jmespath==0.10.0 joblib==1.4.2 json-tricks==3.17.3 jsonschema==3.2.0 kiwisolver==1.4.5 label-studio==1.9.0 label-studio-converter==0.0.55 label-studio-tools==0.0.4 launchdarkly-server-sdk==7.5.0 lazy_loader==0.4 lockfile==0.12.2 loguru==0.7.2 lxml==5.2.2 Markdown==3.6 markdown-it-py==3.0.0 MarkupSafe==2.1.5 matplotlib==3.9.0 mdurl==0.1.2 mmcv-full==1.4.8 -e git+https://gitclone.com/github.com/TexasInstruments/edgeai-tensorlab@9d595574ee4eeebb145a56376ac91a60c68d7873#egg=mmdet&subdirectory=edgeai-mmdetection mpmath==1.3.0 munkres==1.1.4 networkx==3.3 ninja==1.11.1.1 nltk==3.6.7 numpy==1.23.0 oauthlib==3.2.2 onnx==1.13.0 onnx-simplifier==0.4.10 onnxruntime-tidl @ https://software-dl.ti.com/jacinto7/esd/tidl-tools/09_02_06_00/OSRT_TOOLS/X86_64_LINUX/UBUNTU_22_04/onnxruntime_tidl-1.14.0-cp310-cp310-linux_x86_64.whl#sha256=4f3fe7407a7892bea916f63d796f25fa4062f519a92863ebc6da02ba3f5c657d onnxsim==0.4.36 opencv-python==4.9.0.80 opencv-python-headless==4.9.0.80 ordered-set==4.0.2 osrt-model-tools @ git+https://github.com/TexasInstruments/edgeai-tidl-tools.git@196a4f1258e289ad08058c8db8251d7f3ca85f71#subdirectory=scripts packaging==24.0 pandas==2.2.2 Pillow==9.3.0 Pillow-SIMD==9.0.0.post1 platformdirs==4.2.2 pluggy==1.5.0 plyfile==0.7.4 progiter==2.0.0 progressbar==2.5 proto-plus==1.23.0 protobuf==3.20.2 psutil==5.9.8 psycopg2-binary==2.9.6 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycocotools==2.0.7 pycparser==2.22 pydantic==1.10.15 Pygments==2.18.0 pyparsing==3.1.2 pyRFC3339==1.1 pyrsistent==0.20.0 pytest==8.2.1 python-dateutil==2.9.0.post0 python-json-logger==2.0.4 pytz==2022.7.1 PyYAML==6.0.1 redis==3.5.3 regex==2024.5.15 requests==2.31.0 requests-oauthlib==2.0.0 rich==13.7.1 rq==1.10.1 rsa==4.9 rules==2.2 s3transfer==0.3.7 scikit-image==0.23.2 scikit-learn==1.5.0 scipy==1.13.1 seaborn==0.11.2 semver==2.13.0 sentry-sdk==2.3.1 six==1.16.0 sqlparse==0.5.0 sympy==1.12 tabulate==0.9.0 tensorboard==2.11.2 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.1 terminaltables==3.1.10 tflite==2.10.0 tflite-runtime @ https://software-dl.ti.com/jacinto7/esd/tidl-tools/09_02_06_00/OSRT_TOOLS/X86_64_LINUX/UBUNTU_22_04/tflite_runtime-2.8.2-cp310-cp310-linux_x86_64.whl#sha256=a5bf53a437f48324a61c6f315c1fdb79cde7d8ec87689c1efa8f14f621152b0d thop==0.1.1.post2209072238 threadpoolctl==3.5.0 tifffile==2024.5.22 tomli==2.0.1 torch==2.0.1+cpu torchinfo==1.8.0 torchvision==0.15.2+cpu tornado==6.4 tqdm==4.66.4 tvm @ https://software-dl.ti.com/jacinto7/esd/tidl-tools/09_02_06_00/OSRT_TOOLS/X86_64_LINUX/UBUNTU_22_04/tvm-0.12.0-cp310-cp310-linux_x86_64.whl#sha256=7af4695a6c377e34c47c688a1b60329dfcde6db657f2915efaea9b58813009eb typing_extensions==4.12.0 tzdata==2024.1 ua-parser==0.18.0 ujson==5.10.0 uritemplate==4.1.1 urllib3==1.26.16 user-agents==2.2.0 webencodings==0.5.1 Werkzeug==3.0.3 wurlitzer==3.1.0 xmljson==0.2.0 yapf==0.40.0 -e git+https://gitclone.com/github.com/TexasInstruments/edgeai-tensorlab@9d595574ee4eeebb145a56376ac91a60c68d7873#egg=yolox&subdirectory=edgeai-yolox zipp==3.18.2
INFO:20240604-113753: running - od-8200
INFO:20240604-113753: pipeline_config - {'task_type': 'detection', 'dataset_category': 'coco', 'calibration_dataset': <edgeai_benchmark.datasets.modelmaker_datasets.ModelMakerDetectionDataset object at 0x7848bfefb970>, 'input_dataset': <edgeai_benchmark.datasets.modelmaker_datasets.ModelMakerDetectionDataset object at 0x7848f2918070>, 'preprocess': <edgeai_benchmark.preprocess.PreProcessTransforms object at 0x784898e3ac50>, 'session': <edgeai_benchmark.sessions.onnxrt_session.ONNXRTSession object at 0x784898e3acb0>, 'postprocess': <edgeai_benchmark.postprocess.PostProcessTransforms object at 0x784898e3af50>, 'metric': {'label_offset_pred': 1}, 'model_info': {'metric_reference': {'accuracy_ap[.5:.95]%': None}, 'model_shortlist': 10}}
INFO:20240604-113753: import - od-8200 - this may take some time...
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 1372.75 .... ..... ... .... .....
# 1 . .. T 1353.69 .... ..... ... .... .....
# 2 . .. T 1368.71 .... ..... ... .... .....
# 3 . .. T 1340.36 .... ..... ... .... .....
# 4 . .. T 1332.33 .... ..... ... .... .....
# 5 . .. T 1355.60 .... ..... ... .... .....
# 6 . .. T 1363.89 .... ..... ... .... .....
# 7 . .. T 1358.27 .... ..... ... .... .....
# 8 . .. T 1360.99 .... ..... ... .... .....
# 9 . .. T 1328.45 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 520.74 .... ..... ... .... .....
# 1 . .. T 508.98 .... ..... ... .... .....
# 2 . .. T 520.40 .... ..... ... .... .....
# 3 . .. T 510.23 .... ..... ... .... .....
# 4 . .. T 521.07 .... ..... ... .... .....
# 5 . .. T 509.37 .... ..... ... .... .....
# 6 . .. T 516.73 .... ..... ... .... .....
# 7 . .. T 511.12 .... ..... ... .... .....
# 8 . .. T 510.52 .... ..... ... .... .....
# 9 . .. T 511.61 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 521.54 .... ..... ... .... .....
# 1 . .. T 509.28 .... ..... ... .... .....
# 2 . .. T 510.79 .... ..... ... .... .....
# 3 . .. T 510.01 .... ..... ... .... .....
# 4 . .. T 509.81 .... ..... ... .... .....
# 5 . .. T 512.77 .... ..... ... .... .....
# 6 . .. T 511.57 .... ..... ... .... .....
# 7 . .. T 515.17 .... ..... ... .... .....
# 8 . .. T 508.99 .... ..... ... .... .....
# 9 . .. T 510.94 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 509.84 .... ..... ... .... .....
# 1 . .. T 508.33 .... ..... ... .... .....
# 2 . .. T 507.98 .... ..... ... .... .....
# 3 . .. T 513.50 .... ..... ... .... .....
# 4 . .. T 508.66 .... ..... ... .... .....
# 5 . .. T 517.78 .... ..... ... .... .....
# 6 . .. T 510.58 .... ..... ... .... .....
# 7 . .. T 513.58 .... ..... ... .... .....
# 8 . .. T 513.75 .... ..... ... .... .....
# 9 . .. T 512.76 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 513.77 .... ..... ... .... .....
# 1 . .. T 509.26 .... ..... ... .... .....
# 2 . .. T 514.88 .... ..... ... .... .....
# 3 . .. T 508.51 .... ..... ... .... .....
# 4 . .. T 519.64 .... ..... ... .... .....
# 5 . .. T 508.66 .... ..... ... .... .....
# 6 . .. T 510.75 .... ..... ... .... .....
# 7 . .. T 510.82 .... ..... ... .... .....
# 8 . .. T 508.89 .... ..... ... .... .....
# 9 . .. T 508.28 .... ..... ... .... .....yolox is meta arch name
yolox
Number of OD backbone nodes = 192
Size of odBackboneNodeIds = 192
Preliminary subgraphs created = 1
Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes - 283
Graph Domain TO version : 11TIDL Meta PipeLine (Proto) File : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/model/model.prototxt
yolox
yolox
Warning : Requested Output Data Convert Layer is not Added to the network, It is currently not Optimal
Warning : Requested Output Data Convert Layer is not Added to the network, It is currently not Optimal
************** Frame index 1 : Running float import *************
INFORMATION: [TIDL_ResizeLayer] /neck/upsample/Resize Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
INFORMATION: [TIDL_ResizeLayer] /neck/upsample_1/Resize Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
****************************************************
** 2 WARNINGS 0 ERRORS **
****************************************************
The soft limit is 2048
The hard limit is 2048
MEM: Init ... !!!
MEM: Init ... Done !!!
0.0s: VX_ZONE_INIT:Enabled
0.9s: VX_ZONE_ERROR:Enabled
0.10s: VX_ZONE_WARNING:Enabled
0.4710s: VX_ZONE_INIT:[tivxInit:185] Initialization Done !!!
********** Frame Index 1 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 2 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 3 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 4 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 5 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 6 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 7 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 8 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 9 : Running float inference **********
Graph Domain TO version : 11
********** Frame Index 10 : Running fixed point mode for calibration **********
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 0 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 0 completed ************************
***************** Calibration iteration number 1 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 1 completed ************************
***************** Calibration iteration number 2 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 2 completed ************************
***************** Calibration iteration number 3 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 3 completed ************************
***************** Calibration ite
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 513.30 .... ..... ... .... .....
# 1 . .. T 508.92 .... ..... ... .... .....
# 2 . .. T 510.15 .... ..... ... .... .....
# 3 . .. T 511.18 .... ..... ... .... .....
# 4 . .. T 512.36 .... ..... ... .... .....
# 5 . .. T 517.61 .... ..... ... .... .....
# 6 . .. T 509.62 .... ..... ... .... .....
# 7 . .. T 512.09 .... ..... ... .... .....
# 8 . .. T 509.60 .... ..... ... .... .....
# 9 . .. T 511.74 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 513.99 .... ..... ... .... .....
# 1 . .. T 510.15 .... ..... ... .... .....
# 2 . .. T 512.10 .... ..... ... .... .....
# 3 . .. T 511.35 .... ..... ... .... .....
# 4 . .. T 515.11 .... ..... ... .... .....
# 5 . .. T 511.54 .... ..... ... .... .....
# 6 . .. T 518.69 .... ..... ... .... .....
# 7 . .. T 510.90 .... ..... ... .... .....
# 8 . .. T 509.48 .... ..... ... .... .....
# 9 . .. T 511.21 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 525.72 .... ..... ... .... .....
# 1 . .. T 508.73 .... ..... ... .... .....
# 2 . .. T 508.22 .... ..... ... .... .....
# 3 . .. T 510.48 .... ..... ... .... .....
# 4 . .. T 507.76 .... ..... ... .... .....
# 5 . .. T 509.05 .... ..... ... .... .....
# 6 . .. T 508.69 .... ..... ... .... .....
# 7 . .. T 513.02 .... ..... ... .... .....
# 8 . .. T 507.40 .... ..... ... .... .....
# 9 . .. T 510.77 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 514.55 .... ..... ... .... .....
# 1 . .. T 509.63 .... ..... ... .... .....
# 2 . .. T 511.27 .... ..... ... .... .....
# 3 . .. T 514.48 .... ..... ... .... .....
# 4 . .. T 513.76 .... ..... ... .... .....
# 5 . .. T 512.73 .... ..... ... .... .....
# 6 . .. T 508.84 .... ..... ... .... .....
# 7 . .. T 514.83 .... ..... ... .... .....
# 8 . .. T 513.76 .... ..... ... .... .....
# 9 . .. T 509.66 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 525.33 .... ..... ... .... .....
# 1 . .. T 508.45 .... ..... ... .... .....
# 2 . .. T 509.07 .... ..... ... .... .....
# 3 . .. T 511.64 .... ..... ... .... .....
# 4 . .. T 509.95 .... ..... ... .... .....
# 5 . .. T 508.44 .... ..... ... .... .....
# 6 . .. T 511.87 .... ..... ... .... .....
# 7 . .. T 512.12 .... ..... ... .... .....
# 8 . .. T 509.16 .... ..... ... .... .....
# 9 . .. T 508.25 .... ..... ... .... .....
Processing config file #0 : /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_io_.qunat_stats_config.txt
Freeing memory for user provided Net
----------------------- TIDL Process with REF_ONLY FLOW ------------------------
# 0 . .. T 511.01 .... ..... ... .... .....
# 1 . .. T 511.14 .... ..... ... .... .....
# 2 . .. T 508.89 .... ..... ... .... .....
# 3 . .. T 511.59 .... ..... ... .... .....
# 4 . .. T 509.40 .... ..... ... .... .....
# 5 . .. T 514.80 .... ..... ... .... .....
# 6 . .. T 512.21 .... ..... ... .... .....
# 7 . .. T 515.02 .... ..... ... .... .....
# 8 . .. T 509.90 .... ..... ... .... .....
# 9 . .. T 509.34 .... ..... ... .... .....
------------------ Network Compiler Traces -----------------------------
================================ import model =============
ration number 4 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 4 completed ************************
***************** Calibration iteration number 5 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 5 completed ************************
***************** Calibration iteration number 6 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 6 completed ************************
***************** Calibration iteration number 7 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 7 completed ************************
***************** Calibration iteration number 8 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 8 completed ************************
***************** Calibration iteration number 9 started ************************
Parameters unavailable, running calibration!
~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~
***************** Calibration iteration number 9 completed ************************
Parameters unavailable, running calibration!
Output network quant params prototxt file path: /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_net_quant_params.prototxt
Calibrated Quant Parameters stored in protoTxt format
Could not open /home/arvis/projects/edgeai-tensorlab/edgeai-modelmaker/data/projects/tiscapes2017_driving/run/20240604-111044/yolox_nano_lite/compilation/TDA4VM/work/od-8200/artifacts/tempDir/detslabels_tidl_net/perfSimInfo.bin
INFORMATION: [TIDL_ResizeLayer] /neck/upsample/Resize Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
INFORMATION: [TIDL_ResizeLayer] /neck/upsample_1/Resize Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
WARNING: [TIDL_E_DATAFLOW_INFO_NULL] Network compiler returned with error or didn't executed, this model can only be used on PC/Host emulation mode, it is not expected to work on target/EVM.
****************************************************
** 3 WARNINGS 0 ERRORS **
****************************************************
INFO:20240604-113919: import completed - od-8200 - 86 sec
INFO:20240604-113919: import completed - od-8200 - 86 sec
SUCCESS:20240604-113919: benchmark results - {}
SUCCESS:20240604-113919: benchmark results - {}
INFO:20240604-113919: running - od-8200
INFO:20240604-113919: pipeline_config - {'task_type': 'detection', 'dataset_category': 'coco', 'calibration_dataset': <edgeai_benchmark.datasets.modelmaker_datasets.ModelMakerDetectionDataset object at 0x7848bfefb970>, 'input_dataset': <edgeai_benchmark.datasets.modelmaker_datasets.ModelMakerDetectionDataset object at 0x7848f2918070>, 'preprocess': <edgeai_benchmark.preprocess.PreProcessTransforms object at 0x784898e3ac50>, 'session': <edgeai_benchmark.sessions.onnxrt_session.ONNXRTSession object at 0x784898e3acb0>, 'postprocess': <edgeai_benchmark.postprocess.PostProcessTransforms object at 0x784898e3af50>, 'metric': {'label_offset_pred': 1}, 'model_info': {'metric_reference': {'accuracy_ap[.5:.95]%': None}, 'model_shortlist': 10}}
INFO:20240604-113919: infer - od-8200 - this may take some time...
infer : od-8200 | 0%| || 0/107 [00:00<?, ?it/s]
infer : od-8200 | | 0% 0/107| [< ]
infer : od-8200 | 0%| || 0/107 [00:00<?, ?it/s]
infer : od-8200 | 0%| || 0/107 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/pipelines/pipeline_runner.py", line 203, in _run_pipeline
result = cls._run_pipeline_impl(basic_settings, pipeline_config, description)
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/pipelines/pipeline_runner.py", line 176, in _run_pipeline_impl
accuracy_result = accuracy_pipeline(description)
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/pipelines/accuracy_pipeline.py", line 87, in __call__
param_result = self._run(description=description)
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/pipelines/accuracy_pipeline.py", line 138, in _run
output_list = self._infer_frames(description)
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/pipelines/accuracy_pipeline.py", line 231, in _infer_frames
output, info_dict = postprocess(output, info_dict)
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/utils/transforms_utils.py", line 41, in __call__
tensor, info_dict = t(tensor, info_dict)
File "/home/arvis/projects/edgeai-tensorlab/edgeai-benchmark/edgeai_benchmark/postprocess/transforms.py", line 599, in __call__
self.color_map = info_dict['dataset_info']['color_map']
KeyError: 'color_map'
'color_map'
SUCCESS: ModelMaker - Compilation completed.