Image Annotation Using Metric Learning in Semantic Neighbourhoods
read.cpp | For reading the data for Demo |
Image_anno.py | Main code for project |
Code_Description.txt : This file contains the detailed description of the both the files written
We have used value of 'K' for the nearest neighbour selection, one can change and check for different values by passing different value to the main function of the "Image_anno.py"
AS we have already uploaded the extracted files in '.txt' format for the training and test data. there is no use of running the Read.cpp file.
Directly run the main(k) function of the Image_anno.py with any integer value 'K' and it will run as per requirement.
Result.md file contain the result obtained when ran the code of 'k=4' 'k=6' 'k=8'