Oh, the notebook linked above is not the future tutorial I referenced. It’s just that the model conversion steps seemed standalone enough to make the notebook available as a separate resource.
The full tutorial will cover training an image classifier on the HaGRID (HAnd Gesture Recognition Image Dataset) with Fastai, exporting it to TFJS using the steps in the notebook, and creating a plugin to perform inference with the model in WebGL builds for the Unity game engine. We’ll then wrap up the tutorial by hosting the project for free with GitHub pages like the demo below.
-
Live Unity WebGL Demo
- Note the predicted class shows as an invalid index while the model downloads to your computer.
I already did a tutorial for object detection with IceVision using this dataset, which I talked about in another post, if you are interested.
And yes, my blog uses fastpages. Although, I have been curious about switching to Ghost. Tough to let go of free hosting via GitHub pages, though.