gpt4 book ai didi

tensorflow - 对象检测 API 断言失败 : [maximum box coordinate value is larger than 1. 01: ] 中的 resnet 模型

转载 作者:行者123 更新时间:2023-12-03 10:02:54 25 4
gpt4 key购买 nike

我正在使用 Tensorflow 的 Object Detection API ,但在训练时出现以下错误:

InvalidArgumentError (see above for traceback): assertion failed: [maximum box coordinate value is larger than 1.01: ] [1.47]



当我使用以下任何一项时,我收到错误消息:
  • fast_rcnn_inception_resnet_v2_atrous_coco
  • rfcn_resnet101_coco

  • 但不是当我使用:
  • ssd_inception_v2_coco
  • ssd_mobilenet_v1_coco

  • 我的训练图像是 300x300 和 450x450 像素的混合。我不相信我的任何边界框都在图像坐标之外。即使是这种情况,为什么最后两个模型可以工作,而 resnet 模型却不能?

    最佳答案

    在查看我的原始边界框数据后,结果发现有一些随机实例,其中边界框坐标要么有非常大的数字,要么有负数(不确定这是如何开始的)。我删除了这些,现在训练任何模型都没有问题。

    关于tensorflow - 对象检测 API 断言失败 : [maximum box coordinate value is larger than 1. 01: ] 中的 resnet 模型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46135528/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com