MCPcopy Create free account
hub / github.com/MarcCoru/locationencoder / __len__

Method __len__

data/inat2018_loader.py:155–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153 return item
154
155 def __len__(self):
156 return len(self.imgs)
157
158 def compute_logits(self, model, logits_file):
159 """Compute logits for all images in the dataset using the provided model

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected