小编Omr*_*riP的帖子

Fitting a Keras model yields error "constant folding failed: Invalid argument: Unsupported type: 21"

I am following the example from https://www.tensorflow.org/alpha/tutorials/load_data/text to load my own dataset and run binary classification on the sentences there (TensorFlow 2.0). The only change I've made to the example is the dataset being used (which I took from https://github.com/UKPLab/emnlp2017-claim-identification/tree/master/src/main/python), and since the labels can be only 0 or 1 I changed the loss function to binary_crossentropy and the optimizer to RMSprop. When fitting the Keras model which is identical to the model proposed in the tutorial, I'm …

python nlp machine-learning keras tensorflow

6
推荐指数
1
解决办法
522
查看次数

标签 统计

keras ×1

machine-learning ×1

nlp ×1

python ×1

tensorflow ×1