引发ValueErrorTensor“ Detections_Left_Groundtruth_Right / 0:0”,shape =,dtype = string

问题描述

我试图在tensorflow2上训练我的对象检测模型,但出现以下错误

raise ValueError(
ValueError: Tensor("Detections_Left_Groundtruth_Right/0:0",shape=(),dtype=string) must be from the same graph as Tensor("Loss/TargetAssignment/AvgNumGroundtruthBox
esPerImage:0",dtype=string) (graphs are FuncGraph(name=cond_true_31181,id=1177795211808) and <tensorflow.python.framework.ops.Graph object at 0x000001126
93BF400>).

我找不到任何答案。

在收到此错误之前,我不得不修改ops.py更新功能,但我不知道这是否与错误有关。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)