All information about tasks, goals, data and etc. see on competition page https://cataracts.grand-challenge.org/
$ git clone https://github.com/evgeniivas/Masters-Work.git
$ cd Masters-Work
$ pip3 install -r requirements.txt
Download and place CATARACTS competition data to the learning/data/
folder, as a result in data
folder you will have 3 subfolders: train
, test
, train_labels
.
All scripts for making classification models and data processing can be run from /learning
directory (see params to each script with --help
flag) :
- Run
/preparation/extractor.py
script to prepare data for learning, set the params; - To learn models run
learning.py
script, set the params;- To run training on cluster (distributed systems): set
--distributed
parameter;
- To run training on cluster (distributed systems): set
- Make predictions to train\test datasets: run
predict.py
script, set the params; - Make baseline model (ExtraTreesClassifier trained using HOG descriptors) and predict on test dataset:
runbaseline.py
script, set the params;
From /learning
folder run transfer bash script:
$ ./model/transfer.sh
As a result in each model folder appear file: model.onnx