Skip to content

YoutubeDNN导出item侧模型失败 #95

@bsns

Description

@bsns

YoutubeDNN导出item侧模型错误,提示

raise AssertionError(
AssertionError: Tried to export a function which references untracked resource Tensor("lambda_1/l2_normalize:0", shape=(209, 16), dtype=float32). TensorFlow objects (e.g. tf.Variable) captured by functions must be tracked by assigning them to an attribute of a tracked object or assigned to an attribute of the main object directly.

Trackable Python objects referring to this tensor (from gc.get_referrers, limited to two hops):

Operating environment(运行环境):

  • python version [3.8]
  • tensorflow version [2.5.0]
  • deepmatch version [e.g. 0.9.1/0.9.3]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions