| import abc | |
| class BaseModel(): | |
| def fetch_vit(self): | |
| pass | |
| def fetch_llm(self): | |
| pass | |
| def fetch_proj(self): | |
| pass | |
| def vision_preprocess(self, image): | |
| pass | |
| def language_preprocess(self, text): | |
| pass | |
| def forward(self, *args, **kwargs): | |
| pass | |
| def __call__(self, *args, **kwargs): | |
| return self.forward(*args, **kwargs) |