Download single or multiple classes from the OIDv6
| Release history | Documentation in Russian |
|---|
Installation
pip install oidv6
Update
pip install --upgrade oidv6
Required packages
| Packages | Min version | Current version |
|---|---|---|
requests |
2.23.0 |
|
numpy |
1.18.4 |
|
pandas |
1.0.4 |
|
progressbar2 |
3.51.3 |
|
opencv-contrib-python |
4.2.0.34 |
|
awscli |
1.18.69 |
Useful resources
Class for multiple download of the OIDv6
Command line arguments
| Argument | Type | Description | Valid Values |
|---|---|---|---|
| command | str | Boot command | downloader |
| command | str | LanguageDefault value: en |
enru |
| --dataset | str | The root directory for saving OIDv6Default value: OIDv6 |
- |
| --type_data | str | DatasetDefault value: train |
trainvalidationtestall |
| --classes | str | Sequence of class names or text file | - |
| --limit | int | Images Upload LimitDefault value: 0 (no limit) |
From 0 to ∞ |
| --multi_classes | bool | Downloading classes in one directory | No value |
| --yes | bool | Automatic download metadata | No value |
| --no_labels | bool | No labeling | No value |
| --hide_metadata | bool | Вывод метаданных | No value |
| --no_clear_shell | bool | Do not clean the console before running | No value |
Examples
Note! Classes that are composed of several words should be surrounded by quotation marks (if they are passed directly to the command line). For example:
"Organ (Musical Instrument)"
-
Downloading classes (
apple,banana,Kitchen & dining room table) from thetrain,validationandtestsets with labels in semi-automatic mode and image limit =4(Language:Russian)CMD
oidv6 downloader ru --dataset path_to_directory --type_data all --classes apple banana "Kitchen & dining room table" --limit 4
-
Downloading training classes (
cat,dog) from thetrainset with tags in automatic mode and image limit =10(Language:English)CMD
oidv6 downloader en --dataset path_to_directory --type_data train --classes Cat dOg --limit 10 --yes
-
Downloading validation classes (see text file) from the
validationset with labels in automatic mode and image limit =10(Language:English)Text file
person Organ (Musical Instrument)
CMD
oidv6 downloader --dataset path_to_directory --type_data validation --classes text_file_path --limit 10 --yes
-
Downloading classes (
axe,calculator) in one directory from thetrain,validationandtestsets with labels in automatic mode and image limit =12(Language:English)CMD
oidv6 downloader --dataset path_to_directory --type_data all --classes axe calculator --limit 12 --multi_classes --yes
Metadata
Release files for oidv6 1.0.5
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 | Actions |
|---|---|---|---|---|
| oidv6-1.0.5.tar.gz | 19.2 kB | Without provenance | Details for oidv6-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oidv6-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for oidv6-1.0.5-py3-none-any.whl |
Total release size: 43.4 kB
Release files / oidv6-1.0.5.tar.gz
| Download URL | oidv6-1.0.5.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd0c590a10ec6d83cdcabf926062927705763bde93b0c7269ff552a5e8c1e637
|
|
BLAKE2b-256 checksum How to use checksums |
4c762a9a13e6db2026ba6057f500d227fa85d550153861feb63531e1eb9cc4df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / oidv6-1.0.5-py3-none-any.whl
| Download URL | oidv6-1.0.5-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e66d9cd1b37338944de51ff865dcea31aa7ec941fb05c6c11ef34a0e43dc4a2
|
|
BLAKE2b-256 checksum How to use checksums |
5ea74336d8df5dd3f835fe7d060df89421c58473d486cade8dc056997cc22a17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for oidv6 1.0.5
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.