【问题标题】:TypeError: 'AutoTrackable' object is not callableTypeError:“AutoTrackable”对象不可调用
【发布时间】:2021-01-18 21:46:35
【问题描述】:

我正在尝试按照tutorial 对我训练有素的模型进行推理。我正在使用 TF 2.1.0,并且尝试过使用 tf-nightly 2.5.0.dev20201202。 但是当我点击以下行时,我得到了TypeError: 'AutoTrackable' object is not callabledetections = detect_fn(input_tensor)
我知道 'AutoTrackable' object is not callable in Python 存在,但我没有使用 tensorflow 集线器,我不明白答案对我有什么帮助。

谢谢

【问题讨论】:

    标签: tensorflow object-detection


    【解决方案1】:

    尝试使用detect_fn.signatures\['default'](input_tensor)

    【讨论】:

      猜你喜欢
      • 2020-04-15
      • 1970-01-01
      • 2018-12-25
      • 2021-04-15
      • 2011-10-01
      • 2020-11-10
      • 2017-09-09
      • 2016-07-23
      • 2015-03-07
      相关资源
      最近更新 更多