This is pretty neat and probably what I would have done. I'm going to assume that the .hdf5 is the model weights?
If I can ask, what was the ROC-AUC for your model? Don't get me wrong. It's very impressive, but I had been debating about how much any model's robustness would be impacted by the quality of imaging and such.
Also, getting it on an RPi3 is pretty nice. I was tempted to use one of the intel compute chips but suspected that'd be overkill
I've just been sidelined with thesis revisions and haven't been able to really go at it but this is pretty cool.