sccross.models.sccross.SCCROSSTrainer¶
-
class
sccross.models.sccross.SCCROSSTrainer(net, lam_data=None, lam_kl=None, lam_graph=None, lam_align=None, lam_sup=None, normalize_u=None, domain_weight=None, optim=None, lr=None, **kwargs)[source]¶ Bases:
sccross.models.utils.TrainerMethods
Fit network
Format data tensors
Get loss values for given data
Load state from a state dict
State dict
A single training step
A single validation step
Attributes
BURNIN_NOISE_EXAGfreeze_uWhether to freeze cell embeddings
logger