MCPcopy Create free account

hub / github.com/Thunderbeee/ZSCL / functions

Functions631 in github.com/Thunderbeee/ZSCL

↓ 2 callersFunctionproject_logits
(logits, class_sublist_mask, device)
mtil/src/datasets/imagenet_sub.py:113
↓ 2 callersFunctionproject_logits
(logits, class_sublist_mask, device)
cil/datasets_ref/imagenet.py:95
↓ 2 callersFunctionproject_logits
(logits, class_sublist_mask, device)
cil/datasets_ref/imagenet_sub.py:113
↓ 2 callersFunctionzeroshot_classifier
(classnames, templates, model)
mtil/src/models/evaluation.py:20
↓ 1 callersMethod__getitem__
(self, idx)
mtil/src/datasets/common.py:125
↓ 1 callersMethod__getitem__
(self, idx)
cil/datasets_ref/common.py:125
↓ 1 callersMethod__init__
(self, label_map, path, transform)
mtil/src/datasets/imagenet_vid_robust.py:14
↓ 1 callersMethod__init__
(self, preprocess, location=os.path.expanduser('~/data'), b
mtil/src/datasets/imagenet.py:12
↓ 1 callersMethod__init__
(self, preprocess, location=os.path.expanduser('~/data'), b
mtil/src/datasets/imagenet_sub.py:13
↓ 1 callersMethod__init__
(self, *args, **kwargs)
mtil/src/datasets/objectnet.py:80
↓ 1 callersMethod__init__
( self, preprocess, location="./data", batch_size=128, num_workers=16,
mtil/src/datasets/cifar10.py:48
↓ 1 callersMethod__init__
(self, indices)
mtil/src/datasets/common.py:15
↓ 1 callersMethod__init__
(self, label_map, path, transform)
cil/datasets_ref/imagenet_vid_robust.py:14
↓ 1 callersMethod__init__
(self, preprocess, location=os.path.expanduser('~/data'), b
cil/datasets_ref/imagenet.py:12
↓ 1 callersMethod__init__
(self, preprocess, location=os.path.expanduser('~/data'), b
cil/datasets_ref/imagenet_sub.py:13
↓ 1 callersMethod__init__
(self, *args, **kwargs)
cil/datasets_ref/objectnet.py:80
↓ 1 callersMethod__init__
( self, preprocess, location="./data", batch_size=128, num_workers=16,
cil/datasets_ref/cifar10.py:48
↓ 1 callersMethod__init__
(self, indices)
cil/datasets_ref/common.py:15
↓ 1 callersFunction_download
(url: str, root: str = os.path.expanduser("~/.cache/clip"))
mtil/clip/clip.py:29
↓ 1 callersFunction_download
(url: str, root: str = os.path.expanduser("~/.cache/clip"))
cil/clip/clip.py:29
↓ 1 callersFunction_merge
(alpha, theta_0, theta_1, fishers, fisher_floor)
mtil/src/models/wiseft.py:8
↓ 1 callersFunction_warmup_lr
(base_lr, warmup_length, step)
mtil/src/utils.py:13
↓ 1 callersFunction_warmup_lr
(base_lr, warmup_length, step)
mtil/src/search.py:24
↓ 1 callersFunction_warmup_lr
(base_lr, warmup_length, step)
cil/continual_clip/utils.py:56
↓ 1 callersFunctionaccuracy
(output, target, topk=(1,))
mtil/src/general_eval.py:78
↓ 1 callersFunctionaccuracy
(output, target, topk=(1,))
mtil/src/search.py:44
↓ 1 callersFunctionaccuracy
(logits, targets, img_paths, args)
mtil/src/datasets/objectnet.py:132
↓ 1 callersFunctionaccuracy
(output, target, topk=(1,))
mtil/src/models/evaluation.py:10
↓ 1 callersFunctionaccuracy
(logits, targets, img_paths, args)
cil/datasets_ref/objectnet.py:132
↓ 1 callersMethodadaptation
(self, task_id, cfg, train_dataset, train_classes_names)
cil/continual_clip/models.py:41
↓ 1 callersFunctionannotations_to_ytbb_labels
Convert annotations from labeling UI to match YTBB index labels. Args: annotations (List[Dict]): Contains list of annotation objects with
mtil/src/datasets/ytbb_robust.py:378
↓ 1 callersFunctionannotations_to_ytbb_labels
Convert annotations from labeling UI to match YTBB index labels. Args: annotations (List[Dict]): Contains list of annotation objects with
cil/datasets_ref/ytbb_robust.py:378
↓ 1 callersFunctionassign_learning_rate
(param_group, new_lr)
mtil/src/utils.py:9
↓ 1 callersFunctionassign_learning_rate
(param_group, new_lr)
mtil/src/search.py:21
↓ 1 callersFunctionassign_learning_rate
(param_group, new_lr)
cil/continual_clip/utils.py:52
↓ 1 callersMethodattention
(self, x: torch.Tensor)
mtil/clip/model.py:183
↓ 1 callersMethodattention
(self, x: torch.Tensor)
cil/clip/model.py:183
↓ 1 callersFunctionavailable_models
Returns the names of available CLIP models
mtil/clip/clip.py:83
↓ 1 callersFunctionavailable_models
Returns the names of available CLIP models
cil/clip/clip.py:83
↓ 1 callersFunctionbasic_clean
(text)
mtil/clip/tokenizer.py:50
↓ 1 callersFunctionbasic_clean
(text)
cil/clip/tokenizer.py:50
↓ 1 callersMethodbpe
(self, token)
mtil/clip/tokenizer.py:88
↓ 1 callersMethodbpe
(self, token)
cil/clip/tokenizer.py:88
↓ 1 callersMethodbuild_attention_mask
(self)
mtil/clip/model.py:335
↓ 1 callersMethodbuild_attention_mask
(self)
cil/clip/model.py:335
↓ 1 callersMethodconstructExampleSet
(self, args)
mtil/src/dynamic_dataset.py:39
↓ 1 callersMethodconstructExampleSet
(self)
cil/continual_clip/dynamic_dataset.py:42
↓ 1 callersFunctioncontinual_clip
(cfg: DictConfig)
cil/main.py:21
↓ 1 callersFunctioncosine_lr
(optimizer, base_lrs, warmup_length, steps)
mtil/src/utils.py:17
↓ 1 callersFunctioncosine_lr
(optimizer, base_lrs, warmup_length, steps)
mtil/src/search.py:27
↓ 1 callersMethoddecode
(self, tokens)
mtil/clip/tokenizer.py:137
↓ 1 callersMethoddecode
(self, tokens)
cil/clip/tokenizer.py:137
↓ 1 callersFunctiondefault_bpe
()
mtil/clip/tokenizer.py:11
↓ 1 callersFunctiondefault_bpe
()
cil/clip/tokenizer.py:11
↓ 1 callersMethodencode
(self, text)
mtil/clip/tokenizer.py:129
↓ 1 callersMethodencode
(self, text)
cil/clip/tokenizer.py:129
↓ 1 callersFunctioneval_single_dataset
(image_classifier, dataset, args)
mtil/src/general_eval.py:13
↓ 1 callersFunctioneval_single_dataset
(image_classifier, dataset, args)
mtil/src/search.py:95
↓ 1 callersFunctioneval_single_dataset
(image_classifier, dataset, args)
mtil/src/models/evaluation.py:61
↓ 1 callersFunctioneval_single_dataset
(image_classifier, dataset, args)
mtil/src/models/evaluation_fc.py:13
↓ 1 callersFunctioneval_single_dataset_bl
(image_classifier, dataset, args, RECORD)
mtil/src/general_eval.py:129
↓ 1 callersFunctionevaluate_baseline
(image_classifier, args, val_preprocess, eval_dataset)
mtil/src/search.py:118
↓ 1 callersFunctionevaluate_bl
(image_classifier, datasets1, val_preprocess, RECORD)
mtil/src/general_eval.py:149
↓ 1 callersFunctionevaluate_pmk
Args: predictions (Dict[str, np.array]) labels (Dict[str, List[int]]): Labels for anchor frames. valid_pmk (Dict[str, Dic
mtil/src/datasets/ytbb_robust.py:139
↓ 1 callersFunctionevaluate_pmk
Args: predictions (Dict[str, np.array]) labels (Dict[str, List[int]]): Labels for anchor frames. valid_pmk (Dict[str, Dic
cil/datasets_ref/ytbb_robust.py:139
↓ 1 callersMethodexpand
(self)
mtil/src/models/expand_dataset.py:22
↓ 1 callersFunctionfinetune_fc
(args)
mtil/src/models/finetune_fc.py:13
↓ 1 callersMethodforward
(self, image, text)
mtil/clip/model.py:365
↓ 1 callersMethodforward
(self, images)
mtil/src/models/modeling.py:21
↓ 1 callersMethodforward
(self, image, text)
cil/clip/model.py:365
↓ 1 callersFunctionget_class_ids_per_task
(args)
cil/continual_clip/utils.py:27
↓ 1 callersMethodget_class_sublist_and_mask
(self)
mtil/src/datasets/imagenet.py:109
↓ 1 callersMethodget_class_sublist_and_mask
(self)
mtil/src/datasets/imagenet.py:119
↓ 1 callersMethodget_class_sublist_and_mask
(self)
mtil/src/datasets/imagenet_sub.py:127
↓ 1 callersMethodget_class_sublist_and_mask
(self)
mtil/src/datasets/imagenet_sub.py:137
↓ 1 callersMethodget_class_sublist_and_mask
(self)
cil/datasets_ref/imagenet.py:109
↓ 1 callersMethodget_class_sublist_and_mask
(self)
cil/datasets_ref/imagenet.py:119
↓ 1 callersMethodget_class_sublist_and_mask
(self)
cil/datasets_ref/imagenet_sub.py:127
↓ 1 callersMethodget_class_sublist_and_mask
(self)
cil/datasets_ref/imagenet_sub.py:137
↓ 1 callersFunctionget_dataset
(cfg, is_train, transforms=None)
cil/continual_clip/datasets.py:36
↓ 1 callersFunctionget_datasets_text
(ds, args)
mtil/src/models/helpers.py:16
↓ 1 callersFunctionget_features
(is_train, image_encoder, dataset, device)
mtil/src/datasets/common.py:92
↓ 1 callersFunctionget_features
(is_train, image_encoder, dataset, device)
cil/datasets_ref/common.py:92
↓ 1 callersFunctionget_features_helper
(image_encoder, dataloader, device)
mtil/src/datasets/common.py:62
↓ 1 callersFunctionget_features_helper
(image_encoder, dataloader, device)
cil/datasets_ref/common.py:62
↓ 1 callersFunctionget_logits
(inputs, classifier)
mtil/src/utils.py:71
↓ 1 callersFunctionget_logits
(inputs, classifier)
cil/continual_clip/utils.py:114
↓ 1 callersFunctionget_mask_non_empty
(dataset)
mtil/src/datasets/iwildcam.py:12
↓ 1 callersFunctionget_mask_non_empty
(dataset)
cil/datasets_ref/iwildcam.py:12
↓ 1 callersFunctionget_metadata
()
mtil/src/datasets/objectnet.py:15
↓ 1 callersFunctionget_metadata
()
cil/datasets_ref/objectnet.py:15
↓ 1 callersFunctionget_pmk_key
Returns pmk portion of pmk key. The full pm-k key, as used in annotations, is '{anchor_key},{pmk_key}'.
mtil/src/datasets/ytbb_robust.py:238
↓ 1 callersFunctionget_pmk_key
Returns pmk portion of pmk key. The full pm-k key, as used in annotations, is '{anchor_key},{pmk_key}'.
cil/datasets_ref/ytbb_robust.py:238
↓ 1 callersMethodget_test_dataset
(self)
mtil/src/datasets/imagenet_subclass.py:106
↓ 1 callersMethodget_test_dataset
(self)
mtil/src/datasets/imagenet.py:66
↓ 1 callersMethodget_test_dataset
(self)
mtil/src/datasets/imagenet_sub.py:84
↓ 1 callersMethodget_test_dataset
(self)
cil/datasets_ref/imagenet_subclass.py:106
↓ 1 callersMethodget_test_dataset
(self)
cil/datasets_ref/imagenet.py:66
↓ 1 callersMethodget_test_dataset
(self)
cil/datasets_ref/imagenet_sub.py:84
↓ 1 callersMethodget_test_path
(self)
mtil/src/datasets/imagenet_subclass.py:94
← previousnext →101–200 of 631, ranked by callers