(self)
| 63 | self.num_samples = len(self.pids) |
| 64 | |
| 65 | def __len__(self): |
| 66 | return self.num_samples * self.num_instances |
| 67 | |
| 68 | def __iter__(self): |
| 69 | indices = torch.randperm(len(self.pids)).tolist() |
nothing calls this directly
no outgoing calls
no test coverage detected