kera-yolo运行到编译阶段loss报错
FIVE9523 opened this issue · comments
FIVE9523 commented
到这一段出错:
textModel.compile(optimizer=adam, loss={'xy_loss':lambda y_true, y_pred:y_pred,
'wh_loss':lambda y_true, y_pred:y_pred,
'confidence_loss':lambda y_true, y_pred:y_pred,
'class_loss':lambda y_true, y_pred:y_pred,
}
)
报错:
ValueError: Unknown entry in loss dictionary: "xy_loss". Only expected the following keys: ['conv2d_134', 'conv2d_142', 'conv2d_150']
想请教下各位前辈怎么解决的
moming975 commented
大佬,你问题解决了吗,我遇到了相同的问题
moming975 commented
大佬,你问题解决了吗,我遇到了相同的问题
找到原因了
from text.keras_yolo3 import yolo_text
text.keras_yolo3文件app和master搞混了,换master的就好了