我目前正在使用对象检测模型效率网,我试图用模型main来评估我的模式,但是得到了错误
Tensor("Detections_Left_Groundtruth_Right/0:0",Tensor("Loss/TargetAssignment/AvgNumGroundtruthBoxesPerImage:0",()、dtype=string)必须来自与Tensor(“Loss/TargetAssignment/AvgNumGroundtruthBoxesPerImage:0”,shape=()、dtype=string(图为FuncGraph(name=cond_true_48273,id=139640549532432)和0x7f0111ca0410>上的
有人能帮我吗?
发布于 2022-06-20 14:23:12
您可以通过正确传递检查点文件路径来修复它,例如:--checkpoint_dir=/checkpoint/ckpt-x,其中x是检查点号。还检查一下这个bug https://github.com/tensorflow/models/pull/5450。对我起作用了。
https://stackoverflow.com/questions/71157737
复制相似问题