Overwrite model.train with this function to make sure train/eval mode does not change anymore.
(self, mode=True)
| 20 | |
| 21 | |
| 22 | def disabled_train(self, mode=True): |
| 23 | """Overwrite model.train with this function to make sure train/eval mode |
| 24 | does not change anymore.""" |
| 25 | return self |
| 26 | |
| 27 | |
| 28 | def load_midas_transform(model_type): |
nothing calls this directly
no outgoing calls
no test coverage detected