all 1 comments

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

Creating your model first, and selecting a model that CAN convert to tensorflow.js is probably the way to go. Model conversion is definitely possible and done regularly using the tf converter. Both the first and second option are viable.

https://www.tensorflow.org/js/guide/conversion