MCPcopy Create free account
hub / github.com/ImprintLab/MedSegDiff / dpm_solver_adaptive

Method dpm_solver_adaptive

guided_diffusion/dpm_solver.py:916–968  ·  view source on GitHub ↗

The adaptive step size solver based on singlestep DPM-Solver. Args: x: A pytorch tensor. The initial value at time `t_T`. order: A `int`. The (higher) order of the solver. We only support order == 2 or 3. t_T: A `float`. The starting time of the s

(self, x, order, t_T, t_0, h_init=0.05, atol=0.0078, rtol=0.05, theta=0.9, t_err=1e-5, solver_type='dpmsolver')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sampleMethod · 0.95

Tested by

no test coverage detected