MCPcopy Create free account
hub / github.com/Closed11/Unsupervised-Image-Classification / __init__

Method __init__

UIC/sampler.py:11–14  ·  view source on GitHub ↗
(self, N, images_lists)

Source from the content-addressed store, hash-verified

9 """
10
11 def __init__(self, N, images_lists):
12 self.N = N
13 self.images_lists = images_lists
14 self.indexes = self.generate_indexes_epoch()
15
16 def generate_indexes_epoch(self):
17 size_per_pseudolabel = int(self.N / len(self.images_lists)) + 1

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected