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

Method get_lb_train_data

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

Source from the content-addressed store, hash-verified

161 return transform
162
163 def get_lb_train_data(self):
164 transform = self.get_transform(train=True, ulb=False)
165 data = ImagenetDataset(root=os.path.join(self.root_path, "train"), transform=transform, ulb=False,
166 num_labels=self.num_labels)
167 return data
168
169 def get_ulb_train_data(self):
170 transform = self.get_transform(train=True, ulb=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