You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for this wonderful implementation. Not only does it work like a charm, I am learning a lot about how to use Tensorflow effectively 👍
I trained the code with all default on the MNIST dataset, which returned an accuracy of 99.49 %. That great!
I am now trying to classify some of my own handwritten MNIST digits. I have created 15,000 samples, black and white digits, with the same dimensions as MNIST. I created a small function to feed my data into main.py, and eventually got things working.
My problem is that I get a test-accuracy of ~9%, which equates to random guessing on the 10 classes!
For this reason, I would like to get the predicted labels back for each of the images, so that I can try to debug. Is there an easy way to do this? Could you please provide any hints?
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered:
I created a tool to visualize the predicted labels. you can use it directly.
The idea of that tool is get all the predicted labels(10 labels) for each sample, then we get an matrix with shape [num_sample, num_labels]. For each label, plot the point (sample_id, probability) in the R^2 coordinate. Finally you will get a cool picture, see the gif example here.
First of all, thank you for this wonderful implementation. Not only does it work like a charm, I am learning a lot about how to use Tensorflow effectively 👍
I trained the code with all default on the MNIST dataset, which returned an accuracy of 99.49 %. That great!
I am now trying to classify some of my own handwritten MNIST digits. I have created 15,000 samples, black and white digits, with the same dimensions as MNIST. I created a small function to feed my data into
main.py
, and eventually got things working.My problem is that I get a test-accuracy of ~9%, which equates to random guessing on the 10 classes!
For this reason, I would like to get the predicted labels back for each of the images, so that I can try to debug. Is there an easy way to do this? Could you please provide any hints?
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: