Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waikato-ufdl/wai-annotations-subdir
wai.annotations module for managing image classification annotations with sub-directories corresponding to labels.
https://github.com/waikato-ufdl/wai-annotations-subdir
Last synced: about 1 month ago
JSON representation
wai.annotations module for managing image classification annotations with sub-directories corresponding to labels.
- Host: GitHub
- URL: https://github.com/waikato-ufdl/wai-annotations-subdir
- Owner: waikato-ufdl
- License: apache-2.0
- Created: 2021-05-12T21:38:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T03:47:36.000Z (11 months ago)
- Last Synced: 2024-02-01T04:40:15.980Z (11 months ago)
- Language: Python
- Homepage: https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
- Size: 28.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
# wai-annotations-subdir
wai.annotations module for managing image classification annotations with sub-directories corresponding to labels.The manual is available here:
https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
## Plugins
### FROM-SUBDIR-AC
Reads audio files from sub-directories named after their class labels.#### Domain(s):
- **Audio classification domain**#### Options:
```
usage: from-subdir-ac [-I FILENAME] [-i FILENAME] [-N FILENAME] [-n FILENAME] [-o FILENAME]
[--seed SEED]optional arguments:
-I FILENAME, --inputs-file FILENAME
Files containing lists of input files (can use glob syntax) (default: [])
-i FILENAME, --input FILENAME
Input files (can use glob syntax) (default: [])
-N FILENAME, --negatives-file FILENAME
Files containing lists of negative files (can use glob syntax) (default: [])
-n FILENAME, --negative FILENAME
Files that have no annotations (can use glob syntax) (default: [])
-o FILENAME, --output-file FILENAME
optional file to write read filenames into (default: None)
--seed SEED the seed to use for randomisation (default: None)
```### FROM-SUBDIR-IC
Reads images from sub-directories named after their class labels.#### Domain(s):
- **Image Classification Domain**#### Options:
```
usage: from-subdir-ic [-I FILENAME] [-i FILENAME] [-N FILENAME] [-n FILENAME] [-o FILENAME]
[--seed SEED]optional arguments:
-I FILENAME, --inputs-file FILENAME
Files containing lists of input files (can use glob syntax) (default: [])
-i FILENAME, --input FILENAME
Input files (can use glob syntax) (default: [])
-N FILENAME, --negatives-file FILENAME
Files containing lists of negative files (can use glob syntax) (default: [])
-n FILENAME, --negative FILENAME
Files that have no annotations (can use glob syntax) (default: [])
-o FILENAME, --output-file FILENAME
optional file to write read filenames into (default: None)
--seed SEED the seed to use for randomisation (default: None)
```### FROM-SUBDIR-SC
Reads spectra from sub-directories named after their class labels.#### Domain(s):
- **Spectrum Classification Domain**#### Options:
```
usage: from-subdir-sc [-I FILENAME] [-i FILENAME] [-N FILENAME] [-n FILENAME] [-o FILENAME]
[--seed SEED]optional arguments:
-I FILENAME, --inputs-file FILENAME
Files containing lists of input files (can use glob syntax) (default: [])
-i FILENAME, --input FILENAME
Input files (can use glob syntax) (default: [])
-N FILENAME, --negatives-file FILENAME
Files containing lists of negative files (can use glob syntax) (default: [])
-n FILENAME, --negative FILENAME
Files that have no annotations (can use glob syntax) (default: [])
-o FILENAME, --output-file FILENAME
optional file to write read filenames into (default: None)
--seed SEED the seed to use for randomisation (default: None)
```### TO-SUBDIR-AC
Writes audio files to sub-directories named after their class labels.#### Domain(s):
- **Audio classification domain**#### Options:
```
usage: to-subdir-ac -o PATH [--split-names SPLIT NAME [SPLIT NAME ...]]
[--split-ratios RATIO [RATIO ...]]optional arguments:
-o PATH, --output PATH
the directory to store the class directories in (default: None)
--split-names SPLIT NAME [SPLIT NAME ...]
the names to use for the splits (default: [])
--split-ratios RATIO [RATIO ...]
the ratios to use for the splits (default: [])
```### TO-SUBDIR-IC
Writes images to sub-directories named after their class labels.#### Domain(s):
- **Image Classification Domain**#### Options:
```
usage: to-subdir-ic -o PATH [--split-names SPLIT NAME [SPLIT NAME ...]]
[--split-ratios RATIO [RATIO ...]]optional arguments:
-o PATH, --output PATH
the directory to store the class directories in (default: None)
--split-names SPLIT NAME [SPLIT NAME ...]
the names to use for the splits (default: [])
--split-ratios RATIO [RATIO ...]
the ratios to use for the splits (default: [])
```### TO-SUBDIR-SC
Writes spectra to sub-directories named after their class labels.#### Domain(s):
- **Spectrum Classification Domain**#### Options:
```
usage: to-subdir-sc [--no-interleave] -o PATH [--split-names SPLIT NAME [SPLIT NAME ...]]
[--split-ratios RATIO [RATIO ...]]optional arguments:
--no-interleave disables item interleaving (splitting will occur in runs) (default: False)
-o PATH, --output PATH
the directory to store the class directories in (default: None)
--split-names SPLIT NAME [SPLIT NAME ...]
the names to use for the splits (default: [])
--split-ratios RATIO [RATIO ...]
the ratios to use for the splits (default: [])
```