Workshop for student hackathons focused on Lobe.ai
Перейти к файлу
Jim Bennett 8b5957f01c
Update README.md
2021-10-21 12:09:45 -07:00
.github/workflows add PR trigger to gh pages build 2021-10-12 11:56:06 -07:00
.vscode init commit 2021-09-21 15:18:06 -07:00
apps/web-bootstrap Merge commit '44a70199c4b7e13380c6543533fa1798cb561082' as 'apps/web-bootstrap' 2021-09-21 15:28:56 -07:00
exports init commit 2021-09-21 15:18:06 -07:00
goals Updated 1-train.md 2021-10-19 13:48:13 -07:00
theme Adding Microsoft theme 2021-10-12 11:45:58 -07:00
.editorconfig init commit 2021-09-21 15:18:06 -07:00
.gitignore init commit 2021-09-21 15:18:06 -07:00
CODE_OF_CONDUCT.md added code of conduct, contributing, and security docs 2021-10-12 11:44:42 -07:00
CONTRIBUTING.md added code of conduct, contributing, and security docs 2021-10-12 11:44:42 -07:00
LICENSE init commit 2021-09-21 15:18:06 -07:00
README.md Update README.md 2021-10-21 12:09:45 -07:00
SECURITY.md added code of conduct, contributing, and security docs 2021-10-12 11:44:42 -07:00
mkdocs.yml Adding Microsoft theme 2021-10-12 11:45:58 -07:00
requirements.txt gh actions: move requirements file to root of the repo 2021-09-21 16:34:49 -07:00

README.md

Scenario: Getting started with Lobe

Ever wish you could be alerted when your package has arrived at your door without relying on less-than-accurate delivery-tracking apps? What about needing someone else count your reps during your workout?

Lobe is here to the rescue! Lobe is a free, private desktop application that has everything you need to take your machine learning ideas from prototype to production.

In this lab, you'll build an image classification model to solve a problem that you and your team come up with together.

Prerequisites

Skills

Your team should be familiar with the following:

Hardware

!!! Danger Lobe is not currently supported on Apple computers with the M1 chip

  • A computer capable of running arbitrary code and on which you have administrative rights
  • A stable internet connection (for setup and data download only)

Software

Each member of your team will also need the following software installed:

Resources

A series of resources will be provided to help your team determine the appropriate steps for completion. The resources provided should provide your team with enough information to achieve each goal. If you get stuck, you can always ask a mentor for additional help.

Exploring the source code

The key folder for the application, apps, contains a starter web application in which to drop an exported model from Lobe. The flow of the application is as follows:

  1. A user navigates to the page and is presented with the option to take a photo or upload a photo
  2. User takes a photo using their device's camera or uploads a photo from their device.
  3. After submitting the photo, the model will attempt to classify and tag the photo.

!!! Info No updates to the application code will be made during this workshop. Your team will be able to successfully complete the workshop without any experience with React. The only files your team will add are generated by the Lobe app exporting function.

Goals

Your team will obtain the starter, train the model, and use the model in locally-run web application.

  1. Obtain the source code: The first step when working with any codebase is to download it. Your team's first goal will be to obtain the code from GitHub.
  2. Train the model: Because we need a model to classify photos, your team will first need to train a model. For this workshop, your team will use Lobe, which will train the model for you based on photos and tags that your team selects.
  3. Test the model: A key aspect of training a model is testing and improving it. Here you will take or upload photos to improve the model by fine-tuning it's training.
  4. Export the model: Our webapp will only work if it has a model to run! You will use Lobe to export your model as a TensorFlow.js script and model files.
  5. Run the app: Run your app! For this goal, you will run your web application on your local computer and try to classify images with it.

Where do we go from here?

This project is designed as a potential seed for future development. If you were to continue with this idea, your team could potentially: