TensorFlow2.0保存模型参数时报错的解决办法
TensorFlow2.0保存模型参数时报错的解决办法NotImplementedError: Layers with arguments in __init__ must override get_config.在Tensorflow2.0保存模型时,通常用model.save语句保存模型model.save("./saver/model_mnist.h5")有时会出现下面这样的错误,报错信息很长只截取了上下部分Traceback (most recent call last): File
原创
2020-12-20 22:47:55 ·
12611 阅读 ·
11 评论