Precourse preparations
To ensure everything runs smoothly during the course, please complete the steps below before arriving.
1. Install Conda
If you don’t already have Conda installed, we recommend installing Miniconda, a lightweight version of Anaconda.
Steps
- Go to the official Miniconda download page.
- Download the installer for your operating system (Windows, macOS, or Linux).
- Follow the platform-specific installation instructions provided on the site.
- After installation, close and reopen your terminal or command prompt.
To verify that Conda was installed correctly, you can run:
conda --version
2. Clone the course repository
You will need a local copy of this GitHub repository to access the course materials and the environment file.
Steps
- Open a terminal (or command prompt).
- Navigate to the folder where you want to store the course.
- Run the following commands:
git clone https://github.com/sib-swiss/federated-learning-training.git
cd federated-learning-training
3. Set up the environment
We provide a Conda environment file that installs all required packages for the exercises.
Steps
-
From inside the
federated-learning-training
folder, runto create the environment. This may take a while.conda env create -f fl-course-env.yaml
-
Activate the environment with
Once activated, your terminal prompt should change to show (fl-course-env) at the beginning.conda activate fl-course-env
You are now all set up for the course!