- Download the data from here and extract it to 'data' folder
- Run the following command from the root directory:
python3 generate_data.py
A 'images_list.txt' file will be created in 'data' folder.
TO DO
- Run the following command:
python3 main.py
- The training will begin and model files will be saved in 'snapshot' folder. A best model file will be saved based on the best validation accuracy achieved.
A pretrained model can be downloaded from here.
- For sanity check, run the following command:
python3 inference.py
- You will get an output as follows:
Analyse the predicted output