(self, root_path, num_labels=-1, num_class=1000)
| 142 | |
| 143 | class ImageNetLoader: |
| 144 | def __init__(self, root_path, num_labels=-1, num_class=1000): |
| 145 | self.root_path = os.path.join(root_path, 'imagenet') |
| 146 | self.num_labels = num_labels // num_class |
| 147 | |
| 148 | def get_transform(self, train, ulb): |
| 149 | if train: |
nothing calls this directly
no outgoing calls
no test coverage detected