Welcome to the GitHub repository for Deep Learning course assignment 316, created by Mohammad Saifullah Khan, Roll no. 21169.
These instructions will guide you through setting up your environment to run the assignments.
- Python 3
- git (for cloning the repository)
Follow these steps to set up your environment:
-
Clone the Repository
Clone this repository to your local machine using git:
git clone https://github.com/mohammad21saif/Mohammad_Khan_21169.git
-
Navigate to the Repository
Change your directory to the cloned repository:
cd Mohammad_Khan_21169
-
Create a Virtual Environment
Set up a virtual environment for Python packages:
python3 -m venv .venv
-
Activate the Virtual Environment
Activate the created virtual environment:
source .venv/bin/activate
-
Install Dependencies
Install the required Python packages using pip:
pip3 install -r requirements.txt
-
Question 4 Code
To execute the code for Question 4:
python3 ./q4/main.py
-
Question 3 Code
To execute the code for Question 3:
python3 ./q3/dense.py
IMPORTANT: Replace the path name in lenet.py
and others_pretrained.py
before running the codes.
If you need to save the models generated by the scripts, please follow these steps:
-
Create a directory named
SavedModels
in the root of the repository.mkdir SavedModels
-
Uncomment the relevant code sections in
lenet.py
andothers_pretrained.py
to enable model saving functionality.