Commit 29d6267c authored by lindawangg's avatar lindawangg

fixed inference extra normal

parent 767802bb
......@@ -31,6 +31,6 @@ pred =, feed_dict={image_tensor: np.expand_dims(x, axis=0)}
print('Prediction: {}'.format(inv_mapping[pred.argmax(axis=1)[0]]))
print('Normal: {:.3f}, Pneumonia: {:.3f}, Normal: {:.3f}'.format(pred[0][0], pred[0][1], pred[0][2]))
print('Normal: {:.3f}, Pneumonia: {:.3f}, COVID-19: {:.3f}'.format(pred[0][0], pred[0][1], pred[0][2]))
print('Do not use this prediction for self-diagnosis. You should check with your local authorities for the latest advice on seeking medical assistance.')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment