2 years ago

#56601

test-img

AHMET HACI

passing an empty array to Keras

I need to predict x_test for LSTM model using this code:

results = regressor_mae.predict(x_test_1[2:1])

but it gave me this error:

UnboundLocalError: local variable 'batch_outputs' referenced before assignment

I searched about it, I found that I have to pass an empty array to Keras. how can I do that? and is there any more information I have to provide?

arrays

keras

predict

0 Answers

Your Answer

Accepted video resources