MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / gen_sample_traj

Method gen_sample_traj

train_generation.py:453–457  ·  view source on GitHub ↗
(self, shape, device, freq, noise_fn=torch.randn,
                    clip_denoised=True,keep_running=False)

Source from the content-addressed store, hash-verified

451 keep_running=keep_running)
452
453 def gen_sample_traj(self, shape, device, freq, noise_fn=torch.randn,
454 clip_denoised=True,keep_running=False):
455 return self.diffusion.p_sample_loop_trajectory(self._denoise, shape=shape, device=device, noise_fn=noise_fn, freq=freq,
456 clip_denoised=clip_denoised,
457 keep_running=keep_running)
458
459 def train(self):
460 self.model.train()

Callers 1

trainFunction · 0.95

Calls 1

Tested by

no test coverage detected