Base DINOv3-based pixel decoder
(
in_chans=256, out_chans=3, upscale_factor=4, **kwargs
)
| 181 | |
| 182 | |
| 183 | def dinov3_pixel_decoder_base( |
| 184 | in_chans=256, out_chans=3, upscale_factor=4, **kwargs |
| 185 | ): |
| 186 | """Base DINOv3-based pixel decoder""" |
| 187 | model = DinoV3PixelDecoder( |
| 188 | in_chans=in_chans, |
| 189 | out_chans=out_chans, |
| 190 | upscale_factor=upscale_factor, |
| 191 | embed_dim=768, |
| 192 | depth=12, |
| 193 | num_heads=12, |
| 194 | ffn_ratio=4, |
| 195 | **kwargs, |
| 196 | ) |
| 197 | return model |
| 198 | |
| 199 | |
| 200 | def dinov3_pixel_decoder_large( |
nothing calls this directly
no test coverage detected