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

Update file README.md

parent 3b4d2e80
No related branches found
No related tags found
No related merge requests found
...@@ -36,13 +36,14 @@ As you can see ```BEAGR``` includes the subfolders ```data_BEA_CS``` (BEA Sponta ...@@ -36,13 +36,14 @@ As you can see ```BEAGR``` includes the subfolders ```data_BEA_CS``` (BEA Sponta
./run.sh BEAGR 3 ./run.sh BEAGR 3
``` ```
The command automatically generates the experiment folder ```exp_BEAGR```. Note that stage ```0``` would run everything in a row. The command automatically generates the experiment folder ```exp_BEAGR```. Note that stage ```0``` deletes the entire experiment folder and restarts running everything in a row.
## Reproduction ## Reproduction
The following steps are necessary to reproduce the experiment. At first you need to create a conda envrionment and install the necessary packages. Second you have to clone the fairseq repository and modify the file ```path.sh``` to export necessary environment variables. The following steps are necessary to reproduce the experiment. At first you need to create a conda envrionment and install the necessary packages. Second you have to clone the fairseq repository and modify the file ```path.sh``` to export necessary environment variables.
### Conda environment ### Conda environment
You need to install the following packages: You need to install the following packages:
``` ```
conda create -n speechcodebookanalysis python=3.8 conda create -n speechcodebookanalysis python=3.8
conda activate speechcodebookanalysis conda activate speechcodebookanalysis
...@@ -52,6 +53,13 @@ pip install scikit-learn ...@@ -52,6 +53,13 @@ pip install scikit-learn
pip install faiss-cpu pip install faiss-cpu
``` ```
When the envrionment is created also generate the file ```conda.sh``` which could look like this:
```
source */anaconda3/etc/profile.d/conda.sh
conda activate speechcodebookanalysis
```
### Fairseq Repository ### Fairseq Repository
You need to clone the fairseq repository to another directory (e.g., ```../fairseq```). The file ```path.sh``` needs to modified in order to export the necessary environment variables. You need to clone the fairseq repository to another directory (e.g., ```../fairseq```). The file ```path.sh``` needs to modified in order to export the necessary environment variables.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment