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 | |
|---|---|---|---|
| potato-cv-0.1.0.tar.gz | 82.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| potato_cv-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|