MCPcopy Create free account

hub / github.com/Yang-Li-2000/Touch-Line-Transformer / functions

Functions656 in github.com/Yang-Li-2000/Touch-Line-Transformer

Method__init__
(self, args)
run_with_submitit.py:83
Method__init__
(self)
scripts/eval_gqa.py:158
Method__init__
(self)
scripts/eval_clevr.py:122
Method__init__
Initialize a union find with n components
scripts/utils/unionfind.py:8
Method__init__
(self, color, size, shape, material, pos=None, id=None)
scripts/clevr/clevr_to_coco.py:176
Method__init__
(self, f1, f2)
scripts/clevr/clevr_to_coco.py:217
Method__init__
(self, scene)
scripts/clevr/clevr_to_coco.py:227
Method__init__
(self, color, size, shape, material, pos=None, id=None)
scripts/clevr/refclevr_to_coco.py:202
Method__init__
(self, f1, f2)
scripts/clevr/refclevr_to_coco.py:245
Method__init__
(self, scene)
scripts/clevr/refclevr_to_coco.py:255
Method__init__
Initialize a union find with n components
scripts/pre-training/flickr_combined.py:190
Method__init__
(self, refexp_gt, iou_types, k=(1, 5, 10), thresh_iou=0.5)
datasets/refexp.py:21
Method__init__
(self, data_root, split_root='data', dataset='yourefit', transform=None, augment=False, devic
datasets/yourefit.py:125
Method__init__
(self, ref_dataset, iou_types, k=(1, 2, 10), thresh_iou=0.25, draw=False)
datasets/yourefit.py:390
Method__init__
(self, ref_dataset, iou_types, k=1, thresh_iou=(0.25, 0.5, 0.75), draw=True)
datasets/yourefit.py:505
Method__init__
(self, img_folder, ann_file, transforms, return_masks, return_tokens, tokenizer, ann_folder)
datasets/gqa.py:22
Method__init__
(self, refexp_gt, iou_types, k=(1, 5, 10), thresh_iou=0.5)
datasets/clevrref.py:23
Method__init__
(self, size)
datasets/transforms.py:188
Method__init__
(self, min_size: int, max_size: int, respect_boxes: bool = False)
datasets/transforms.py:197
Method__init__
(self, size)
datasets/transforms.py:216
Method__init__
(self, p=0.5)
datasets/transforms.py:228
Method__init__
(self, sizes, max_size=None)
datasets/transforms.py:238
Method__init__
(self, max_pad)
datasets/transforms.py:249
Method__init__
(self, transforms1, transforms2, p=0.5)
datasets/transforms.py:264
Method__init__
(self, *args, **kwargs)
datasets/transforms.py:281
Method__init__
(self, mean, std)
datasets/transforms.py:289
Method__init__
(self, enabled=False)
datasets/transforms.py:317
Method__init__
(self, transforms)
datasets/transforms.py:339
Method__init__
Parameters: - topk : tuple of ints corresponding to the recalls being tracked (eg, recall@1, recall@10, ...)
datasets/flickr_eval.py:223
Method__init__
( self, flickr_path: str, subset: str = "test", topk: Sequence[int] = (1, 5, 1
datasets/flickr_eval.py:259
Method__init__
( self, flickr_path, subset, top_k=(1, 5, 10, -1), iou_thresh=0.5,
datasets/flickr_eval.py:395
Method__init__
(self, root, annFile, transform=None, target_transform=None, transforms=None)
datasets/lvis.py:211
Method__init__
(self, img_folder, ann_file, transforms, return_masks)
datasets/lvis.py:241
Method__init__
(self, coco_gt, iou_types, useCats=False)
datasets/coco_eval.py:24
Method__init__
(self, split, ann_folder, output_dir="phrasecut_eval", eval_mask=False)
datasets/phrasecut_eval.py:14
Method__init__
Constructor for LVIS results. Args: lvis_gt (LVIS class instance, or str containing path of annotation file)
datasets/lvis_eval.py:55
Method__init__
Constructor for LVISEval. Args: lvis_gt (LVIS class instance, or str containing path of annotation file) lvis_dt (LVIS
datasets/lvis_eval.py:132
Method__init__
(self, lvis_gt, iou_types)
datasets/lvis_eval.py:610
Method__init__
(self, gt: LVIS, topk=10000, fixed_ap=True)
datasets/lvis_eval.py:740
Method__init__
(self, topk=10000, fixed_ap=True, out_path="lvis_eval")
datasets/lvis_eval.py:847
Method__init__
(self, img_folder, ann_file, transforms, return_masks, return_tokens, tokenizer, is_train=False)
datasets/coco.py:19
Method__init__
(self, return_masks=False, return_tokens=False, tokenizer=None)
datasets/coco.py:110
Method__init__
( self, root_coco: str, root_vg: str, annFile: str, transform: Optiona
datasets/mixed.py:36
Method__init__
(self, img_folder, ann_file, transforms, return_masks, return_tokens, tokenizer, do_qa)
datasets/clevr.py:63
Method__init__
:param refvg_loader: :param analyze_subset:
datasets/phrasecut_utils/evaluator.py:19
Method__init__
(self, phrase_cut_path: str)
datasets/phrasecut_utils/subset.py:105
Method__init__
( self, phrase_cut_path: str, subsets: PhraseCutSubsets, split=None, a
datasets/phrasecut_utils/refvg_loader.py:25
Method__init__
(self, hidden_dim, num_queries, temperature=20)
models/mdetr.py:40
Method__init__
Initializes the model. Args: backbone: torch module of the backbone to be used. See backbone.py transformer: torch mo
models/mdetr.py:77
Method__init__
(self, temperature=0.1)
models/mdetr.py:361
Method__init__
(self, split_qa_heads)
models/mdetr.py:380
Method__init__
(self)
models/mdetr.py:504
Method__init__
Create the criterion. Parameters: num_classes: number of object categories, omitting the special no-object category ma
models/mdetr.py:599
Method__init__
Creates the matcher Params: cost_class: This is the relative weight of the classification error in the matching cost
models/matcher.py:21
Method__init__
(self, encoder_layer, num_layers, norm=None)
models/transformer_ori.py:61
Method__init__
(self, decoder_layer, num_layers, norm=None, return_intermediate=False)
models/transformer_ori.py:85
Method__init__
(self, d_model=288, nhead=8, dim_feedforward=2048, dropout=0.1, activation="relu", self_pose
models/transformer_ori.py:120
Method__init__
(self, d_model=288, nhead=8, dim_feedforward=2048, dropout=0.1, activation="relu")
models/transformer_ori.py:166
Method__init__
(self, encoder_layer, num_layers, norm=None)
models/transformer.py:233
Method__init__
(self, decoder_layer, num_layers, norm=None, return_intermediate=False)
models/transformer.py:260
Method__init__
(self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="relu", normalize_before
models/transformer.py:316
Method__init__
(self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="relu", normalize_before
models/transformer.py:383
Method__init__
(self, input_feat_size, output_feat_size, dropout, do_ln=True)
models/transformer.py:556
Method__init__
(self, dim, fpn_dims, context_dim)
models/segmentation.py:95
Method__init__
(self, query_dim, hidden_dim, num_heads, dropout=0, bias=True)
models/segmentation.py:166
Method__init__
(self, n)
models/backbone.py:29
Method__init__
(self, backbone: nn.Module, train_backbone: bool, num_channels: int, return_interm_layers: bool)
models/backbone.py:61
Method__init__
(self, name: str, train_backbone: bool, return_interm_layers: bool, dilation: bool)
models/backbone.py:85
Method__init__
(self, num_channels, num_groups=32, **kargs)
models/backbone.py:94
Method__init__
(self, name: str, train_backbone: bool, return_interm_layers: bool, dilation: bool)
models/backbone.py:101
Method__init__
(self, name, return_interm_layers, main_layer=-1, group_norm=False)
models/backbone.py:141
Method__init__
(self, backbone, position_embedding)
models/backbone.py:165
Method__init__
(self, score_thresh=0.7)
models/postprocessors.py:108
Method__init__
(self, num_pos_feats=256)
models/position_encoding.py:56
Method__init__
Args: gamma: Weighting parameter to balance loss for hard and easy examples. alpha: Weighting parameter to balance lo
models/utils/losses.py:26
Method__init__
(self, embed_dim, num_heads, dropout=0., bias=True, add_bias_kv=False, add_zero_attn=False, kdim=None,
models/utils/multi_head_attention.py:41
Method__init__
(self,hidden_dim,num_queries,temperature=5)
models/utils/PE.py:23
Method__init__
(self, tensors, mask)
util/misc.py:87
Method__init__
(self, window_size=20, fmt=None)
util/metrics.py:20
Method__init__
(self, delimiter="\t")
util/metrics.py:76
Method__len__
(self)
scripts/clevr/clevr_to_coco.py:235
Method__len__
(self)
scripts/clevr/refclevr_to_coco.py:263
Method__len__
(self)
datasets/yourefit.py:355
Method__len__
(self)
datasets/lvis.py:236
Method__len__
(self)
datasets/mixed.py:77
Method__repr__
(self)
scripts/clevr/clevr_to_coco.py:212
Method__repr__
(self)
scripts/clevr/refclevr_to_coco.py:240
Method__repr__
(self)
datasets/transforms.py:347
Method__repr__
(self)
util/misc.py:126
Method__str__
(self)
scripts/clevr/clevr_to_coco.py:275
Method__str__
(self)
scripts/clevr/refclevr_to_coco.py:303
Method__str__
(self)
util/metrics.py:69
Method__str__
(self)
util/metrics.py:94
Function_get_all_datapoints
(output_path: Path, img_list, proc_id: int)
scripts/pre-training/vg_preprocessing.py:292
Method_load_from_state_dict
( self, state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys, error_msgs )
models/backbone.py:36
Methodaccumulate
(self)
datasets/refexp.py:31
Methodaccumulate
(self)
datasets/yourefit.py:402
Methodaccumulate
(self)
datasets/yourefit.py:516
Methodaccumulate
(self)
datasets/clevrref.py:33
Methodaccumulate
(self)
datasets/flickr_eval.py:411
← previousnext →401–500 of 656, ranked by callers