MultiModalPredictor.dump_model#
- MultiModalPredictor.dump_model(save_path: Optional[str] = None)[source]#
Save model weights and config to local directory. Model weights are saved in file pytorch_model.bin (timm, hf) or ‘<ckpt_name>.pth’ (mmdet); Configs are saved in file config.json (timm, hf) or ‘<ckpt_name>.py’ (mmdet).
- Parameters
save_path (str) – Path to directory where models and configs should be saved.