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

Function space_timesteps

guided_diffusion/respace.py:7–60  ·  view source on GitHub ↗

Create a list of timesteps to use from an original diffusion process, given the number of timesteps we want to take from equally-sized portions of the original process. For example, if there's 300 timesteps and the section counts are [10,15,20] then the first 100 timesteps are

(num_timesteps, section_counts)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected