drkostas / Tensorflow-Training-Demo

Project 3 for the Deep Learning course (COSC 525). Training various networks with Tensorflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COSC525: Project 3: Train with Tensorflow

GitHub license

Table of Contents

About

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

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

Installing the requirements

Using the Makefile

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

Manual Installations

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

Running the code

Execution Options

First, make sure you are in the correct virtual environment:

$ conda activate cosc525_project3

$ which python
/home/<user>/anaconda3/envs/src/bin/python

main.py

In order to run the code use the --help option for instructions:

    $ python train.py --help
    $ python evaluate.py --help

License

This project is licensed under the Apache License - see the LICENSE file for details.

About

Project 3 for the Deep Learning course (COSC 525). Training various networks with Tensorflow.

License:Apache License 2.0


Languages

Language:PureBasic 88.7%Language:Python 10.3%Language:Makefile 0.8%Language:Shell 0.2%