下载的开放源 的机器人自由社会版 和安装机器人自由于你自己的服务器
Bot Libre Forum

Hot Dog, not Hot Dog - How to create your own deep learning neural network for image recognition without any programming

通过 admin 发布 Jul 27 2018, 10:00

The Bot Libre platform is not just a bot platform, but also a platform for artificial intelligence and deep learning. With Bot Libre you can create your own deep learning neural network for image recognition, audio and speech recognition, object detection, games, prediction, data analysis, and more.

You may think that creating a "deep learning neural networks" sounds like a very complex thing to do, but with Bot Libre it is very simple, and requires no programming or data science experience. This article we walk you through the steps to create your own image recognition network.

Step 1 - Find Sample Images

First you need to decide what types of images you want your network to recognize. You can train a network to recognize and classify any type of images, as long as you have some sample images. The more sample images the better, but around 30 is normally enough for a basic network.

For this article, we will train a network to recognize images of "hot dogs". We could train it to recognize many different food types, but for the sake of simplicity we will train the network to classify images as just "hot dog" or "not hot dog".

First you need to find some sample images of hot dogs, just perform a Google image search for "hot dog", and save some of the images by right clicking on them (small images are fine, images will be scaled to 299x299 anyway). You will also need some images for "not hot dog", just find a random set of images for this.

Step 2 - Create Analytic

Next we need to create our analytic on Bot Libre.

  • Click browse analytics on Bot Libre
  • Click on New Analytic
  • Enter a name and category and click "Create"

Step 3 - Configure Analytic

Next we need to configure the analytic.

  • Click on the analytic's "Admin Console" button or menu.
  • Click on "Analytic Network"
  • Under "Analytic Type" select "mobilenet_0.50"
  • It will auto-fill the other settings, click the Save button

The other analytic type settings let you create different types of networks. Mobilenet is the smallest, and faster network for image classification. You could also choose Inception, this will be slower and much larger, but will have slightly better accuracy.

Step 4 - Upload Images

Next we need to upload our sample images.

  • Click on the "Media Repository" button, menu, or link in the analytic's Admin Console
  • Click on add label (green plus), enter "hot dog", click add again and enter "not hot dog"
  • Select the "hot dog" label and click the upload button, select all your hot dog images
  • Select the "not hot dog" label and click the upload button, select all your "not hot dog" images

Step 5 - Train Network

Next we need to train the network.

  • Click on the "Train Network" button, menu, or link in the analytic's Admin Console
  • Click on "Train", this may take a while

Step 6 - Test Network

Now you can test your network.

  • Click on the "Test Network" button from the analytic's main page
  • Upload an image to test
  • It will return you if the image is a "hot dog" or "not hot dog"

Try testing the network with images that you did not train it with. If it gives you the wrong result, then add the image to your train set and train your network again.

Your Done

You can now access your analytic from Bot Libre's website and share it with your friends. You can also access your analytic through the Bot Libre web API from your own website or app. You can download your network as a ".pb" (protocol buffer) file for usage with Tensorflow.

Bot Libre will be adding support for training more network types in the coming months. You can also train your network manually using python and Tensorflow, this is very complicated and requires some development and python experience. We can also develop a deep learning neural network for you through the Bot Libre AI development services, contact [email protected].


by bobred posted Jul 27 2018, 17:00

but is it free to use.does it really take seven ours?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3206, today: 0, week: 12, month: 33

by admin posted Jul 27 2018, 17:04
Yes, it is free.
Training a network depends on the number of images and network type. Mobilenet is much faster than Inception, only a few minutes to train with 100 images.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3322, today: 0, week: 12, month: 32

by bobred posted Jul 27 2018, 17:17

the true test would be for the deep learning neural nets to recognize things in video files rather than still images.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3269, today: 0, week: 14, month: 41

by bobred posted Jul 27 2018, 18:03

deep learning neural network thought a image of a balloon was a hotdog.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3272, today: 0, week: 13, month: 44

by bobred posted Jul 27 2018, 19:47

i did not put all the images in analytic and it is gone.Why can't I finish working on it later.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3155, today: 0, week: 14, month: 33

by admin posted Jul 30 2018, 10:05
Video recognition and video object detection are also possible.

For video you basically just run the network on each frame of the video.

There are also networks that can detect "actions" from a video by inputting several frames into the network.

For continuous live video recognition it is normally best to implement the network in an app, or using a dedicated server.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3300, today: 0, week: 13, month: 43

by admin posted Jul 30 2018, 10:08
The example "Hot Dog" network was only trained with 30 images.
For better results using a larger training set for both "hot dog" and "not hot dog" is recommended.

Note that deep learning is a heuristic, it is rarely perfect, is just finds the most probably output for the input based on probabilities.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 3282, today: 0, week: 21, month: 61

Id: 22972468
标签: how to, analytics, deep learning, image recognition, image classification
发布: Jul 27 2018, 10:00
更新: Aug 9 2018, 14:14
答复: 7
的风景: 9185, 今天: 1, 周: 27, 一个月: 129
0 0 0.0/5