The instructions for setting up, running, and testing the different algorithms are separated by dataset.
- Python 3.6+
- pandas
- torch
- torchvision
- Pillow
- matplotlib
- scikit-learn
-
Prepare Data:
- This is only required when the data is being downloaded for the first time the box folder should contain this data already prepared.
- Ensure your data is in the following structure:
anno_train.csvandtrain/for training data.anno_test.csvandtest/for test data.
- Merge and label the data by running:
python data_format.py
- This will create
merged_dataset.csvand a folder namedtrain.
-
Verify Data:
- Run the viewer script from the terminal to verify the merged data:
python viewr.py
- Run the viewer script from the terminal to verify the merged data:
-
Train the Model:
- Train the model and generate plots by running:
python train.py
- Select the tests to be run in the
main()function of thetrain.pyscript. - Te corresponding plots will be generated once training is completed.
- Train the model and generate plots by running: