kwcoco.data.grab_voc
¶
Module Contents¶
Functions¶
Requires: |
|
|
|
|
split, year = 'train', 2012 |
|
split = 'train' |
|
Download the Pascal VOC data if it does not already exist. |
|
Download the Pascal VOC data and convert it to coco, if it does exit. |
|
- kwcoco.data.grab_voc.__torrent_voc()[source]¶
- Requires:
pip install deluge pip install python-libtorrent-bin
References
https://academictorrents.com/details/f6ddac36ac7ae2ef79dc72a26a065b803c9c7230
Todo
[ ] Is there a pythonic way to download a torrent programatically?
- kwcoco.data.grab_voc._convert_voc_split(devkit_dpath, classes, split, year, root)[source]¶
split, year = ‘train’, 2012 split, year = ‘train’, 2007
- kwcoco.data.grab_voc._read_split_paths(devkit_dpath, split, year)[source]¶
split = ‘train’ self = VOCDataset(‘test’) year = 2007 year = 2012
- kwcoco.data.grab_voc.ensure_voc_data(dpath=None, force=False, years=[2007, 2012])[source]¶
Download the Pascal VOC data if it does not already exist.
Note
[ ] These URLS seem to be dead
Example
>>> # xdoctest: +REQUIRES(--download) >>> devkit_dpath = ensure_voc_data()