-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Refactor client model download into a separate module #7
Comments
Yes a standalone thing would be great. A lot of people would find it useful to just have an offline version of PoseNet. I believe this could be just part of the original tfjs-models repo, with the first step being allowing posenet to be loaded from a custom url: |
@mncharity how would you imagine the integration of that standalone feature working in your project? |
My quick-and-dirty approach was: a standalone module with a script I was getting I wondered whether Instead of linking to the download directory, it might be more portable and robust to copy it. |
Some time ago on linux, I found using a single webcam simultaneously from multiple processes added at least a frame of latency, which was problematic for VR/AR with slow webcams. If one is running other analyses in addition to posenet, that incentivizes combining them all into a single custom server, rather than using multiple turnkey servers. One can then also make application-specific performance tradeoffs and optimizations (like running posenet on only a part of the frame).
Thus I'm adding posenet to my existing server. But I'd still like it to work offline. So ideally, I'd like
posenet-for-installations
's model downloading functionality available as a separate module. Say a module which runsclient/downloadModels.js
uponinstall
, and hasclient/src/models.ts
as its entry point (but with BASE_URL refactored as an argument toloadModel
). One user's story, FWIW.Thank you for your work - it was quite helpful.
The text was updated successfully, but these errors were encountered: