by nextaccountic · 6y ago · 0 comments
Would it be feasible to run the model in wasm or in the GPU?
Its the training that takes forever, due to the fact all those numbers need tweaking. However one you have the model, classifying is pretty fast.
https://github.com/nsfw-filter/nsfw-filter/tree/master/dist/...
So I decided to move the inference to the server.
It's fast but I didn't toy with GPU setting when running Tensorflow model on JS.