Skip to content
Snippets Groups Projects
Commit 6d103f75 authored by Linke, Julian's avatar Linke, Julian
Browse files

Update file README.md

parent 9f751371
Branches
Tags
No related merge requests found
...@@ -81,8 +81,17 @@ Here is a short overview of the stages: ...@@ -81,8 +81,17 @@ Here is a short overview of the stages:
- stage 0: deletes experiment folder if it exists and runs all subsequent stages in a row - stage 0: deletes experiment folder if it exists and runs all subsequent stages in a row
- stage 1: prepares the data given an experiment folder (e.g., ```DATA/BEAGR```); resulting files are stored in ```exp_*/data/``` - stage 1: prepares the data given an experiment folder (e.g., ```DATA/BEAGR```); resulting files are stored in ```exp_*/data/```
- stage 2: counts frequencies of used codebook entries per speaker; if VERBOSE is true this stage also generates log-files; **ATTENTION:** if you need to extract features with a CPU, set ```device = torch.device('cpu')``` in the script ```local/codebook_freqs.py``` (default is ```device = torch.device('gpu')```); resulting files are stored in ```exp_*/logs/```, ```exp_*/numpy/``` and```exp_*/txt/``` - stage 2:
- counts frequencies of used codebook entries per speaker
- if VERBOSE is true this stage also generates log-files
- **ATTENTION:** if you need to extract features with a CPU, set ```device = torch.device('cpu')``` in the script ```local/codebook_freqs.py``` (default is ```device = torch.device('gpu')```)
- resulting files are stored in ```exp_*/logs/```, ```exp_*/numpy/``` and```exp_*/txt/```
- stage 3: prepares and stores a similarty matrix in the folder ```exp_*/numpy/``` - stage 3: prepares and stores a similarty matrix in the folder ```exp_*/numpy/```
- stage 4: performs a PCA on the similarity matrix and plots the PCA space; resulting ```*.png```-files are stored in ```exp_*/plots/analysis/``` - stage 4:
- stage 5: performs k-means on the resulting PCA space and assigns classes; **ATTENTION:** the parameter ```nclust``` in the script ```run.sh``` specifies the number of allowed clusters which should be modified depending on the task; resulting ```*.png```-files (confusion matrices) are stored in ```exp_*/plots/kmenas/``` - performs a PCA on the similarity matrix and plots the PCA space
- resulting ```*.png```-files are stored in ```exp_*/plots/analysis/```
- stage 5:
- performs k-means on the resulting PCA space and assigns classes
- **ATTENTION:** the parameter ```nclust``` in the script ```run.sh``` specifies the number of allowed clusters which should be modified depending on the task
- resulting ```*.png```-files (confusion matrices) are stored in ```exp_*/plots/kmenas/```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment