(self, config: VTPConfig)
| 80 | """ |
| 81 | |
| 82 | def __init__(self, config: VTPConfig): |
| 83 | super().__init__(config) |
| 84 | self.config = config |
| 85 | |
| 86 | self._init_vision_components() |
| 87 | if config.train_clip: |
| 88 | self._init_text_components() |
| 89 | |
| 90 | self.post_init() |
| 91 | |
| 92 | def _init_vision_components(self): |
| 93 | """Initialize vision encoder and related components.""" |
nothing calls this directly
no test coverage detected