Closed abrayyan closed 1 year ago
Hi, @datitran I see that my changes was replicated in another branch here https://github.com/idealo/imagededup/pull/182 , is there a reason why the changes from here was not merged directly ?
@abrayyan hey weird I seem to close the PR by accident. @tanujjain you worked on running it on GPU. Can you please review the PR.
Hi. I just pushed a fix for the failing test. However, originally in cnn you are returning this: img_features_tensor.detach().numpy()[0, ..., 0, 0]
This returns (1 FEATURE_SIZE) and this causes cosine similarity to fail when finding duplicates because you end up with a vector of (Number of Image 1 * FEATURE_SIZE) Error:
The push i did before fixes this error but fails the test