bquast / rnn

Recurrent Neural Networks in R
https://qua.st/rnn
73 stars 28 forks source link

Error in if (colMeans(model$error)[epoch] <= min(colMeans(model$error)[1:epoch])) { : missing value where TRUE/FALSE needed #37

Open JRSlotman opened 2 years ago

JRSlotman commented 2 years ago

Hi RNN Team,

I reported this issue on stack overflow but I haven't received any suggestions yet. What should I do to resolve this error?

Trained epoch: 1 - Learning rate: 1
Epoch error: NA
Error in if (colMeans(model$error)[epoch] <= min(colMeans(model$error)[1:epoch])) { : 
  missing value where TRUE/FALSE needed