Extract features from images.
(self, img)
| 63 | self.auxiliary_head = builder.build_head(auxiliary_head) |
| 64 | |
| 65 | def extract_feat(self, img): |
| 66 | """Extract features from images.""" |
| 67 | x = self.backbone(img) |
| 68 | if self.with_neck: |
| 69 | x = self.neck(x) |
| 70 | return x |
| 71 | |
| 72 | def encode_decode(self, img, img_metas): |
| 73 | """Encode images with backbone and decode into a semantic segmentation |
no outgoing calls
no test coverage detected