ValueError: This model has not yet been built. Build the model first by calling `build()` or calling
在使用keras构造lstm模型时遇到的报错,原代码:def build_model():model = Sequential()model.add(Dropout(dropout_rate))model.add(LSTM(units=100,input_shape=(90,7)))model.add(Dropout(dropout_rate)...
原创
2019-11-20 15:01:22 ·
12781 阅读 ·
1 评论