Skip to content

Commit

Permalink
Merge pull request #184 from developmentseed/threadpool_docs
Browse files Browse the repository at this point in the history
documentation for threadpool
  • Loading branch information
drewbo authored Nov 19, 2020
2 parents 0691422 + 17baed5 commit c271189
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[0.9.1](https://github.com/developmentseed/label-maker/releases/tag/0.9.1) (2020-11-18)
------------------
- Add the ability to specify the number of threads to use to downlaod images ([#182](https://github.com/developmentseed/label-maker/pull/182))

[0.9.0](https://github.com/developmentseed/label-maker/releases/tag/0.9.0) (2020-08-19)
------------------
- Add the ability to parse non-polygons from the GeoJSON file ([#170](https://github.com/developmentseed/label-maker/pull/170))
Expand Down
7 changes: 6 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,14 @@ Downloads all imagery tiles needed to create the training data. Requires the ``l
The number of background tiles added depends on the `background_ratio` parameter specified in the `config.json` file.
A background_ratio of 0 will return no background tiles.

Accepts one additional flag:

``-t`` or ``--threadcount``: int
Specifies the number of threads used to download imagery tiles in parallel. Defaults to ``10``.

.. code-block:: bash
$ label-maker images
$ label-maker images -t 50
Downloading 1189 tiles to data/tiles
CLI Step 5: package
Expand Down
2 changes: 1 addition & 1 deletion label_maker/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Library verison"""
__version__ = '0.9.0'
__version__ = '0.9.1'

0 comments on commit c271189

Please sign in to comment.