CS 4100 Final Project!
This project uses python 3.12 because it is the latest version supported by tensorflow, which we need because our data format is in TFRecord format.
- Install the requirements.txt
- Download the objects.tfrecord file from https://drive.google.com/file/d/1YKlQE8oCPcr7lGOFeSl_UrMgt6HroPiq/view and put it in the ./data folder
- Run
python processing/process_data.pyto fetch the data for the data - This will populate the data/img folder with the training images and data/chords/labels.json with a map from image file name to chord number
- Run python models/cnn.py
- The terminal will output the epoch results and some other logs
- The result of model will be saved to a folder with the name of format model_ACCURACY_EPOCHS
- In this folder will be the model and the data vis for the model and training results
- First populate the data
- Run
python models/nn.pyto run the neural network - The accuracy of the network will be printed in the console