question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reverse sampling for schedulers

See original GitHub issue

Model/Pipeline/Scheduler description

Some of the samplers (e.g. DDIM) are fully reversible. A simple API addition of reverse_step() or a mixin can be implemented. This will allow interpolating between images not generated by diffusion models.

Open source status

  • The model implementation is available
  • The model weights are available (Only relevant if addition is not a scheduler).

Provide useful links for the implementation

https://github.com/crowsonkb/v-diffusion-jax/blob/master/diffusion/sampling.py by @crowsonkb implements reverse sampling for V-objective diffusionon

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
neverixcommented, Oct 17, 2022

For just DDIM this would work - but the code is pretty much the same between the forward and reverse process, so I think inheriting or adding it as a method for the DDIM scheduler would work better. I’ll implement the rest of the paper in the notebook and write back

1reaction
neverixcommented, Oct 10, 2022

The code for this is in the Colab linked above

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schedulers - Hugging Face
Predict the sample at the previous timestep by reversing the SDE. Core function ...
Read more >
1 Sampling and Scheduling for Minimizing Age ... - Auburn University
In this chapter, we consider a joint sampling and scheduling problem for optimizing ... In the reverse direction, if Θ(β) ≤ 0, then...
Read more >
Scheduled Sampling for Sequence Prediction with Recurrent ...
We used an inverse sigmoid decay schedule for ϵi for the scheduled sampling approach. Table 1 shows the results on various metrics on...
Read more >
Optimal Sampling and Scheduling for Timely Status Updates ...
We show this result by proving the optimality of the zero-wait sampler for minimizing the. Ta-APD, when the scheduling policy is fixed to...
Read more >
Age-optimal Sampling and Transmission Scheduling in Multi ...
Age of information; Data freshness; Sampling; Scheduling, Infor- ... In the reverse direction, if p(β) ≤ 0, then there exists a sam-.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found