build encoder and final model
(self)
| 49 | self.num_classes = opt["train"]["num_classes"] |
| 50 | |
| 51 | def build(self): |
| 52 | """ |
| 53 | build encoder and final model |
| 54 | """ |
| 55 | encoder = get_encoder(self.image_height, self.image_width) |
| 56 | model = get_classification(encoder, self.num_classes) |
| 57 | return model |
| 58 | |
| 59 | |
| 60 | def get_model(opt): |
no test coverage detected