Skip to main content

Download single or multiple classes from the Open Images V6 dataset

Project description

Download single or multiple classes from the OIDv6

PyPI PyPI - Python Version PyPI - Implementation PyPI - Status PyPI - License

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 PyPI
numpy 1.18.4 PyPI
pandas 1.0.4 PyPI
progressbar2 3.51.3 PyPI
opencv-contrib-python 4.2.0.34 PyPI
awscli 1.18.69 PyPI

Useful resources

Class for multiple download of the OIDv6

Command line arguments

Argument                Type Description Valid Values
command str Boot command downloader
command str Language
Default value: en
en
ru
--dataset str The root directory for saving OIDv6
Default value: OIDv6
-
--type_data str Dataset
Default value: train
train
validation
test
all
--classes str Sequence of class names or text file -
--limit int Images Upload Limit
Default 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)"


  1. Downloading classes (apple, banana, Kitchen & dining room table) from the train, validation and test sets 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
    
  2. Downloading training classes (cat, dog) from the train set 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
    
  3. Downloading validation classes (see text file) from the validation set 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
    
  4. Downloading classes (axe, calculator) in one directory from the train, validation and test sets 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
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oidv6-1.0.5.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

oidv6-1.0.5-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file oidv6-1.0.5.tar.gz.

File metadata

  • Download URL: oidv6-1.0.5.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for oidv6-1.0.5.tar.gz
Algorithm Hash digest
SHA256 fd0c590a10ec6d83cdcabf926062927705763bde93b0c7269ff552a5e8c1e637
MD5 6a949080c470eea013ee6f509666f705
BLAKE2b-256 4c762a9a13e6db2026ba6057f500d227fa85d550153861feb63531e1eb9cc4df

See more details on using hashes here.

File details

Details for the file oidv6-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: oidv6-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for oidv6-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2e66d9cd1b37338944de51ff865dcea31aa7ec941fb05c6c11ef34a0e43dc4a2
MD5 c6fb0ccd692771540e41b932553e8c65
BLAKE2b-256 5ea74336d8df5dd3f835fe7d060df89421c58473d486cade8dc056997cc22a17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page