Cách cài đặt Tensorflow Object Detection API. Ví dụ sử dụng Tensorflow Object Detection API

Những phần mềm cần có trước khi cài: Python 64bit + PIP
Bước 1: Sử dụng PIP cài đặt tensorflow. Nếu bạn nào chưa cài PIP thì các bạn cần cài đặt PI trước.
-Thường PIP sẽ nằm tại thư mục ~/Python35/Scrpits/ [Ví dụ: C:\Users\h2phamth\AppData\Local\Programs\Python\Python35\Scripts]
-Lệnh cài:
# For CPU pip install tensorflow # For GPU pip install tensorflow-gpu
Link model: https://github.com/tensorflow/models/
Link protol: https://github.com/google/protobuf/releases
Bước 3: Tiến hành cài đặt
# Từ tensorflow/models/research/ protoc object_detection/protos/*.proto --python_out=.
Bước 4: Dùng jupyter để mở ví dụ có sẵn.
Video Hướng Dẫn (Bật Phụ Đề Tiếng Việt)
COCO-trained models {#coco-models}: You can use best one which suitable with your program
Model name | Speed (ms) | COCO mAP[^1] | Outputs |
---|---|---|---|
ssd_mobilenet_v1_coco | 30 | 21 | Boxes |
ssd_inception_v2_coco | 42 | 24 | Boxes |
faster_rcnn_inception_v2_coco | 58 | 28 | Boxes |
faster_rcnn_resnet50_coco | 89 | 30 | Boxes |
faster_rcnn_resnet50_lowproposals_coco | 64 | Boxes | |
rfcn_resnet101_coco | 92 | 30 | Boxes |
faster_rcnn_resnet101_coco | 106 | 32 | Boxes |
faster_rcnn_resnet101_lowproposals_coco | 82 | Boxes | |
faster_rcnn_inception_resnet_v2_atrous_coco | 620 | 37 | Boxes |
faster_rcnn_inception_resnet_v2_atrous_lowproposals_coco | 241 | Boxes | |
faster_rcnn_nas | 1833 | 43 | Boxes |
faster_rcnn_nas_lowproposals_coco |
Kitti-trained models {#kitti-models}
Model name | Speed (ms) | Pascal mAP@0.5 (ms) | Outputs |
---|---|---|---|
faster_rcnn_resnet101_kitti | 79 | 87 | Boxes |
Open Images-trained models {#open-images-models}
Model name | Speed (ms) | Open Images mAP@0.5[^2] | Outputs |
---|---|---|---|
faster_rcnn_inception_resnet_v2_atrous_oid | 727 | 37 | Boxes |
faster_rcnn_inception_resnet_v2_atrous_lowproposals_oid | 347 | Boxe |
Cách cài đặt Tensorflow Object Detection API. Ví dụ sử dụng Tensorflow Object Detection API
Reviewed by Jacky
on
tháng 12 10, 2017
Rating:

Không có nhận xét nào: