Project 3 for the Deep Learning course (COSC 525). Training various networks with Tensorflow.
The main code is located in the main.py file. The Neuron, FullyConnectedLayer, and NeuralNetwork classes are located in the src folder.
These instructions will get you a copy of the project up and running on your local machine.
You need to have a machine with Python = 3.10 and any Bash based shell (e.g. zsh) installed.
$ python3.10 -V
Python 3.10
$ echo $SHELL
/usr/bin/zsh
All the installation steps are being handled by the Makefile.
Then, to create a conda environment, install the requirements, setup the library and run the tests execute the following commands:
$ make create_env
$ conda activate cosc525_project3
$ make requirements
For manual installation, you can create a virtual environment and install the requirements by executing the following commands:
$ conda create -n cosc525_project3 -y python=3.10
$ conda activate cosc525_project3
$ conda install --file requirements.txt -y
First, make sure you are in the correct virtual environment:
$ conda activate cosc525_project3
$ which python
/home/<user>/anaconda3/envs/src/bin/python
In order to run the code use the --help option for instructions:
$ python train.py --help
$ python evaluate.py --help
This project is licensed under the Apache License - see the LICENSE file for details.