#AI – #Lobe, desktop tool to train custom machine learning models for Computer Vision @lobe_ai

Buy Me A Coffee

Hi !

There are 2 ways to describe Lobe. You may want to use their official description

Lobe helps you train machine learning models with a free, easy to use tool.

Lobe AI Homepage

Or you may want to use the tool. Let’s review the 2nd one with a NNNN step tutorial.

Data Source Images

For this tutorial I’ll use a set of 24 drawings for fish, human and flowers. I have 8 drawings for each category in different folders.

Import and label Images

Ok, you probably have already installed the app, so let’s create a new project. I’ll name this project drawings.

lobe 02 new project name drawings

The import button, will display a set of options. For this demo, I’ll go to DataSet, where I need to have all my images in a structured set of folders.

The import option also describes how to organize the images in folder.

Once we import the images, we will have the option to automatically label our images based on the folder name

Train

This is the most user friendly step, we don’t need to train the model. I mean, once we have our images, Lobe will automatically start the training process in the background.

Depending the size of your training dateset, this may take some time. Once the model is trained, we can also see some output around the correct and incorrect predictions.

Test with new images

This is also cool. Once the model is trained we can test is in the Play section. In example, I’ve uploaded a custom fish model, and it’s predicted as a fish. I can confirm or assign the correct label in the Play area.

I’ve uploaded a couple more test images, and the background training process created a perfect model !!! (I know, I know …)

lobe 09 100 acurracy

Export generated model

And another great feature is the Export option.

lobe 10 export options

There are several options:

  • TensorFlow
  • TensorFlow Lite
  • Local API

I haven’t used options 2 and 3, however option 1 is good enough to play around. It will include the TensorFlow frozen model, some supporting files, and a sample to use this in Python !

Super easy to start and learn without coding !

Happy coding!

Greetings

El Bruno

References

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.