导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    V851 pegasua转换tflite模型失败

    V Series
    1
    1
    61
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • R
      running LV 2 最后由 编辑

      running@ubuntu:/home/work/test/yamnet$ pegasus import tflite --model yamnet.tflite --output-model yamnet.json --output-data yamnet.data
      2025-08-12 20:31:47.702054: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/work/VeriSilicon/acuity-toolkit-binary-6.6.1/bin/acuitylib
      2025-08-12 20:31:47.702093: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
      D Get binary package acuity_path [/home/work/VeriSilicon/acuity-toolkit-binary-6.6.1/bin]
      I Namespace(feed_const_inputs=None, import='tflite', input_size_list=None, inputs=None, model='yamnet.tflite', output_data='yamnet.data', output_model='yamnet.json', outputs=None, size_with_batch=None, which='import')
      I Start importing tflite...
      W Unsupport attribute fold_const_inputs
      I Model: yamnet
      I Version: 3
      I Description: MLIR Converted.
      I Subgraphs: 1
      D Get binary package acuity_path [/home/work/VeriSilicon/acuity-toolkit-binary-6.6.1/bin]
      D Convert layer shape
      D Convert layer strided_slice
      D Convert layer maximum
      D Convert layer sub
      D Convert layer cast
      D Convert layer div
      D Convert layer ceil
      D Convert layer cast
      D Convert layer mul
      D Convert layer sub
      D Convert layer sub
      D Convert layer maximum
      D Convert layer add
      D Convert layer pack
      D Convert layer pack
      D Convert layer pad
      W Tensor b'yamnet_frames/tf_op_layer_Pad_2/paddings/Pad_2/paddings;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Pad_2/paddings/Pad_2/paddings' has no buffer, init to zeros.
      D Convert layer shape
      D Convert layer zeros_like
      D Convert layer split_v
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_split_2/split_2;StatefulPartitionedCall/yamnet_frames/tf_op_layer_split_2/split_21' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_8/Reshape_8;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_8/Reshape_8' has no buffer, init to zeros.
      D Convert layer floor_div
      D Convert layer mul
      D Convert layer pack
      D Convert layer pack
      D Convert layer sub
      D Convert layer floor_div
      D Convert layer add
      D Convert layer maximum
      D Convert layer range
      D Convert layer mul
      D Convert layer pack
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_Mul_8/Mul_8;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Mul_8/Mul_8' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_10/Reshape_10;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_10/Reshape_10' has no buffer, init to zeros.
      D Convert layer add
      D Convert layer pack
      D Convert layer strided_slice
      W Tensor b'yamnet_frames/tf_op_layer_ZerosLike_2/ZerosLike_2;StatefulPartitionedCall/yamnet_frames/tf_op_layer_ZerosLike_2/ZerosLike_2' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_concat_6/values_1/concat_6/values_1;StatefulPartitionedCall/yamnet_frames/tf_op_layer_concat_6/values_1/concat_6/values_1' has no buffer, init to zeros.
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_StridedSlice_2/StridedSlice_2;StatefulPartitionedCall/yamnet_frames/tf_op_layer_StridedSlice_2/StridedSlice_2' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_9/Reshape_9;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_9/Reshape_9' has no buffer, init to zeros.
      D Convert layer gather
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_GatherV2_2/GatherV2_2;StatefulPartitionedCall/yamnet_frames/tf_op_layer_GatherV2_2/GatherV2_2;yamnet_frames/tf_op_layer_split_3/split_3/split_dim;StatefulPartitionedCall/yamnet_frames/tf_op_layer_split_3/split_3/split_dim' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_11/Reshape_11;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_11/Reshape_11' has no buffer, init to zeros.
      D Convert layer mul
      D Convert layer shape
      D Convert layer strided_slice
      D Convert layer sub
      D Convert layer floor_div
      D Convert layer sub
      D Convert layer pack
      D Convert layer pack
      D Convert layer pad
      W Tensor b'yamnet_frames/tf_op_layer_Pad_3/paddings/Pad_3/paddings;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Pad_3/paddings/Pad_3/paddings' has no buffer, init to zeros.
      D Convert layer fully_connected
      D Convert layer mul
      D Convert layer fully_connected
      D Convert layer mul
      D Convert layer add
      D Convert layer sqrt
      D Convert layer fully_connected
      D Convert layer log
      D Convert layer shape
      D Convert layer zeros_like
      D Convert layer split_v
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_split_3/split_3;StatefulPartitionedCall/yamnet_frames/tf_op_layer_split_3/split_31' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_12/Reshape_12;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_12/Reshape_12' has no buffer, init to zeros.
      D Convert layer floor_div
      D Convert layer mul
      D Convert layer pack
      D Convert layer pack
      D Convert layer sub
      D Convert layer floor_div
      D Convert layer add
      D Convert layer maximum
      D Convert layer range
      D Convert layer mul
      D Convert layer pack
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_Mul_13/Mul_13;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Mul_13/Mul_13' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_14/Reshape_14;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_14/Reshape_14' has no buffer, init to zeros.
      D Convert layer add
      D Convert layer pack
      D Convert layer concatenation
      D Convert layer concatenation
      D Convert layer concatenation
      D Convert layer strided_slice
      W Tensor b'yamnet_frames/tf_op_layer_ZerosLike_3/ZerosLike_3;StatefulPartitionedCall/yamnet_frames/tf_op_layer_ZerosLike_3/ZerosLike_3' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_concat_9/concat_9;StatefulPartitionedCall/yamnet_frames/tf_op_layer_concat_9/concat_9' has no buffer, init to zeros.
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_StridedSlice_3/StridedSlice_3;StatefulPartitionedCall/yamnet_frames/tf_op_layer_StridedSlice_3/StridedSlice_31' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_13/Reshape_13;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_13/Reshape_13' has no buffer, init to zeros.
      D Convert layer gather
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_GatherV2_3/GatherV2_3;StatefulPartitionedCall/yamnet_frames/tf_op_layer_GatherV2_3/GatherV2_3;yamnet_frames/tf_op_layer_split_3/split_3/split_dim;StatefulPartitionedCall/yamnet_frames/tf_op_layer_split_3/split_3/split_dim' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/tf_op_layer_Reshape_15/Reshape_15;StatefulPartitionedCall/yamnet_frames/tf_op_layer_Reshape_15/Reshape_15' has no buffer, init to zeros.
      D Convert layer shape
      D Convert layer strided_slice
      D Convert layer pack
      D Convert layer reshape
      W Tensor b'yamnet_frames/tf_op_layer_GatherV2_3/GatherV2_3;StatefulPartitionedCall/yamnet_frames/tf_op_layer_GatherV2_3/GatherV2_3;yamnet_frames/tf_op_layer_split_3/split_3/split_dim;StatefulPartitionedCall/yamnet_frames/tf_op_layer_split_3/split_3/split_dim' has no buffer, init to zeros.
      W Tensor b'yamnet_frames/reshape_1/Reshape;StatefulPartitionedCall/yamnet_frames/reshape_1/Reshape' has no buffer, init to zeros.
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer depthwise_conv_2d
      D Convert layer conv_2d
      D Convert layer mean
      D Convert layer fully_connected
      D Convert layer logistic
      E Invalid tensor id(1), tensor(@yamnet_frames/tf_op_layer_Pad_2/paddings/Pad_2/paddings_StatefulPartitionedCall/yamnet_frames/tf_op_layer_Pad_2/paddings/Pad_2/paddings_15:out0)
      W ----------------Error(1),Warning(25)----------------
      Traceback (most recent call last):
      File "pegasus.py", line 131, in <module>
      File "pegasus.py", line 112, in main
      File "acuitylib/app/importer/commands.py", line 226, in execute
      File "acuitylib/vsi_nn.py", line 103, in load_tflite
      File "acuitylib/app/importer/import_tflite.py", line 26, in run
      File "acuitylib/converter/lite/tfliteloader.py", line 87, in load
      File "acuitylib/converter/lite/tfliteloader.py", line 621, in parse
      File "acuitylib/converter/lite/tfliteloader.py", line 543, in _build_connections
      File "acuitylib/layer/acuitylayer.py", line 242, in add_input
      File "acuitylib/layer/acuitylayer.py", line 44, in add
      File "acuitylib/acuitylog.py", line 259, in e
      acuitylib.acuityerror.AcuityError: ('Invalid tensor id(1), tensor(@yamnet_frames/tf_op_layer_Pad_2/paddings/Pad_2/paddings_StatefulPartitionedCall/yamnet_frames/tf_op_layer_Pad_2/paddings/Pad_2/paddings_15:out0)', None)
      [3570] Failed to execute script 'pegasus' due to unhandled exception!
      running@ubuntu:/home/work/test/yamnet$

      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策