Semantic Segmentation and Edge Detection
Setup
# install mmcv and pytorch
# install other dependencies
pip install -r requirements.txt
# If you want to install potato globally
python setup.py develop
Datasets
python tools/convert_datasets/preprocess_cityscapes.py
Training
CUDA_VISIBLE_DEVICES=0,1 ./tools/dist_train.sh <path/to/config> <num_gpus>
Test
Evaluate and Visualize Segmentatation and Edges
CUDA_VISIBLE_DEVICES=0,1 ./tools/dist_train.sh <path/to/config> <path/to/ckpt> <num_gpus> ...
To evaluate F-boundary scores:
# only supports single gpu
CUDA_VISIBLE_DEVICES=0, python tools/test_boundary_fscore.py <path/to/config> <path/to/ckpt> ...
Evaluate Edges
# save edges
CUDA_VISIBLE_DEVICES=0,1 ./tools/dist_train.sh <path/to/config> <path/to/ckpt> <num_gpus> --save-edge ...
python tools/test_edge.py <path/to/config> <path/to/predictions> ...
Evaluating edges will take a very long time (depends on the hardware).
Metadata
Release files for potato-cv 0.1.0
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 |
|---|---|---|---|---|
| potato-cv-0.1.0.tar.gz | 82.0 kB | Without provenance | Details for potato-cv-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| potato_cv-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for potato_cv-0.1.0-py3-none-any.whl |
Total release size: 204.4 kB
Release files / potato-cv-0.1.0.tar.gz
| Download URL | potato-cv-0.1.0.tar.gz |
|---|---|
| Size | 82.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec9caaffd079f4a026afb4a73caf3570d92310b1d248f87c40aa6c9070580ef8
|
|
BLAKE2b-256 checksum How to use checksums |
f8df3c330255aa4ab1eadeec51ea460e7815bab57cce574912173e25a1029b7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.8
|
Release files / potato_cv-0.1.0-py3-none-any.whl
| Download URL | potato_cv-0.1.0-py3-none-any.whl |
|---|---|
| Size | 122.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27dd34fc5411d7abe4b830be723bddd3fb340e1ef2007f6d6054dc98357868e5
|
|
BLAKE2b-256 checksum How to use checksums |
50448975d003dc8e4a9d111515533bdb9c67bc0f5d5c4668a41e7d21eacbe171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.8
|
Security for potato-cv 0.1.0
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.