Keras Multilabel Multiclass Individual Tag Accuracy

我怕爱的太早我们不能终老 提交于 2019-12-05 14:49:21

The inputs to K.equal have different data types. I presume that you should cast class_id_preds to float32 or interesting_class_id to int64. If the latter is an integer (otherwise cast the other tensors), this should solve the error:

interesting_class_id = K.cast(interesting_class_id, 'int64')

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!