MCPcopy Create free account
hub / github.com/TorchSSL/TorchSSL / get_lb_test_data

Method get_lb_test_data

datasets/ssl_dataset.py:174–177  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

172 return data
173
174 def get_lb_test_data(self):
175 transform = self.get_transform(train=False, ulb=False)
176 data = ImagenetDataset(root=os.path.join(self.root_path, "val"), transform=transform, ulb=False)
177 return data
178
179
180def get_transform(mean, std, crop_size, train=True):

Callers 5

main_workerFunction · 0.95
main_workerFunction · 0.95
main_workerFunction · 0.95
main_workerFunction · 0.95
main_workerFunction · 0.95

Calls 2

get_transformMethod · 0.95
ImagenetDatasetClass · 0.85

Tested by

no test coverage detected