Open lilmangolil opened 5 years ago
Add tf.reduce_mean. example: before: loss = focal_loss_softmax(flaten_cls_targets, cls_pred) (params['negative_ratio'] + 1.) after: loss = tf.reduce_mean(focal_loss_softmax(flaten_cls_targets, cls_pred) (params['negative_ratio'] + 1.))
InvalidArgumentError (see above for traceback): tags and values not the same shape: [] != [256] ,请问怎样解决?谢谢(^▽^)