MCPcopy Create free account
hub / github.com/MetaSLAM/SphereVLAD / shuffle_query

Method shuffle_query

dataloader/triplet_dataloader.py:65–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 return q_tuple
64
65 def shuffle_query(self):
66 random.shuffle(self.file_idxs)
67 self.data_count = 0
68
69 def get_tuple(self, dict_value, hard_neg=None, other_neg=False):
70 '''

Callers 1

get_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected