metric-learning-divide-and-conquer icon indicating copy to clipboard operation
metric-learning-divide-and-conquer copied to clipboard

Source code for the paper "Divide and Conquer the Embedding Space for Metric Learning", CVPR 2019

Results 6 metric-learning-divide-and-conquer issues
Sort by recently updated
recently updated
newest added

Hi, Thanks for the code. Lately, I worked with the code and found out that there are two slights errors in the code, my observations are for python version 3.7....

https://github.com/CompVis/metric-learning-divide-and-conquer/blob/1766c2cffe1075692657898d2086af4bc9d92929/lib/evaluation/recall.py#L9 Hi, is the code above, which calculates recal@k metrics correct? it looks like top-k accuracy to me (when we add 1 to result sum, if we find at least...

Hi: In sample function, I may have found a small mistake. Code in https://github.com/CompVis/metric-learning-divide-and-conquer/blob/master/lib/data/loader/sampler.py#L59 Maybe you meaning is ``` replace = len(self.C_index[class_]) < self.num_samples_per_class ``` Symbol ')' is placed in...

[flake8](http://flake8.pycqa.org) testing of https://github.com/CompVis/metric-learning-divide-and-conquer on Python 3.7.1 $ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__ ``` ./lib/model.py:84:36: F821 undefined name '_sz_features' model.sz_features_output = _sz_features[type(model)] ^ 1 F821 undefined name '_sz_features' 1...

can someone explain to me? import numpy as np import torch import torch.nn.functional as F import matplotlib.pyplot as plt from time import time from torchvision import datasets, transforms from torch...