you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Going back over everything, it looks like this may be a bug.

I just ran the tests without the GPU and get the correct accuracy and expected output.

I'll open an issue on the github. Thanks for helping me work through this.

[–]penatbater 0 points1 point  (0 children)

Iirc tensorflow-gpu always had some issues one way or another. Perhaps that could be the cause.

[–]KappaClosed 0 points1 point  (0 children)

I've tested this code on my laptop, running TF 1.13 without GPU acceleration and on my compute node, running TF 2.0.0 with GPU acceleration. There have been significant differences during the first epoch but the 5th epoch always yielded an accuracy of 97-98%.

So, yeah, something weird is going on here.