Extract features from images.
(self, img)
| 69 | self.auxiliary_head = builder.build_head(auxiliary_head) |
| 70 | |
| 71 | def extract_feat(self, img): |
| 72 | """Extract features from images.""" |
| 73 | x = self.backbone(img) |
| 74 | if self.with_neck: |
| 75 | x = self.neck(x) |
| 76 | return x |
| 77 | |
| 78 | def encode_decode(self, img, img_metas): |
| 79 | """Encode images with backbone and decode into a semantic segmentation |
no outgoing calls
no test coverage detected