(self, im_crops)
| 138 | return im_batch |
| 139 | |
| 140 | def __call__(self, im_crops): |
| 141 | im_batch = self._preprocess(im_crops) |
| 142 | with torch.no_grad(): |
| 143 | im_batch = im_batch.to(self.device) |
| 144 | features = self.net(im_batch) |
| 145 | return features.cpu().numpy() |
nothing calls this directly
no test coverage detected