Questions tagged [teachable-machine]

Teachable Machine is a web-based tool developed and maintained by Google that makes creating machine learning models fast, easy, and accessible to everyone. Use this tag for questions for a specific problem you face when using Teachable Machine to create your models to recognize images, sounds, and poses without writing any machine learning code.

Teachable Machine is a web-based tool developed and maintained by Google that makes creating machine learning models fast, easy, and accessible to everyone. One can train a computer to recognize images, sounds, and poses without writing any machine learning code. Then that model can be leveraged in other projects, sites or apps.

Please see Techable Machine - Homepage for more details.

24 questions
0
votes
0 answers

Error when checking : expected dense_Dense_1_input to have 2 dimensions, but got array with shape [224, 224, 3]

I get the following error: Error when checking : expected dense_Dense_1_input to have 2 dimensions, but got array with shape [224, 224, 3] When I run the following code: const modelJson = require("../offline_model/pose-model.json"); …
0
votes
1 answer

Display name is empty for tensor flow lite model generated using teachable machine

I am using teachable machine to do generate a tensorflow-lite model and using that model in my android app. The result from tensor flow lite model shows display name as empty. Below is a screenshot of my teachable-machine process. I have added Cats…
BraveEvidence
  • 53
  • 11
  • 45
  • 119
0
votes
1 answer

model.predict.datasync() takes time to give results which causes lag in camera. How to get results / predictions instantly?

I'm using Tensorflow js in react native and I'm getting the correct predictions for my model but it takes a lot of time to give results. For eg I'm using a custom model created by me in teachable machine by Google. But the .datasync() takes time…
0
votes
1 answer

How to use the rear camera instead of the front camera on a teachable machine

// More API functions here: // https://github.com/googlecreativelab/teachablemachine-community/tree/master/libraries/image // the link to your model provided by Teachable Machine export panel const URL = "./my_model/"; let model,…
0
votes
1 answer

How to simultaneously access all elements in an array of objects with changing values in Javascript?

My program is constantly collecting data into an array of five objects with two values each: "label" which is a string and "confidence" which is a float: [{"label": vocals, "confidence": 0.98373},{"label": snare, "confidence": 0.32738}...] This is…
oziomarc
  • 13
  • 2
0
votes
1 answer

Use audio stream as an audio input in ml5.js

I need to use ml5.js for recognition of an audio to detect if the voice is from an animal (like bark or meow) or a background noise. Everything works, but I would like to know if is possible to use an audio instead of granting microphone access and…
0
votes
1 answer

How to load a Teachable Machine Audio Model from Project Files

I'm having trouble utilizing the Teachable Machine's audio model code snippet to create an offline model. I downloaded the metadata and model json's and would like to accomplish something similar to async function createModel() { const…
DrWalrus
  • 1
  • 1
0
votes
1 answer

Google Teachable Machine Javascript Code not working on Raspberry PI

I have a Google Teachable Machine Project with multiple classes in Javascript for my Raspberry PI and i coppied it just like this:
Teachable Machine Image Model
Nick177
  • 3
  • 2
1
2