MCPcopy Create free account

hub / github.com/MotrixLab/FineMoGen / functions

Functions416 in github.com/MotrixLab/FineMoGen

Methodsingle_evaluate
(self, results)
mogen/core/evaluation/evaluators/diversity_evaluator.py:32
Methodsingle_evaluate
(self, results)
mogen/core/evaluation/evaluators/precision_evaluator.py:29
Methodsingle_evaluate
(self, results)
mogen/core/evaluation/evaluators/matching_score_evaluator.py:28
Methodsingle_evaluate
(self, results)
mogen/core/evaluation/evaluators/multimodality_evaluator.py:39
Functiontorch_to_numpy
(x)
mogen/utils/misc.py:12
Methodtrain_step
Train step function. Args: inputs (Tensor): Input Tensor. kwargs (dict): Args for ``mmcv.parallel.sca
mogen/core/distributed_wrapper.py:112
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimiz
mogen/models/architectures/base_architecture.py:59
Functionupdate
(index)
mogen/utils/plot_utils.py:166
Methodupdate_with_all_losses
(self, ts, losses)
mogen/models/utils/gaussian_diffusion.py:151
Methodval_step
Validation step function. Args: inputs (tuple): Input data. kwargs (dict): Args for ``scatter_kwargs``.
mogen/core/distributed_wrapper.py:125
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note th
mogen/models/architectures/base_architecture.py:91
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, tar
mogen/models/losses/utils.py:52
Methodweights
(self)
mogen/models/utils/gaussian_diffusion.py:70
Methodweights
(self)
mogen/models/utils/gaussian_diffusion.py:142
Functionworker_init_fn
Init random seed for each worker.
mogen/datasets/builder.py:107
Functionwrapper
(pred, target, weight=None, reduction='mean',
mogen/models/losses/utils.py:79
← previous401–416 of 416, ranked by callers