Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for I190000_E97_gen.pth #6

Open
KaKmsyCJY opened this issue Oct 8, 2024 · 1 comment
Open

Request for I190000_E97_gen.pth #6

KaKmsyCJY opened this issue Oct 8, 2024 · 1 comment

Comments

@KaKmsyCJY
Copy link

Dear Professor Zeng,
Your Diff-Unmix code in test_diff-unmix_Gaussian_noise.py texted that:

## load model
fix_diff = 1
if fix_diff:
    gen_path = './guided_diffusion/I190000_E97_gen.pth'
    cks = torch.load(gen_path)
    new_cks = OrderedDict()
    for k, v in cks.items():
        newkey = k[11:] if k.startswith('denoise_fn.') else k
        new_cks[newkey] = v
    model.load_state_dict(new_cks, strict=False)
model.to(device)
# model.train()
model.eval()

I think it request I190000_E97_gen.pth and it didn't included. I would be much appreciated it if you could provide this document.
@KaKmsyCJY
Copy link
Author

Can I download diffusion-model-I190000_E97_opt.pth to replace this file from https://github.com/wgcban/ddpm-cd/releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant