-
hi, after doing the milestone project 1 and saving the model when I try to predict by loading it, it gives an array of 'nan' of 101 elements. can anyone help me where I have done the mistake? although i follow the exact same process as from course video and GitHub notebook,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey Osprey, I'd check the inputs going into your model, are they the right inputs? Also, I'd step through the code to see where it starts to output different values. Does the model still evaluate correctly? For example, Does the model work correctly before saving? Is there anything else you've tried so far? |
Beta Was this translation helpful? Give feedback.
Hey Osprey,
I'd check the inputs going into your model, are they the right inputs?
Also, I'd step through the code to see where it starts to output different values.
Does the model still evaluate correctly?
For example,
model.evaluate(test_data)
?Does the model work correctly before saving?
Is there anything else you've tried so far?