Skip to content
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

tensorflow.js model #130

Closed
1 task done
hakmesyo opened this issue Dec 17, 2022 · 3 comments
Closed
1 task done

tensorflow.js model #130

hakmesyo opened this issue Dec 17, 2022 · 3 comments
Assignees
Labels
question A HUB question that does not involve a bug Stale

Comments

@hakmesyo
Copy link

Search before asking

Question

I have just converted my yolov5 trained model to tensorflow.js model and then i downloaded it. What should i do next? Please could you provide simple javascript code to run my tfjs model. Thanks in advance.

Additional

No response

@hakmesyo hakmesyo added the question A HUB question that does not involve a bug label Dec 17, 2022
@github-actions
Copy link

👋 Hello @hakmesyo, thank you for raising an issue about Ultralytics HUB 🚀! Please visit https://ultralytics.com/hub to learn more, and see our ⭐️ HUB Guidelines to quickly get started uploading datasets and training YOLOv5 models.

If this is a 🐛 Bug Report, please provide screenshots and steps to recreate your problem to help us get started working on a fix.

If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response.

We try to respond to all issues as promptly as possible. Thank you for your patience!

@glenn-jocher
Copy link
Member

@hakmesyo you can use your TF.js model like this:

# YOLOv5 TensorFlow.js Usage 
$ cd .. && git clone https://github.com/zldrobit/tfjs-yolov5-example.git && cd tfjs-yolov5-example
$ npm install
$ ln -s ../../yolov5/yolov5s_web_model public/yolov5s_web_model
$ npm start

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A HUB question that does not involve a bug Stale
Projects
None yet
Development

No branches or pull requests

2 participants