使用自定义mape损耗时的keras nan损耗我构建了一个简单的lstm网络,并使用costom mape损耗,如下所示: def custom_mape(y_true, y_pred): mapes = K.switch(K.equal ...2024-05-14 已阅读: n次