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.

[参考译文] J784S4XEVM:TDA4VH-Q1:[TIDL] SDK 11_01_00_04:TIDL 导入程序在校准期间在 16 位转换中崩溃 (“双重释放或损坏“)

Guru**** 2668435 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1594314/j784s4xevm-tda4vh-q1-tidl-sdk-11_01_00_04-tidl-importer-crashes-in-16-bit-convtranspose-during-calibration-double-free-or-corruption

器件型号: J784S4XEVM

尊敬的团队:

16 位转换在定点校准过程中使用“"崩溃“崩溃 双重释放或损坏(!prev)

下面是错误日志:

Starting program: /mnt/tidl_repo/build/ti-processor-sdk-rtos-j784s4-evm-11_01_00_04/c7x-mma-tidl/ti_dl/utils/tidlModelImport/out/tidl_model_import.out /tmp/pytest-of-sindhuja/pytest-current/test_conv_transpose_ONNX_PC_di0/tidl_import_16bit.txt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
========================= [Model Compilation Started] =========================

Model compilation will perform the following stages:
1. Parsing
2. Graph Optimization
3. Quantization & Calibration
4. Memory Planning

============================== [Version Summary] ==============================

-------------------------------------------------------------------------------
|          TIDL Tools Version          |              11_01_06_00             |
-------------------------------------------------------------------------------
|         C7x Firmware Version         |              11_01_06_00             |
-------------------------------------------------------------------------------

ONNX model (Proto) file      : /tmp/pytest-of-sindhuja/pytest-9/test_conv_transpose_ONNX_PC_di0/test_model.onnx  
TIDL network file            : /tmp/pytest-of-sindhuja/pytest-9/test_conv_transpose_ONNX_PC_di0/tidl_net_16bit.bin  
TIDL IO info file            : /tmp/pytest-of-sindhuja/pytest-9/test_conv_transpose_ONNX_PC_di0/tidl_io_16bit_  
Current ONNX OpSet version   : 16  
============================ [Optimization started] ============================

----------------------------- Optimization Summary -----------------------------
-----------------------------------------------------------------------------
|        Layer       | Nodes before optimization | Nodes after optimization |
-----------------------------------------------------------------------------
| TIDL_Deconv2DLayer |                         1 |                        1 |
-----------------------------------------------------------------------------

Total nodes in subgraph: 3

=========================== [Optimization completed] ===========================

[TIDL Import]  WARNING: Raw data format used is same as inElementType 3, as it was not provided by user 

-------- Running Calibration in Float Mode to Collect Tensor Statistics --------
[Detaching after vfork from child process 254677]
[Detaching after vfork from child process 254679]
[Detaching after vfork from child process 254681]
[Detaching after vfork from child process 254683]
[Detaching after vfork from child process 254685]
[Detaching after vfork from child process 254687]
[Detaching after vfork from child process 254689]
[Detaching after vfork from child process 254691]
[=============================================================================] 100 %

------------------ Fixed-point Calibration Iteration [1 / 1]: ------------------
[Detaching after vfork from child process 254693]
[Detaching after vfork from child process 254695]
[Detaching after vfork from child process 254697]
[Detaching after vfork from child process 254699]
[Detaching after vfork from child process 254701]
[Detaching after vfork from child process 254703]
[Detaching after vfork from child process 254705]
[Detaching after vfork from child process 254707]
[=============================================================================] 100double free or corruption (!prev)
Aborted (core dumped)
[TIDL Import]  ERROR: Failed to run calibration pass, system command returned error: 34304 -- [tidl_import_core.cpp, 700]
[TIDL Import]  ERROR: Failed to run Calibration - Failed in function: tidlRunQuantStatsTool -- [tidl_import_core.cpp, 1803]
[TIDL Import] [QUANTIZATION] ERROR:  - Failed in function: TIDL_quantStatsFixedOrFloat -- [tidl_import_quantize.cpp, 4421]
[TIDL Import] [QUANTIZATION] ERROR:  - Failed in function: TIDL_runIterativeCalibration -- [tidl_import_quantize.cpp, 4748]
[TIDL Import] [QUANTIZATION] ERROR:  - Failed in function: TIDL_import_quantize -- [tidl_import_quantize.cpp, 5678]
[TIDL Import]  ERROR:  - Failed in function: TIDL_import_backend -- [tidl_import_core.cpp, 4730]
[Detaching after vfork from child process 254709]
[Detaching after vfork from child process 254711]
[TIDL Import]  WARNING: 
*****************************************************************************
*     TIDL Import returned with error, model artifacts are not reliable     *
*                   Please resolve the compilation issues                   *
*****************************************************************************

[TIDL Import]  FATAL ERROR: Quantization/NC Pass/Model checker failed -- [tidl_import_main.cpp, 516]
[TIDL Import] Aborting
[Inferior 1 (process 254674) exited with code 01]

 

我附上了下面的伪影供您参考。

test_conv_transpose_ONNX_PC_di0.zip 

如果您需要更多详细信息、请告诉我。

 

谢谢、

Sindhuja.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Sindhuja:

    我将尝试重新创建它。 这之前可以正常工作、但无法在该版本的 SDK 上正常工作? 您是只看到此模型的此问题、还是另一个模型(具有相同参数)也导致了相同的问题?

    我相信可能缺少参数、因此我会检查您的配置并确保它在我这边运行。

    此致、

    Christina

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Christina:

    在相同模型的 SDK 10.1 中未观察到此问题;它专门在 SDK 11_01_00_04 上发生。

    此致、

    Sindhuja.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Sindhuja:

    我能够确认您的问题与我们已知的 16 位 ConvTranspose 编译问题 (Jira - TIDLP-8876) 相匹配、该问题在我们即将发布的 11.2 版本中已有修复。 我还仔细检查了修复以及所有伪影都创建了。

    此致、

    Christina