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

objectDirector() I can use a trained model from teachable machine #1459

Open
cyber99x opened this issue Mar 29, 2023 · 0 comments
Open

objectDirector() I can use a trained model from teachable machine #1459

cyber99x opened this issue Mar 29, 2023 · 0 comments

Comments

@cyber99x
Copy link

Hello, good morning. Thank you very much for your kind attention. I was trying to do an object detection with ML5.js and P5.JS using the objectDetector() command but with a model trained with teachable machine (https://teachablemachine.withgoogle.com/ ). the main question would be objectDirector() admits to use a trained model that is not from cocossd , since when trying to run the program that I have made it always calls the base trained model: "lite_mobilenet_v2". and not to the model that I previously trained. I searched the internet for examples of detection using objectDetector with a different model entering without cocossd. Or maybe I should use another training platform and not a teachable machine. If so, could you recommend one?

I attach the online codes in the p5.js editor.

1- This is the first test that I have done using objecDetector() detecting and counting people works fine and any other object that is inside the "lite_mobilenet_v2" data base. it will work fine. https://editor.p5js.org/cyber_99x/sketches/iFSGlj8kd

2- This is the code where I use my model trained with teachable machine and it never works, it never calls the new model trained with teachable machine. https://editor.p5js.org/cyber_99x/sketches/VwlowiYJv

→ Step 1: Describe the issue 📝

Did you find a bug? Want to suggest an idea for feature?

→ Step 2: Screenshots or Relevant Documentation 🖼

Here's some helpful screenshots and/or documentation of the new feature

→ Step 3: Share an example of the issue 🦄

Here's some example code or a demonstration of my feature in this issue, separate GitHub repo, or in the https://editor.p5js.org or codepen/jsfiddle/Glitch/etc...

Other relevant information, if applicable

→ Describe your setup 🦄

Here's some helpful information about my setup...

  • Web browser & version:
  • Operating System:
  • ml5 version you're using:
  • Any additional notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants