MCPcopy Create free account

hub / github.com/BeierZhu/xERM / functions

Functions728 in github.com/BeierZhu/xERM

↓ 1 callersMethoddebroadcast_sum
(self, per_example_info)
xERM.TDE.public/data/ClassPrioritySampler.py:392
↓ 1 callersFunctionfocal_loss
Computes the focal loss
xERM.RIDE.public/model/loss.py:16
↓ 1 callersMethodgen_imbalanced_data
(self, img_num_per_cls)
xERM.RIDE.public/data_loader/imbalance_cifar.py:34
↓ 1 callersMethodgen_imbalanced_data
(self, img_num_per_cls)
xERM.TDE.public/data/ImbalanceCIFAR.py:69
↓ 1 callersMethodget_adaptive_weights
Get the instance-aware weights, that are not mannually designed
xERM.PC.public/data/ClassPrioritySampler.py:107
↓ 1 callersMethodget_adaptive_weights
Get the instance-aware weights, that are not mannually designed
xERM.PC.public/data/MixedPrioritizedSampler.py:74
↓ 1 callersMethodget_adaptive_weights
Get the instance-aware weights, that are not mannually designed
xERM.TDE.public/data/ClassPrioritySampler.py:107
↓ 1 callersMethodget_adaptive_weights
Get the instance-aware weights, that are not mannually designed
xERM.TDE.public/data/MixedPrioritizedSampler.py:74
↓ 1 callersMethodget_annotations
(self)
xERM.PC.public/data/ImbalanceCIFAR.py:119
↓ 1 callersMethodget_annotations
(self)
xERM.TDE.public/data/ImbalanceCIFAR.py:108
↓ 1 callersMethodget_cls_weights
(self)
xERM.PC.public/data/ClassPrioritySampler.py:381
↓ 1 callersMethodget_cls_weights
(self)
xERM.TDE.public/data/ClassPrioritySampler.py:381
↓ 1 callersMethodget_cos_sin
(self, x, y)
xERM.PC.public/models/CausalNormClassifier.py:49
↓ 1 callersMethodget_cos_sin
(self, x, y)
xERM.TDE.public/models/CausalNormClassifierFixWeight.py:49
↓ 1 callersMethodget_cos_sin
(self, x, y)
xERM.TDE.public/models/CausalNormClassifierTrain.py:50
↓ 1 callersMethodget_cos_sin
(self, x, y)
xERM.TDE.public/models/CausalNormClassifier.py:50
↓ 1 callersMethodget_final_output
(self, output_logits, target)
xERM.RIDE.public/model/loss.py:102
↓ 1 callersMethodget_final_output
(self, output_logits, target)
xERM.RIDE.public/model/loss.py:289
↓ 1 callersMethodget_final_output
(self, output_logits, target)
xERM.RIDE.public/model/loss.py:422
↓ 1 callersMethodget_img_num_per_cls
(self, cls_num, imb_type, imb_factor)
xERM.RIDE.public/data_loader/imbalance_cifar.py:18
↓ 1 callersMethodget_img_num_per_cls
(self, cls_num, imb_type, imb_factor)
xERM.TDE.public/data/ImbalanceCIFAR.py:53
↓ 1 callersMethodget_leaf
(self, value)
xERM.PC.public/data/ClassPrioritySampler.py:175
↓ 1 callersMethodget_leaf
(self, value)
xERM.PC.public/data/MixedPrioritizedSampler.py:111
↓ 1 callersMethodget_leaf
(self, value)
xERM.TDE.public/data/ClassPrioritySampler.py:175
↓ 1 callersMethodget_leaf
(self, value)
xERM.TDE.public/data/MixedPrioritizedSampler.py:111
↓ 1 callersMethodget_uniform_weights
(self)
xERM.PC.public/data/ClassPrioritySampler.py:409
↓ 1 callersMethodget_uniform_weights
(self)
xERM.TDE.public/data/ClassPrioritySampler.py:409
↓ 1 callersFunctionget_value
(oldv, newv)
xERM.TDE.public/utils.py:257
↓ 1 callersMethodget_weights
(self)
xERM.PC.public/data/MixedPrioritizedSampler.py:143
↓ 1 callersMethodget_weights
(self)
xERM.TDE.public/data/MixedPrioritizedSampler.py:143
↓ 1 callersFunctioninf_loop
wrapper function for endless data loader.
xERM.RIDE.public/utils/util.py:77
↓ 1 callersMethodinit_criterions
(self)
xERM.PC.public/run_networks.py:136
↓ 1 callersMethodinit_criterions
(self)
xERM.TDE.public/run_networks.py:111
↓ 1 callersMethodinit_models
(self, optimizer=True)
xERM.PC.public/run_networks.py:92
↓ 1 callersMethodinit_models
(self, optimizer=True)
xERM.TDE.public/run_networks.py:69
↓ 1 callersMethodinitialize
Initialize the tree.
xERM.PC.public/data/ClassPrioritySampler.py:54
↓ 1 callersMethodinitialize
Initialize the tree.
xERM.PC.public/data/MixedPrioritizedSampler.py:30
↓ 1 callersMethodinitialize
Initialize the tree.
xERM.TDE.public/data/ClassPrioritySampler.py:54
↓ 1 callersMethodinitialize
Initialize the tree.
xERM.TDE.public/data/MixedPrioritizedSampler.py:30
↓ 1 callersMethodl2_norm
(self, x)
xERM.TDE.public/models/BaselineCosineClassifier.py:25
↓ 1 callersFunctionload_model
(model, pretrain)
xERM.PC.public/models/ResNet50Feature.py:14
↓ 1 callersFunctionload_model
(model, pretrain)
xERM.TDE.public/models/ResNet50Feature.py:15
↓ 1 callersMethodload_model
(self, pretrain)
xERM.PC.public/models/ResNet32Feature.py:92
↓ 1 callersMethodload_model
(self, pretrain)
xERM.TDE.public/models/ResNet32Feature.py:92
↓ 1 callersMethodload_model
(self, pretrain)
xERM.TDE.public/models/ResNet32FeatureCausal.py:94
↓ 1 callersMethodlog_acc
(self, accs)
xERM.PC.public/logger.py:32
↓ 1 callersMethodlog_acc
(self, accs)
xERM.TDE.public/logger.py:32
↓ 1 callersMethodlog_cfg
(self, cfg)
xERM.TDE.public/logger.py:27
↓ 1 callersMethodlog_loss
(self, losses)
xERM.PC.public/logger.py:44
↓ 1 callersMethodlog_loss
(self, losses)
xERM.TDE.public/logger.py:44
↓ 1 callersMethodlog_ws
(self, e, ws)
xERM.PC.public/logger.py:58
↓ 1 callersMethodlog_ws
(self, e, ws)
xERM.TDE.public/logger.py:58
↓ 1 callersFunctionlogits2CE
(logits, labels)
xERM.PC.public/utils.py:180
↓ 1 callersFunctionlogits2CE
(logits, labels)
xERM.TDE.public/utils.py:239
↓ 1 callersFunctionlogits2entropy
(logits)
xERM.PC.public/utils.py:172
↓ 1 callersFunctionlogits2entropy
(logits)
xERM.TDE.public/utils.py:231
↓ 1 callersFunctionlogits2score
(logits, labels)
xERM.PC.public/utils.py:165
↓ 1 callersFunctionlogits2score
(logits, labels)
xERM.TDE.public/utils.py:224
↓ 1 callersFunctionmain
(config)
xERM.RIDE.public/train.py:22
↓ 1 callersFunctionmain
(config)
xERM.RIDE.public/test.py:12
↓ 1 callersMethodmin
(self)
xERM.PC.public/data/MixedPrioritizedSampler.py:139
↓ 1 callersMethodmin
(self)
xERM.TDE.public/data/MixedPrioritizedSampler.py:139
↓ 1 callersMethodmine_lower_bound
(self, x_p, x_q, num_samples_per_cls)
xERM.PC.public/loss/LADELoss.py:29
↓ 1 callersFunctionpnorm
(weights, p)
xERM.RIDE.public/t-normalization.py:22
↓ 1 callersFunctionprint_grad_norm
(named_parameters, logger_func, log_file, verbose=False)
xERM.PC.public/utils.py:206
↓ 1 callersFunctionprint_grad_norm
(named_parameters, logger_func, log_file, verbose=False)
xERM.TDE.public/utils.py:265
↓ 1 callersMethodremine_lower_bound
(self, x_p, x_q, num_samples_per_cls)
xERM.PC.public/loss/LADELoss.py:36
↓ 1 callersMethodreset
(self)
xERM.RIDE.public/utils/util.py:88
↓ 1 callersMethodreset
(self)
xERM.PC.public/utils.py:375
↓ 1 callersMethodreset
(self)
xERM.TDE.public/utils.py:31
↓ 1 callersMethodreset_model
(self, model_state)
xERM.PC.public/run_networks.py:1105
↓ 1 callersMethodreset_model
(self, model_state)
xERM.TDE.public/run_networks.py:952
↓ 1 callersMethodreset_parameters
(self, weight)
xERM.PC.public/models/CausalNormClassifier.py:21
↓ 1 callersMethodreset_parameters
(self, weight)
xERM.TDE.public/models/BaselineCosineClassifier.py:16
↓ 1 callersMethodreset_parameters
(self, weight)
xERM.TDE.public/models/CausalNormClassifierFixWeight.py:21
↓ 1 callersMethodreset_parameters
(self, weight)
xERM.TDE.public/models/CausalNormClassifierTrain.py:21
↓ 1 callersMethodreset_parameters
(self, weight)
xERM.TDE.public/models/CausalNormClassifier.py:21
↓ 1 callersMethodreset_priority
(self, weights, labels)
xERM.PC.public/data/ClassPrioritySampler.py:517
↓ 1 callersMethodreset_priority
(self, weights, labels)
xERM.TDE.public/data/ClassPrioritySampler.py:517
↓ 1 callersMethodreset_weights
(self, epoch)
xERM.PC.public/data/ClassPrioritySampler.py:446
↓ 1 callersMethodreset_weights
(self, epoch)
xERM.TDE.public/data/ClassPrioritySampler.py:446
↓ 1 callersMethodsave_latest
(self, epoch)
xERM.PC.public/run_networks.py:1171
↓ 1 callersMethodsave_latest
(self, epoch)
xERM.TDE.public/run_networks.py:1019
↓ 1 callersMethodsave_model
(self, epoch, best_epoch, best_model_weights, best_acc)
xERM.PC.public/run_networks.py:1186
↓ 1 callersMethodsave_model
(self, epoch, best_epoch, best_model_weights, best_acc)
xERM.TDE.public/run_networks.py:1034
↓ 1 callersMethodsaving_feature_with_label_export
(self)
xERM.PC.public/run_networks.py:1219
↓ 1 callersMethodsaving_feature_with_label_init
(self)
xERM.PC.public/run_networks.py:1207
↓ 1 callersMethodsaving_feature_with_label_update
(self, features, logits, labels)
xERM.PC.public/run_networks.py:1213
↓ 1 callersFunctionsetup_logging
Setup logging configuration
xERM.RIDE.public/logger/logger.py:7
↓ 1 callersFunctionshot_acc
(preds, labels, train_data, many_shot_thr=100, low_shot_thr=20, acc_per_cls=False)
xERM.RIDE.public/test.py:170
↓ 1 callersFunctionshot_precision
(preds, labels, train_data, many_shot_thr=100, low_shot_thr=20, acc_per_cls=False)
xERM.RIDE.public/test.py:218
↓ 1 callersMethodshow_current_lr
(self)
xERM.PC.public/run_networks.py:196
↓ 1 callersMethodshow_current_lr
(self)
xERM.TDE.public/run_networks.py:172
↓ 1 callersMethodshuffle_batch
(self, x, y)
xERM.PC.public/run_networks.py:270
↓ 1 callersMethodshuffle_batch
(self, x, y)
xERM.TDE.public/run_networks.py:244
↓ 1 callersFunctionsmooth_l1_loss
(input, target, beta=1. / 9, reduction='mean')
xERM.PC.public/utils.py:229
↓ 1 callersFunctionsmooth_l1_loss
(input, target, beta=1. / 9, reduction='mean')
xERM.TDE.public/utils.py:288
↓ 1 callersFunctiontest
(net)
xERM.RIDE.public/model/ldam_drw_resnets/ea_resnet_cifar.py:276
↓ 1 callersFunctiontest
(net)
xERM.RIDE.public/model/ldam_drw_resnets/resnet_cifar.py:190
↓ 1 callersFunctiontest
(net)
xERM.RIDE.public/model/ldam_drw_resnets/ride_resnet_cifar.py:223
← previousnext →201–300 of 728, ranked by callers