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

sample seq problem #40

Open
redcping opened this issue Aug 16, 2024 · 1 comment
Open

sample seq problem #40

redcping opened this issue Aug 16, 2024 · 1 comment

Comments

@redcping
Copy link

In the diffusion.py file, during uniform sampling, the sequence is obtained as follows:
skip = self.num_timesteps // self.args.timesteps
seq = range(0, self.num_timesteps, skip)
However, when sampling 10 steps, the generated sequence is [0, 100, 200, 300, 400, 500, 600, 700, 800, 900]. This means the denoising starts from t=900. Shouldn't the sequence be [0, 111, 222, 333, 444, 555, 666, 777, 888, 999] to ensure a more evenly spaced sampling?

@qiaozhijian
Copy link

See this issue 686. It seems starting from 1000 is better.

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

2 participants