When using mectrics in model.compile in keras, report ValueError: ('Unknown metric function', ':f1score')

前端 未结 2 2012
一生所求
一生所求 2021-02-09 17:29

I\'m trying to run a LSTM, and when I use the code below:

model.compile(optimizer=\'rmsprop\', loss=\'binary_crossentropy\',
              metrics=[\'accuracy\',         


        
2条回答
  •  天涯浪人
    2021-02-09 18:00

    K.epsilon() works well in this code. You can use this in the definition of c1, c2, and c3.

提交回复
热议问题