(path)
| 32 | |
| 33 | |
| 34 | def get_model(path): |
| 35 | config = OmegaConf.load("configs/custom-diffusion/finetune.yaml") |
| 36 | model = load_model_from_config(config, path) |
| 37 | return model, config |
| 38 | |
| 39 | |
| 40 | def gdupdateWexact(K, V, Ktarget1, Vtarget1, W, device='cuda'): |
no test coverage detected