From fbbaed91bfeb0de15cd32d948262479e13e49eac Mon Sep 17 00:00:00 2001 From: "Linke, Julian" <linke@tugraz.at> Date: Thu, 27 Jul 2023 20:37:20 +0200 Subject: [PATCH] Update file README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f84a01..1277274 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. -- GitLab