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

Missing files when sampling with pre-trained model #3

Open
Suimingzhe opened this issue Aug 29, 2023 · 5 comments
Open

Missing files when sampling with pre-trained model #3

Suimingzhe opened this issue Aug 29, 2023 · 5 comments

Comments

@Suimingzhe
Copy link

Thanks for your job!
Could you please provide the file './hydra' and 'ema_averaged_model.ckpt' in pre-trained CPD25 and CPD50 ?

@NeRF-Factory
Copy link

NeRF-Factory commented Aug 30, 2023

After so many hours of debugging...I finally run the code successfully.
The './hydra' and 'ema_averaged_model.ckpt' are unnecessary. Instead, I modify several lines of code in 'sample. py'. If you want the code, you can add my WeChat:130008841490. I will provide a detailed explanation for you.

@aksy2512
Copy link

aksy2512 commented Nov 3, 2023

@NeRF-Factory Can you please explain, how did u change the sampling code

@NeRF-Factory
Copy link

NeRF-Factory commented Nov 28, 2023

@aksy2512
Exactly, the checkpoint provided by the official repository is the weight of the 'eps_model' which is defined in the class 'DenoisingDiffusionProbabilisticModel'. You should write a new code for loading the checkpoint in the "sample.py". Additionally, the sampling process is also defined in 'DenoisingDiffusionProbabilisticModel'. You can find the code in "./diffusion/ddpm.py". This requires some modifications, but it's not too difficult.

I hope this help to answer your concern.

@robbbgm
Copy link

robbbgm commented Jan 14, 2024

@NeRF-Factory Could you please provide us with the code?

@fdbtrs
Copy link
Owner

fdbtrs commented Feb 15, 2024

The instructions for sampling have been updated. Check the requirements list and make sure to download all required models and configuration

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

5 participants