teachable-machine

Explore how machine learning works, live in the browser. No coding required.

Github stars Tracking Chart

Teachable Machine

About

Teachable Machine is an experiment that makes it easier for anyone to explore machine learning, live in the browser – no coding required. Learn more about the experiment and try it yourself on g.co/teachablemachine.

The experiment is built using the TensorFlow.js library.

We have also released a boilerplate version of this project that can be used as a starting point for your own projects: googlecreativelab/teachable-machine-boilerplate

Development

Install dependencies by running (similar to npm install)

yarn

Build project

yarn build

Start local server by running

yarn run watch

Code Styles

  • There’s a pre-commit hook set up that will prevent commits when there are errors
  • Run yarn eslint for es6 errors & warnings
  • Run yarn stylint for stylus errors & warnings

To run https locally:

https is required to get camera permissions to work when not working with localhost

  1. Generate Keys
openssl genrsa -out server.key 2048
openssl req -new -x509 -sha256 -key server.key -out server.cer -days 365 -subj /CN=YOUR_IP
  1. Use yarn run watch-https
  2. Go to https://YOUR_IP:3000, then accept the insecure privacy notice, and proceed.

Credit

This is not an official Google product, but an experiment that was a collaborative effort by friends from Støj, Use All Five and Creative Lab and PAIR teams at Google.

Main metrics

Overview
Name With Ownergooglecreativelab/teachable-machine-v1
Primary LanguageJavaScript
Program languagePython (Language Count: 4)
Platform
License:Apache License 2.0
所有者活动
Created At2017-10-03 15:04:27
Pushed At2021-09-01 22:38:21
Last Commit At2021-09-01 18:38:21
Release Count0
用户参与
Stargazers Count3.9k
Watchers Count148
Fork Count606
Commits Count21
Has Issues Enabled
Issues Count42
Issue Open Count17
Pull Requests Count3
Pull Requests Open Count1
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private