MCPcopy Index your code
hub / github.com/TorchSSL/TorchSSL / get_ulb_train_data

Method get_ulb_train_data

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

Source from the content-addressed store, hash-verified

167 return data
168
169 def get_ulb_train_data(self):
170 transform = self.get_transform(train=True, ulb=True)
171 data = ImagenetDataset(root=os.path.join(self.root_path, "train"), transform=transform, ulb=True)
172 return data
173
174 def get_lb_test_data(self):
175 transform = self.get_transform(train=False, ulb=False)

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