MCPcopy Create free account

hub / github.com/3DTopia/DynamicCity / functions

Functions220 in github.com/3DTopia/DynamicCity

Methodforward
(self, x)
dynamic_city/utils/attention_utils.py:21
Methodforward
(self, x, y)
dynamic_city/utils/attention_utils.py:48
Methodforward_voxel
(self, voxel)
dynamic_city/vae/decoder.py:59
Methodforward_with_cfg
Forward pass of DiT, but also batches the unconditional forward pass for classifier-free guidance.
dynamic_city/diffusion/models.py:258
Functionfunc_rank_0
(func)
dynamic_city/utils/dist_utils.py:13
Functionget_named_beta_schedule
Get a pre-defined beta schedule for the given name. The beta schedule library consists of beta schedules which remain similar in the limi
dynamic_city/diffusion/gaussian_diffusion.py:98
Methodget_sequences
(self)
dynamic_city/dataset/carlasc.py:14
Methodget_voxel
(self, path)
dynamic_city/dataset/carlasc.py:31
Methodis_vb
(self)
dynamic_city/diffusion/gaussian_diffusion.py:54
Functionisnan
(x)
dynamic_city/utils/lovasz.py:112
Methodp_mean_variance
( self, model, *args, **kwargs )
dynamic_city/diffusion/respace.py:89
Methodprepare
(self)
dynamic_city/dataset/carlasc.py:44
Methodprocess_xstart
(x)
dynamic_city/diffusion/gaussian_diffusion.py:310
Methodsample
Importance-sample timesteps for a batch. :param batch_size: the number of timesteps. :param device: the torch device to save
dynamic_city/diffusion/timestep_sampler.py:44
Methodtraining_losses
Compute training losses for a single timestep. :param model: the model to evaluate loss on. :param x_start: the [N x C x ...]
dynamic_city/diffusion/gaussian_diffusion.py:715
Methodupdate_with_all_losses
(self, ts, losses)
dynamic_city/diffusion/timestep_sampler.py:139
Methodupdate_with_local_losses
Update the reweighting using losses from a model. Call this method from each rank with a batch of timesteps and the correspon
dynamic_city/diffusion/timestep_sampler.py:72
Methodvox_to_planes
(self, x, t_vox=None)
dynamic_city/vae/encoder.py:128
Methodweights
(self)
dynamic_city/diffusion/timestep_sampler.py:67
Methodweights
(self)
dynamic_city/diffusion/timestep_sampler.py:130
← previous201–220 of 220, ranked by callers