cvpr15deepcompare icon indicating copy to clipboard operation
cvpr15deepcompare copied to clipboard

how to test a pair of image

Open sunbin1205 opened this issue 6 years ago • 4 comments

Thank you very much for sharing! If I only want to test the similarity of two images in a pair of images, the return value I want is only the similarity probability of this set of images, can your code get such output? Which variable is the percentage of similarity that holds each set of test data that I didn't find in the code. Please specify that for me,this will be very helpful to my study! Thank you very much!

sunbin1205 avatar Jul 04 '18 08:07 sunbin1205

Hi @sunbin1205, see https://github.com/szagoruyko/cvpr15deepcompare/blob/master/pytorch/eval.py

szagoruyko avatar Jul 19 '18 12:07 szagoruyko

Hello, I have the same problem with @sunbin1205 and I want to know how to run the code aboout eval with two input images! Looking forward for your reply, thank you~!

JiaqianLi avatar Aug 05 '19 14:08 JiaqianLi

@JiaqianLi check these lines https://github.com/szagoruyko/cvpr15deepcompare/blob/master/pytorch/eval.py#L220-L230

szagoruyko avatar Aug 05 '19 17:08 szagoruyko

Thanks a lot. I run the code and have another problem. I want to know how to organize the test data. whether I create a new folder named liberty and then put two test images can work? And the test_matches file will automatically produce?

JiaqianLi avatar Aug 06 '19 03:08 JiaqianLi