Hello, im new here, im also new to tensorflow, tensorflowjs or anything related to machine learning.
I need to create a website to detect objects that is hosted locally, I was able to train my model using yolov5; upon researching, the only way to deploy my model to a website is convert my trained model to tensorflow js, and i got only a multiple bin files and a json file.
Welcome to the forum and the TensorFlow.js community of course
You may find Hugo Zanini’s tutorial very robust for converting Python YOLO model to TensorFlow.js and getting it working well in the browser at a decent FPS:
If you know some basic JavaScript you may also find my edX course useful (free to take) - later chapters go through how to use our command line converter and more to go from Python to JS along with example code on how to load and run such models.
Hi, @Jason I actually build it. That is a very good point. I’ll add the fps benchmark to my to-do list! As for what I can say right now - on my MacBook Pro 2020 (Intel) inference takes around 50-60ms.
I already see that this conversation is bringing lots of ideas for the next steps in the package. I’m running the default backend. And to my knowledge, this MacBook does not have any real GPU.
If I understand correctly using the default backend if I don’t have GPU is not the best choice. It would be better to go with the WASM backend on CPU-only machines?