This repository contains the code associated with the following lab sessions:
- Lab 1: Training Machine Learning Models
- Lab 2: Applying Model Compression Techniques
To run the code, you will need to set up a Python environment as described below.
Open a terminal and run:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.shbash Miniconda3-latest-Linux-x86_64.shFollow the prompts:
- Press Enter to scroll through the license agreement.
- Type yes to accept the license.
- Choose an installation location (the default is usually fine).
- When asked to initialize Conda, type yes.
Close and reopen your terminal, or run:
source ~/.bashrcVerify the installation:
conda --versionMake sure the environment.yml file is in your current directory, then run:
conda env create -f environment.ymlThis command will:
- Read the dependencies from the file.
- Install all required packages automatically.
- Create the Conda environment with the name specified in the file.
conda activate neuralEnv10
