diff --git a/README.md b/README.md index 1f84a016720acb08d240329552a2d0187cb60356..12772745152445651f06ad3ea859fc2d6251417e 100644 --- a/README.md +++ b/README.md @@ -36,13 +36,14 @@ As you can see ```BEAGR``` includes the subfolders ```data_BEA_CS``` (BEA Sponta ./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 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 You need to install the following packages: + ``` conda create -n speechcodebookanalysis python=3.8 conda activate speechcodebookanalysis @@ -52,6 +53,13 @@ pip install scikit-learn 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 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.