| from .build import build_loader as _build_loader | |
| from .data_simmim_pt import build_loader_simmim | |
| from .data_simmim_ft import build_loader_finetune | |
| def build_loader(config, simmim=False, is_pretrain=False): | |
| if not simmim: | |
| return _build_loader(config) | |
| if is_pretrain: | |
| return build_loader_simmim(config) | |
| else: | |
| return build_loader_finetune(config) | |
Xet Storage Details
- Size:
- 382 Bytes
- Xet hash:
- c3006da18eba4b9bcd73bde37db644f8cdfa0a15ec86e533203c07eeff5f1a7a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.