Filter the input images store all intermediate features. :param images: [B, C, H, W] input images
(self, images)
| 55 | init_net(self) |
| 56 | |
| 57 | def filter(self, images): |
| 58 | ''' |
| 59 | Filter the input images |
| 60 | store all intermediate features. |
| 61 | :param images: [B, C, H, W] input images |
| 62 | ''' |
| 63 | self.im_feat_list, self.tmpx, self.normx = self.image_filter(images) |
| 64 | # If it is not in training, only produce the last im_feat |
| 65 | if not self.training: |
| 66 | self.im_feat_list = [self.im_feat_list[-1]] |
| 67 | |
| 68 | def query(self, points, calibs, transforms=None, labels=None): |
| 69 | ''' |
no outgoing calls
no test coverage detected