Binary segmentation of people
Data
Train set:
- Mapillary Vistas Commercial 1.2 (train)
- COCO (train)
- Pascal VOC (train)
- Human Matting
Validation set:
- Mapillary Vistas Commercial 1.2 (val)
- COCO (val)
- Pascal VOC (val)
- Supervisely
To convert datasets to the format:
training
coco
matting_humans
pascal_voc
vistas
validation
coco
pascal_voc
supervisely
vistas
use this set of scipts.
Training
Define the config.
Example at people_segmentation/configs
You can enable / disable datasets that are used for training and validation.
Define the environmental variable TRAIN_PATH that points to the folder with train dataset.
Example:
export TRAIN_PATH=<path to the tranining folder>
Define the environmental variable VAL_PATH that points to the folder with validation dataset.
Example:
export VAL_PATH=<path to the validation folder>
Run training
python -m people_segmentation.train -c <path to config>
You can check the loss and validation curves for the configs from people_segmentation/configs at W&B dashboard
Run Inference
python -m torch.distributed.launch --nproc_per_node=<num_gpu> people_segmentation/inference.py \
-i <path to images> \
-c <path to config> \
-w <path to weights> \
-o <output-path> \
--fp16
Metadata
Release files for people-segmentation 0.0.4
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 | |
|---|---|---|---|---|
| people_segmentation-0.0.4.tar.gz | 7.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| people_segmentation-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / people_segmentation-0.0.4.tar.gz
| Download URL | people_segmentation-0.0.4.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd4e1ab5a8f6437eb131019ac2650bc5b3a2b51af95da86d3d6c95bd5a7489d6
|
|
BLAKE2b-256 checksum How to use checksums |
aa3d180d41a7b1eefbf461c84e809e8bd03b7ce65d86cfb13eedd4debbc20aa2
|
| 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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Release files / people_segmentation-0.0.4-py2.py3-none-any.whl
| Download URL | people_segmentation-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6d53c5fe7aa838debbfb2e5f7f77e21c1ef57fc01ffb2fd0c9079d85200f09dc
|
|
BLAKE2b-256 checksum How to use checksums |
7a64b70128334cad6f1384087192ccd8d147206f3f78d01987249985d2b63b0f
|
| 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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Security for people-segmentation 0.0.4
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.