尝试拟合模型时出现错误。
model.fit(X_train, y_train, batch_size=batch_size, epochs=epochs, validation_data=(X_val, y_val), callbacks=callback, class_weight = class_weights)
没有注册任何OpKernel支持这些属性的Op'CudnnRNN'。 注册设备:[CPU],注册内核:
https://github.com/shantanuo/pandas_examples/blob/master/deep_learn/wine_score_using_keras.ipynb
如果这很重要,我正在使用Amazon Sagemaker。