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

Update file README.md

parent 6d103f75
No related branches found
No related tags found
No related merge requests found
...@@ -79,18 +79,18 @@ Make sure to modify the file ```path.sh``` in order to export the necessary envi ...@@ -79,18 +79,18 @@ Make sure to modify the file ```path.sh``` in order to export the necessary envi
Here is a short overview of the stages: 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: - ```stage=2```:
- counts frequencies of used codebook entries per speaker - counts frequencies of used codebook entries per speaker
- if VERBOSE is true this stage also generates log-files - 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')```) - **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/``` - 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: - ```stage=4```:
- performs a PCA on the similarity matrix and plots the PCA space - performs a PCA on the similarity matrix and plots the PCA space
- resulting ```*.png```-files are stored in ```exp_*/plots/analysis/``` - resulting ```*.png```-files are stored in ```exp_*/plots/analysis/```
- stage 5: - ```stage=5```:
- performs k-means on the resulting PCA space and assigns classes - 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 - **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/``` - 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