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.

[参考译文] TIDL tidlmodelimport 问题

Guru**** 2589245 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/638055/tidl-tidlmodelimport-question

您好!

我对生成 TIDL 网络文件有疑问。

下面是我的 prototxt 文件、

第{
 名称:"conv14_mbox_decf_BBOX_anchor0_3"
 类型:"解谱"
 底部:"conv14_2_mbox_conf_BBOX_anchor0_3"
 顶部:"conv14_mbox_decf_BBOX_anchor0_3"
 参数{
   LR_mult:0.0
   DECAY_MUT:0.0
 }
 卷积_param{
   num_output:19.
   BIAS_TERM:false
   焊盘:0
   组:19.
   weight_ciller{
     类型:"常量"
     值:1.0
   }
   kernel_h:1.
   kernel_w:2.
   STRING_h:1.
   STRING_w:2.
 }

错误问题:

[libprotobuf fatal c:\users\user\desktop\otobrite_ahan\otodas\otodl_src_20171101\modules\tidl_utils\protobuf-3.2.0rc2\src\google \protobuf\repled_field.h:1084] check failed:(index)<(index)< current size_大小_检查失败:(index)

如何解决此错误?

阿安

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

    Ahan、  

    此错误由 protobuf 库引起。  当 prototxt 文件中有 某个无法被 proto 文件识别的字段时、就会发生这种情况。 请检查您的 prototxt 文件以了解这一点。 如果您找不到任何缺失的射野、请附加完整的 prototxt、我们将尝试重新生成该问题。

    平路机、

    Kumar.D

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

    关于此错误、

    我发现当我执行函数 TIDL_importDeconvParams()时发生了这种情况,

    关于我的 prototxt 文件、反卷积层、v卷 积_param 仅具有 kernel_w 和 kernel_h、但没有 kernel_size。

    如果我将代码更改为  

    pOrgTIDLNetStructure ->TIDLPCLayers[layerIndex].layerParams.convParams.kernelW       = NetStructure。图层(i).convolution _param()。kernel_w()

    pOrgTIDLNetStructure ->TIDLPCLayers[layerIndex].layerParams.convParams.kernelH    = NetStructure。图层(i).convolution _param()。kernel_h();

    ,错误消失了。

    那么、通过更改上面的两行代码、是否有任何可能的副作用? TIDL 也可以使用非平方内核吗?

    阿安

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Ahan:
    我们尚未使用此配置验证解析。 此外、对于反卷积、stare_w 和 stare_h 应为2。
    此致、
    Kumar.D