Decto
Cài đặt FasterRCNN sử dụng Feature Pyramid Network.
Thư viện decto hướng tới việc đơn giản khi sử dụng, code ngắn gọn, dễ hiểu và độ chính xác tương tự như thư viện detectron2, đồng thời giúp cho các bạn có thể custom code cho các dự án khác.
Thư viện này được áp dụng cho các dự án số hóa và đã đem lại kết quả rất tốt trên tập dữ liệu .
Cài đặt
Để cài đặt các bạn chạy lệnh sau
pip install decto
Kết quả thử nghiệm
Kết quả huấn luyện bằng decto có độ chính xác bằng với các thư viên khác như detectron2, hoặc pytorch-faster-rcnn
| Cài đặt | VOC 2007 | Số hóa |
|---|---|---|
| detectron2 | 0.75 | 0. |
| decto | 0.75 | 0.81 |
Train & Inference
Các bạn tham khảo notebook sau
Dataset
Các bạn chuẩn bị cấu trúc dataset dưới dạng sau
├── img
│ ├── a.jpg
│ ├── b.jpg
├── test.json
└── train.json
File json train và test có định dạng như dưới:
{
'class_names':['bird', 'car'],
'annotations':
[
{'fname':'img/a.jpg', 'bbox':[[10, 20], [30, 40]], 'label':[0, 0]}
{'fname':'img/b.jpg', 'bbox':[[20, 50], [40, 70]], 'label':[0, 1]}
]
}
Problem
Nếu bạn có bất kì vấn đề gì, vui lòng tạo issue hoặc liên hệ mình tại pbcquoc@gmail.com
Metadata
Release files for decto 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| decto-0.1.2.tar.gz | 27.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| decto-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.4 kB
Release files / decto-0.1.2.tar.gz
| Download URL | decto-0.1.2.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae0de0815d70b659b4b9a281a00b07210b29340ca3d5bc1b887c56e3692e3984
|
|
BLAKE2b-256 checksum How to use checksums |
5f001c20501ad3315e7450edca6de846f253da1e935f0b14f4721e117d5b325a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Release files / decto-0.1.2-py3-none-any.whl
| Download URL | decto-0.1.2-py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5047e6843cb25055de780c4990703e617b075480ea8c359fbb0c321787758fb5
|
|
BLAKE2b-256 checksum How to use checksums |
3968bd4211c870bcabd85d1af3ff3982aa1f01afd27cf5a198afb3a952c09a35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
|
Security for decto 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.