Skip to content
Snippets Groups Projects

Scrips for classifcation algorythms

The scrips and notebooks within this directory are everything needed to download the images from HJPWREN and design & test the classifcation algorythms

Explanations

  • getFiles.sh: Code used to download the HPWREN archieve to current directory Just run this shell file at the place you want the directory to be

  • imageLoader.ipynb: Used to sort the HPWREN archieve into (training, testing, validation) subdirectories that Keras can read
    test
    Set the mypath to the current location of the HPWREN archieve (filtered) Set savepath to the directory you want the sorted data archieve (with training, validation, and test )

  • trainingScript.py: Used to define the model and use it to train on the subdirectories that was previously created
    test
    Assign all the subdirectories
    test
    This is the location where the model will be saved
    test
    This is the location where the training history will be saved

  • historyEvaluator.ipynb: Used to see the training loss and other metrics of training done of script
    test
    Assign this to where the training history was saved (above)

  • testing.ipynb: Used to test new model on training subset