MCPcopy Create free account

hub / github.com/BeierZhu/xERM / functions

Functions728 in github.com/BeierZhu/xERM

Methodforward
(self, x)
xERM.RIDE.public/model/fb_resnets/ResNeXt.py:33
Methodforward
(self, x)
xERM.RIDE.public/model/fb_resnets/ResNeXt.py:70
Methodforward
(self, x)
xERM.RIDE.public/model/fb_resnets/ResNeXt.py:174
Methodforward
Forward pass logic :return: Model output
xERM.RIDE.public/base/base_model.py:11
Methodforward
(self, x, *args)
xERM.PC.public/models/DotProductClassifier.py:27
Methodforward
(self, x)
xERM.PC.public/models/ResNet32Feature.py:23
Methodforward
(self, x)
xERM.PC.public/models/ResNet32Feature.py:67
Methodforward
(self, x, **kwargs)
xERM.PC.public/models/ResNet32Feature.py:118
Methodforward
(self, x, label, embed)
xERM.PC.public/models/TauNormClassifier.py:32
Methodforward
(self, x)
xERM.PC.public/models/ResNextFeature.py:32
Methodforward
(self, x)
xERM.PC.public/models/ResNextFeature.py:70
Methodforward
(self, x, *args)
xERM.PC.public/models/ResNextFeature.py:156
Methodforward
(self, x, label, embed)
xERM.PC.public/models/CausalNormClassifier.py:25
Methodforward
(self, x)
xERM.PC.public/models/ResNetFeature.py:38
Methodforward
(self, x)
xERM.PC.public/models/ResNetFeature.py:72
Methodforward
(self, x, *args)
xERM.PC.public/models/ResNetFeature.py:146
Methodforward
(self, x, y)
xERM.PC.public/loss/PriorCELoss.py:22
Methodforward
(self, input, target)
xERM.PC.public/loss/FocalLoss.py:12
Methodforward
y_pred: N x C target: N
xERM.PC.public/loss/LADELoss.py:41
Methodforward
(self, logits_F, logits_CF, logits_FCF, labels)
xERM.PC.public/loss/xERMLoss.py:11
Methodforward
(self, x, *args)
xERM.TDE.public/models/DotProductClassifier.py:26
Methodforward
(self, x, label, embed)
xERM.TDE.public/models/BaselineCosineClassifier.py:34
Methodforward
(self, x)
xERM.TDE.public/models/ResNet32Feature.py:23
Methodforward
(self, x)
xERM.TDE.public/models/ResNet32Feature.py:67
Methodforward
(self, x, **kwargs)
xERM.TDE.public/models/ResNet32Feature.py:118
Methodforward
(self, x, label, embed)
xERM.TDE.public/models/CausalNormClassifierFixWeight.py:25
Methodforward
(self, x, label, embed)
xERM.TDE.public/models/TauNormClassifier.py:32
Methodforward
(self, x)
xERM.TDE.public/models/ResNextFeature.py:32
Methodforward
(self, x)
xERM.TDE.public/models/ResNextFeature.py:70
Methodforward
(self, x, *args)
xERM.TDE.public/models/ResNextFeature.py:156
Methodforward
(self, x, label, embed)
xERM.TDE.public/models/CausalNormClassifierTrain.py:25
Methodforward
(self, x)
xERM.TDE.public/models/ResNet32FeatureCausal.py:25
Methodforward
(self, x)
xERM.TDE.public/models/ResNet32FeatureCausal.py:68
Methodforward
(self, x, **kwargs)
xERM.TDE.public/models/ResNet32FeatureCausal.py:120
Methodforward
(self, x, label, embed)
xERM.TDE.public/models/CausalNormClassifier.py:25
Methodforward
(self, x)
xERM.TDE.public/models/ResNetFeature.py:38
Methodforward
(self, x)
xERM.TDE.public/models/ResNetFeature.py:72
Methodforward
(self, x, *args)
xERM.TDE.public/models/ResNetFeature.py:179
Methodforward
(self, input, target)
xERM.TDE.public/loss/FocalLoss.py:12
Methodforward
(self, logits_TE, logits_TDE, logits_student, labels)
xERM.TDE.public/loss/xERM_loss.py:11
Methodget_cls_num_list
(self)
xERM.RIDE.public/data_loader/imbalance_cifar.py:52
Methodget_cls_num_list
(self)
xERM.PC.public/data/ImbalanceCIFAR.py:125
Methodget_cls_num_list
(self)
xERM.TDE.public/data/ImbalanceCIFAR.py:114
Methodget_cos_sin
(self, x, y)
xERM.TDE.public/models/BaselineCosineClassifier.py:20
Methodget_lr
(self)
xERM.PC.public/utils.py:329
Methodget_lr
(self)
xERM.TDE.public/utils.py:388
Methodget_num_classes
(self)
xERM.PC.public/data/ImbalanceCIFAR.py:116
Methodget_num_classes
(self)
xERM.TDE.public/data/ImbalanceCIFAR.py:105
Functionget_sampler
()
xERM.PC.public/data/ClassPrioritySampler.py:532
Functionget_sampler
()
xERM.PC.public/data/MixedPrioritizedSampler.py:358
Functionget_sampler
()
xERM.PC.public/data/ClassAwareSampler.py:84
Functionget_sampler
()
xERM.TDE.public/data/ClassPrioritySampler.py:532
Functionget_sampler
()
xERM.TDE.public/data/MixedPrioritizedSampler.py:358
Functionget_sampler
()
xERM.TDE.public/data/ClassAwareSampler.py:84
Functionget_value
(oldv, newv)
xERM.PC.public/utils.py:198
Methodget_weights
(self)
xERM.PC.public/data/ClassPrioritySampler.py:528
Methodget_weights
(self)
xERM.PC.public/data/MixedPrioritizedSampler.py:354
Methodget_weights
(self)
xERM.TDE.public/data/ClassPrioritySampler.py:528
Methodget_weights
(self)
xERM.TDE.public/data/MixedPrioritizedSampler.py:354
Functiongflops_normed_linear
(m, x, y)
xERM.RIDE.public/utils/gflops.py:53
Functiongumbel_sigmoid
(logits, tau=1, hard=False, gumbel=True)
xERM.PC.public/utils.py:283
Functiongumbel_sigmoid
(logits, tau=1, hard=False, gumbel=True)
xERM.TDE.public/utils.py:342
Functiongumbel_softmax
(logits, tau=1, hard=False, gumbel=True, dim=-1)
xERM.PC.public/utils.py:264
Functiongumbel_softmax
(logits, tau=1, hard=False, gumbel=True, dim=-1)
xERM.TDE.public/utils.py:323
Methodinit_ftn
Finds a function handle with the name given as 'type' in config, and returns the function with given arguments fixed with functools.p
xERM.RIDE.public/parse_config.py:104
Methodl2_norm
(self, x)
xERM.PC.public/models/CausalNormClassifier.py:65
Methodl2_norm
(self, x)
xERM.TDE.public/models/CausalNormClassifierFixWeight.py:65
Methodl2_norm
(self, x)
xERM.TDE.public/models/CausalNormClassifierTrain.py:66
Methodl2_norm
(self, x)
xERM.TDE.public/models/CausalNormClassifier.py:66
Functionload_data
(data_root, dataset, phase, batch_size, top_k_class=None, sampler_dic=None, num_workers=4, shuff
xERM.PC.public/data/dataloader.py:128
Functionload_data
(data_root, dataset, phase, batch_size, top_k_class=None, sampler_dic=None, num_workers=4, shuffle=True, cifar
xERM.TDE.public/data/dataloader.py:119
Methodlog_dir
(self)
xERM.RIDE.public/parse_config.py:140
Functionlr_lambda
(epoch)
xERM.RIDE.public/train.py:55
Methodmax
(self)
xERM.PC.public/data/MixedPrioritizedSampler.py:135
Methodmax
(self)
xERM.TDE.public/data/MixedPrioritizedSampler.py:135
Methodmin
(self)
xERM.PC.public/data/ClassPrioritySampler.py:203
Methodmin
(self)
xERM.TDE.public/data/ClassPrioritySampler.py:203
Methodoutput_logits
(self)
xERM.PC.public/run_networks.py:1199
Methodoutput_logits
(self)
xERM.TDE.public/run_networks.py:1047
Functionregression_loss
(input, target, l2=False, pre_mean=True, l1=False, moving_average=False, moving_ratio=0.01)
xERM.PC.public/utils.py:246
Functionregression_loss
(input, target, l2=False, pre_mean=True, l1=False, moving_average=False, moving_ratio=0.01)
xERM.TDE.public/utils.py:305
Methodreset_weights
(self, epoch)
xERM.PC.public/data/MixedPrioritizedSampler.py:323
Methodreset_weights
(self, epoch)
xERM.TDE.public/data/MixedPrioritizedSampler.py:323
Functionresnet110
()
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:268
Functionresnet110
()
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:182
Functionresnet110
()
xERM.RIDE.public/model/ldam_drw_resnets/ride_resnet_cifar.py:215
Functionresnet1202
()
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:272
Functionresnet1202
()
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:186
Functionresnet1202
()
xERM.RIDE.public/model/ldam_drw_resnets/ride_resnet_cifar.py:219
Functionresnet20
()
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:252
Functionresnet20
()
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:166
Functionresnet20
()
xERM.RIDE.public/model/ldam_drw_resnets/ride_resnet_cifar.py:199
Functionresnet32
(num_classes=10, use_norm=False)
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:256
Functionresnet32
(num_classes=10, use_norm=False)
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:170
Functionresnet32
(num_classes=10, use_norm=False)
xERM.RIDE.public/model/ldam_drw_resnets/ride_resnet_cifar.py:203
Functionresnet44
()
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:260
Functionresnet44
()
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:174
Functionresnet44
()
xERM.RIDE.public/model/ldam_drw_resnets/ride_resnet_cifar.py:207
Functionresnet56
()
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:264
Functionresnet56
()
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:178
← previousnext →601–700 of 728, ranked by callers