MCPcopy Create free account

hub / github.com/YUE-FAN/CoSSL / functions

Functions260 in github.com/YUE-FAN/CoSSL

↓ 200 callersMethodupdate
(self, val, n=1)
utils/misc.py:72
↓ 116 callersMethodappend
(self, numbers)
utils/logger.py:61
↓ 23 callersFunctionmake_imb_data
(max_num, class_num, gamma)
utils/utils.py:17
↓ 23 callersMethodstep
(self)
utils/utils.py:87
↓ 16 callersFunctionaccuracy
Computes the precision@k for the specified values of k
utils/eval.py:5
↓ 13 callersMethodclose
(self)
utils/logger.py:79
↓ 12 callersFunctionmkdir_p
make dir if not exist
utils/misc.py:49
↓ 12 callersMethodset_names
(self, names)
utils/logger.py:47
↓ 10 callersFunctionsave_checkpoint
(state, epoch, checkpoint, filename='checkpoint.pth.tar')
utils/utils.py:118
↓ 9 callersFunction_float_parameter
(v, max_v)
dataset/randaugment.py:139
↓ 8 callersFunctioninterleave
(xy, batch)
utils/utils.py:109
↓ 7 callersFunctionget_weighted_sampler
(target_sample_rate, num_sample_per_class, target)
utils/utils.py:126
↓ 7 callersMethodstep
(self)
train_small_imagenet127_fix_cossl.py:691
↓ 7 callersMethodstep
(self)
train_food_fix_cossl.py:646
↓ 4 callersMethod__init__
(self, width, num_classes, rotation=True, block_name='residual', rotnet=None, classifier_bias=True)
models/wrn.py:94
↓ 4 callersFunction_int_parameter
(v, max_v)
dataset/randaugment.py:143
↓ 4 callersMethod_make_layer
(self, block, planes, num_blocks, stride)
models/resnet.py:105
↓ 4 callersFunctionlinear_rampup
(current, rampup_length)
utils/utils.py:31
↓ 4 callersFunctionrelu
()
models/wrn.py:9
↓ 3 callersFunctionCutoutAbs
(img, v, **kwarg)
dataset/randaugment.py:47
↓ 3 callersFunctionclassifier_warmup
(model, train_labeled_set, train_unlabeled_set, N_SAMPLES_PER_CLASS, num_class, use_cuda, args)
utils/tfe_init.py:17
↓ 3 callersFunctionconv3x3
(i_c, o_c, stride=1)
models/wrn.py:5
↓ 3 callersMethodstep
(self)
train_cifar_remix_crest.py:760
↓ 3 callersMethodstep
(self)
train_food_fix.py:453
↓ 3 callersMethodstep
(self)
train_cifar_fix_crest.py:710
↓ 2 callersMethod__init__
(self, transform)
dataset/mix_cifar10.py:28
↓ 2 callersMethod__init__
(self, transform, transform2)
dataset/fix_cifar10.py:37
↓ 2 callersMethod__init__
(self, transform, transform2)
dataset/remix_cifar10.py:36
↓ 2 callersMethod__init__
(self, block, num_blocks, num_classes=10, rotation=True, rotnet=None, classifier_bias=True)
models/resnet.py:73
↓ 2 callersFunctioncreate_model
(ema=False, clf_bias=True)
train_cifar_fix_cossl.py:137
↓ 2 callersFunctioncreate_model
(ema=False, clf_bias=True)
train_small_imagenet127_fix_cossl.py:143
↓ 2 callersFunctioncreate_model
(ema=False)
train_cifar_fix.py:129
↓ 2 callersFunctioncreate_model
(ema=False)
train_food_fix_cossl.py:163
↓ 2 callersFunctioncreate_model
(ema=False)
train_cifar_remix_crest.py:350
↓ 2 callersFunctioncreate_model
(ema=False)
train_food_fix.py:125
↓ 2 callersFunctioncreate_model
(ema=False)
train_small_imagenet127_fix.py:110
↓ 2 callersFunctioncreate_model
(ema=False, clf_bias=True)
train_cifar_remix_cossl.py:128
↓ 2 callersFunctioncreate_model
(ema=False)
train_cifar_fix_crest.py:342
↓ 2 callersFunctioncreate_model
(ema=False)
train_cifar_mix.py:109
↓ 2 callersFunctioncreate_model
(ema=False, clf_bias=True)
train_cifar_mix_cossl.py:125
↓ 2 callersFunctioncreate_model
(ema=False)
train_cifar_remix.py:115
↓ 2 callersFunctionget_small_imagenet
(root, img_size, labeled_percent=0.1, seed=0, return_strong_labeled_set=False)
dataset/fix_small_imagenet127.py:27
↓ 2 callersFunctioninterleave
(xy, batch)
train_cifar_remix_crest.py:780
↓ 2 callersFunctionlinear_rampup
(current, rampup_length=args.epochs)
train_cifar_remix_crest.py:732
↓ 2 callersFunctionmake_imb_data
(max_num, class_num, gamma)
train_cifar_remix_crest.py:698
↓ 2 callersFunctionmake_imb_data
(max_num, class_num, gamma)
train_cifar_fix_crest.py:655
↓ 2 callersFunctionmy_augment_pool
()
dataset/randaugment.py:166
↓ 2 callersMethodplot
(self, names=None)
utils/logger.py:70
↓ 1 callersFunctionTFE
(labeled_loader, unlabeled_loader, tfe_model, num_classes, num_samples_per_class)
utils/tfe_init.py:73
↓ 1 callersMethod__init__
(self, model, ema_model, alpha=0.999)
train_food_fix_cossl.py:639
↓ 1 callersMethod__init__
(self, model, ema_model, alpha=0.999)
train_cifar_remix_crest.py:749
↓ 1 callersMethod__init__
(self, root, indexs=None, train=True, transform=None, target_transform=None,
eval_shifted_test_distribution.py:121
↓ 1 callersMethod__init__
(self, model, ema_model, alpha=0.999)
train_cifar_fix_crest.py:698
↓ 1 callersMethod__init__
(self, transform, transform2)
dataset/fix_cifar100.py:38
↓ 1 callersMethod__init__
(self, transform, transform2)
dataset/remix_cifar100.py:37
↓ 1 callersMethod__init__
(self, transform)
dataset/mix_cifar100.py:29
↓ 1 callersMethod_find_classes
Finds the class folders in a dataset. Args: dir (string): Root directory path. Returns: tuple: (cla
dataset/fix_food.py:122
↓ 1 callersFunctionannotate_unlabeled_data
(loader, model, use_cuda, num_classes)
train_cifar_remix_crest.py:142
↓ 1 callersFunctionannotate_unlabeled_data
(loader, model, use_cuda, num_classes)
train_cifar_fix_crest.py:132
↓ 1 callersFunctionclassifier_train
(labeled_loader, unlabeled_loader, model, optimizer, scheduler, ema_optimizer, tfe_model,
train_small_imagenet127_fix_cossl.py:330
↓ 1 callersFunctionclassifier_train
(labeled_loader, unlabeled_loader, model, optimizer, scheduler, ema_optimizer, val_iterat
train_food_fix_cossl.py:316
↓ 1 callersFunctionclassifier_train
(labeled_trainloader, model, optimizer, scheduler, ema_optimizer, val_iteration, use_cuda)
utils/tfe_init.py:212
↓ 1 callersFunctionclassifier_warmup
(model, train_labeled_set, train_unlabeled_set, N_SAMPLES_PER_CLASS, num_class, use_cuda)
train_small_imagenet127_fix_cossl.py:243
↓ 1 callersFunctionclassifier_warmup
(model, train_labeled_set, train_unlabeled_set, N_SAMPLES_PER_CLASS, num_class, use_cuda)
train_food_fix_cossl.py:269
↓ 1 callersFunctioncreate_model
()
eval_shifted_test_distribution.py:151
↓ 1 callersMethodforward
(self, x, return_feature=False)
models/wrn.py:140
↓ 1 callersFunctionget_cosine_schedule_with_warmup
(optimizer, num_warmup_steps, num_training_steps, num_cycles=7. / 16., last_epoch=-1)
train_cifar_remix_crest.py:721
↓ 1 callersFunctionget_cosine_schedule_with_warmup
(optimizer, num_warmup_steps, num_training_steps, num_cycles=7. / 16., last_epoch=-1)
train_cifar_fix_crest.py:678
↓ 1 callersFunctionget_split
(x_train, y_train, x_unlab_test, y_unlab_test, class_im_ratio, num_classes, alpha=3, pseudo_label_list=None)
train_cifar_remix_crest.py:195
↓ 1 callersFunctionget_split
(x_train, y_train, x_unlab_test, y_unlab_test, class_im_ratio, num_classes, alpha=3, pseudo_label_list=None)
train_cifar_fix_crest.py:185
↓ 1 callersFunctioninterleave_offsets
(batch, nu)
train_cifar_remix_crest.py:769
↓ 1 callersFunctioninterleave_offsets
(batch, nu)
utils/utils.py:98
↓ 1 callersFunctionmain
()
train_cifar_fix_cossl.py:97
↓ 1 callersFunctionmain
()
train_small_imagenet127_fix_cossl.py:109
↓ 1 callersFunctionmain
()
train_cifar_fix.py:97
↓ 1 callersFunctionmain
()
train_food_fix_cossl.py:131
↓ 1 callersFunctionmain
()
train_cifar_remix_crest.py:280
↓ 1 callersFunctionmain
()
train_food_fix.py:97
↓ 1 callersFunctionmain
()
eval_shifted_test_distribution.py:157
↓ 1 callersFunctionmain
()
train_small_imagenet127_fix.py:87
↓ 1 callersFunctionmain
()
train_cifar_remix_cossl.py:91
↓ 1 callersFunctionmain
()
train_cifar_fix_crest.py:270
↓ 1 callersFunctionmain
()
train_cifar_mix.py:77
↓ 1 callersFunctionmain
()
train_cifar_mix_cossl.py:89
↓ 1 callersFunctionmain
()
train_cifar_remix.py:82
↓ 1 callersFunctionmake_dataset
(dir, class_to_idx, json_file, )
dataset/fix_food.py:84
↓ 1 callersFunctionmake_imb_data
(max_num, class_num, gamma)
eval_shifted_test_distribution.py:65
↓ 1 callersFunctionplot_overlap
(logger, names=None)
utils/logger.py:15
↓ 1 callersMethodreset
(self)
utils/misc.py:66
↓ 1 callersFunctionsave_checkpoint
(state, epoch, checkpoint=args.out, filename='checkpoint.pth.tar')
train_cifar_remix_crest.py:713
↓ 1 callersFunctionsave_checkpoint
(state, epoch, checkpoint=args.out, filename='checkpoint.pth.tar')
train_cifar_fix_crest.py:670
↓ 1 callersFunctionsavefig
(fname, dpi=None)
utils/logger.py:11
↓ 1 callersFunctionstepLR_with_warmup
(optimizer, num_warmup_steps, per_epoch_steps)
train_food_fix.py:431
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, ema_model, optimizer, ema_optimizer, crt_labeled
train_cifar_fix_cossl.py:236
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, ema_model, optimizer, ema_optimizer, crt_labeled
train_small_imagenet127_fix_cossl.py:427
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, optimizer, ema_optimizer, criterion, epoch, use_cuda)
train_cifar_fix.py:209
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, ema_model, optimizer, ema_optimizer, crt_labeled
train_food_fix_cossl.py:385
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, optimizer, scheduler, ema_optimizer, criterion, epoch, use
train_cifar_remix_crest.py:454
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, optimizer, ema_optimizer, scheduler, criterion, epoch, use
train_food_fix.py:221
↓ 1 callersFunctiontrain
(labeled_trainloader, unlabeled_trainloader, model, optimizer, ema_optimizer, criterion, epoch, use_cuda)
train_small_imagenet127_fix.py:192
next →1–100 of 260, ranked by callers