-
-
Save um4ng-tiw/cec543d6b16ba6f0691122eb1ddeb6fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x,y = test_data_generator.next() | |
pred_array=[] | |
for i in range(10): | |
img = x[i] | |
img = img.reshape(-1,50,50,3) | |
pred_val = model.predict(img) | |
if(pred_val > 0.5): | |
pred_val = 1 | |
else: | |
pred_val = 0 | |
pred_array.append(pred_val) | |
print("Predicted Values:", pred_array) | |
print("Actual Values:", y[:10]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment