在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):lars76/object-localization开源软件地址(OpenSource Url):https://github.com/lars76/object-localization开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):object-localizationThis project shows how to localize objects in images by using simple convolutional neural networks. DatasetBefore getting started, we have to download a dataset and generate a csv file containing the annotations (boxes).
Single-object detectionExample 1: Finding dogs/catsArchitectureFirst, let's look at YOLOv2's approach:
We proceed in the same way to build the object detector:
The code in this repository uses MobileNetv2, because it is faster than other models and the performance can be adapted. For example, if alpha = 0.35 with 96x96 is not good enough, one can just increase both values (see here for a comparison). If you use another architecture, change
ResultIn the following images red is the predicted box, green is the ground truth: Example 2: Finding dogs/cats and distinguishing classesThis time we have to run the scripts ChangesIn order to distinguish between classes, we have to modify the loss function. I'm using here Instead of using all 37 classes, the code will only output class 0 (contains only class 0) or class 1 (contains class 1 to 36). However, it is easy to extend this to more classes (use categorical cross entropy instead of focal loss and try out different weights). Multi-object detectionExample 3: Segmentation-like detectionArchitectureIn this example, we use a skip-net architecture similar to U-Net. For an in-depth explanation see my blog post. ResultExample 4: YOLO-like detectionArchitectureThis example is based on the three YOLO papers. For an in-depth explanation see this blog post. ResultGuidelinesImprove accuracy (IoU)
Increase training speed
Overfitting
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论