MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
(args)
scripts/pre-training/vg_preprocessing.py:368
↓ 1 callersFunctionmain
(args)
scripts/pre-training/refexp_combined_val.py:118
↓ 1 callersFunctionmain
(args)
scripts/pre-training/flickr_combined.py:383
↓ 1 callersFunctionmain
(args)
scripts/pre-training/combine_datasets_train.py:322
↓ 1 callersFunctionmain
(args)
scripts/pre-training/gqa_combined_train.py:193
↓ 1 callersFunctionmain
(args)
scripts/fine-tuning/phrasecut_coco_format.py:119
↓ 1 callersFunctionmain
(args)
scripts/fine-tuning/vqa_coco_format.py:157
↓ 1 callersFunctionmain
(args)
scripts/fine-tuning/lvis_coco_format.py:219
↓ 1 callersFunctionmain
(args)
scripts/fine-tuning/subsample_lvis.py:71
↓ 1 callersFunctionmain
(args)
scripts/fine-tuning/gqa_coco_format.py:279
↓ 1 callersFunctionmain
(args)
scripts/fine-tuning/refexp_coco_format.py:118
↓ 1 callersFunctionmerge_img
(jpg_img, png_img)
vis_attn.py:37
↓ 1 callersFunctionnormalize_sentence
Returns a list of non stopwords for the sentence, obtained after cleaning ponctuation and spaces
scripts/utils/text.py:88
↓ 1 callersFunctionpad
(image, target, padding)
datasets/transforms.py:174
↓ 1 callersFunctionparse_args
()
run_with_submitit_gqa_eval.py:21
↓ 1 callersFunctionparse_args
()
run_with_submitit_lvis_eval.py:21
↓ 1 callersFunctionparse_args
()
run_with_submitit.py:22
↓ 1 callersFunctionparse_args
()
scripts/clevr/refclevr_to_coco.py:26
↓ 1 callersFunctionparse_args
()
scripts/pre-training/gqa_combined_val.py:24
↓ 1 callersFunctionparse_args
()
scripts/pre-training/refexp_combined_train.py:24
↓ 1 callersFunctionparse_args
()
scripts/pre-training/vg_preprocessing.py:32
↓ 1 callersFunctionparse_args
()
scripts/pre-training/refexp_combined_val.py:19
↓ 1 callersFunctionparse_args
()
scripts/pre-training/flickr_combined.py:25
↓ 1 callersFunctionparse_args
()
scripts/pre-training/combine_datasets_train.py:27
↓ 1 callersFunctionparse_args
()
scripts/pre-training/gqa_combined_train.py:26
↓ 1 callersFunctionparse_args
()
scripts/fine-tuning/phrasecut_coco_format.py:13
↓ 1 callersFunctionparse_args
()
scripts/fine-tuning/vqa_coco_format.py:17
↓ 1 callersFunctionparse_args
()
scripts/fine-tuning/lvis_coco_format.py:24
↓ 1 callersFunctionparse_args
()
scripts/fine-tuning/subsample_lvis.py:20
↓ 1 callersFunctionparse_args
()
scripts/fine-tuning/gqa_coco_format.py:25
↓ 1 callersFunctionparse_args
()
scripts/fine-tuning/refexp_coco_format.py:20
↓ 1 callersFunctionparse_prog
Parse the program of the given refexp and return the objects, along with the list of tokens they correspond to from the scene necessary to compute the
scripts/clevr/refclevr_to_coco.py:490
↓ 1 callersFunctionpoint_in_polygon
(point, polygon)
datasets/phrasecut_utils/data_transfer.py:87
↓ 1 callersMethodprepare
(self, predictions, iou_type)
datasets/coco_eval.py:74
↓ 1 callersMethodprepare
(self, predictions, iou_type)
datasets/lvis_eval.py:656
↓ 1 callersMethodprepare
(self, predictions)
datasets/lvis_eval.py:779
↓ 1 callersMethodprepare_for_coco_detection
(self, predictions)
datasets/coco_eval.py:84
↓ 1 callersMethodprepare_for_coco_keypoint
(self, predictions)
datasets/coco_eval.py:142
↓ 1 callersMethodprepare_for_coco_segmentation
(self, predictions)
datasets/coco_eval.py:108
↓ 1 callersMethodprepare_for_lvis_detection
(self, predictions)
datasets/lvis_eval.py:666
↓ 1 callersMethodprepare_for_lvis_segmentation
(self, predictions)
datasets/lvis_eval.py:690
↓ 1 callersFunctionpreprocess_region
(region)
scripts/pre-training/vg_preprocessing.py:57
↓ 1 callersFunctionprogressBar
Print a progress bar during training. :param i: index of current iteration/epoch. :param max: max number of iterations/epochs. :param
datasets/yourefit.py:69
↓ 1 callersMethodpull_item
(self, idx)
datasets/yourefit.py:241
↓ 1 callersMethodpull_item_sentence
(self, idx)
datasets/yourefit.py:217
↓ 1 callersFunctionregion_to_box
Extract the bounding box of a given region as a list
scripts/utils/boxes.py:17
↓ 1 callersFunctionremove_punctuation
This function removes all ponctuation.
scripts/utils/text.py:104
↓ 1 callersFunctionreplace_bn
(m, name="")
models/backbone.py:116
↓ 1 callersMethodreport
Return a condensed report of the results as a dict of dict. report[k][cat] is the recall@k for the given category
datasets/flickr_eval.py:245
↓ 1 callersFunctionrescale_boxes
(old_datapoint: Datapoint, old_size: Tuple[int, int], new_size: Tuple[int, int])
scripts/pre-training/combine_datasets_train.py:66
↓ 1 callersMethodreset_parameters
(self)
models/position_encoding.py:62
↓ 1 callersFunctionresize
(image, target, size, max_size=None)
datasets/transforms.py:106
↓ 1 callersFunctionset_last_char
(text)
scripts/pre-training/combine_datasets_train.py:59
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
util/dist.py:131
↓ 1 callersMethodshuffle
(self)
datasets/phrasecut_utils/refvg_loader.py:86
↓ 1 callersMethodsigmoid_cross_entropy_with_logits
PyTorch Implementation for tf.nn.sigmoid_cross_entropy_with_logits: max(x, 0) - x * z + log(1 + exp(-abs(x))) in https://www.
models/utils/losses.py:37
↓ 1 callersFunctionsigmoid_focal_loss
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002. Args: inputs: A float tensor of arbitrary shape.
models/segmentation.py:213
↓ 1 callersFunctionsimplify_punctuation
This function simplifies doubled or more complex punctuation. The exception is '...'.
scripts/utils/text.py:113
↓ 1 callersFunctionsplit_val
(dataset)
scripts/fine-tuning/vqa_coco_format.py:52
↓ 1 callersMethodsummarize
(self)
datasets/lvis_eval.py:803
↓ 1 callersMethodsynchronize_between_processes
(self)
scripts/eval_gqa.py:164
↓ 1 callersMethodsynchronize_between_processes
(self)
scripts/eval_clevr.py:128
↓ 1 callersMethodsynchronize_between_processes
(self)
datasets/lvis_eval.py:769
↓ 1 callersFunctiontest_suite
(templates, val_questions, val_scenes)
scripts/clevr/clevr_to_coco_test.py:8
↓ 1 callersMethodunite
(self, a, b)
scripts/utils/unionfind.py:23
↓ 1 callersMethodupdate
(self, predictions)
datasets/refexp.py:34
↓ 1 callersMethodupdate
(self, predictions)
datasets/clevrref.py:36
↓ 1 callersMethodupdate
(self, predictions)
datasets/lvis_eval.py:748
↓ 1 callersFunctionupdate_ema
Apply exponential moving average update. The weights are updated in-place as follow: w_ema = w_ema * decay + (1 - decay) * w Args:
util/optim.py:8
↓ 1 callersMethodwith_pos_embed
(self, tensor, pos = None)
models/transformer_ori.py:137
↓ 1 callersFunctionxyxy2xywh
Accepts a list of bounding boxes in pascal format (xmin,ymin,xmax,ymax) Returns the list of boxes in coco format (xmin,ymin, width, height)
scripts/pre-training/flickr_combined.py:61
↓ 1 callersFunctionxyxy_to_xywh
Convert [x1 y1 x2 y2] box format to [x y w h] format.
datasets/phrasecut_utils/data_transfer.py:18
FunctionArmEquation
(arm)
models/mdetr.py:576
Method__call__
(self)
run_with_submitit_gqa_eval.py:85
Method__call__
(self)
run_with_submitit_lvis_eval.py:85
Method__call__
(self)
run_with_submitit.py:86
Method__call__
(self, img, target)
datasets/transforms.py:191
Method__call__
(self, img: PIL.Image.Image, target: dict)
datasets/transforms.py:202
Method__call__
(self, img, target)
datasets/transforms.py:219
Method__call__
(self, img, target)
datasets/transforms.py:231
Method__call__
(self, img, target=None)
datasets/transforms.py:243
Method__call__
(self, img, target)
datasets/transforms.py:252
Method__call__
(self, img, target)
datasets/transforms.py:269
Method__call__
(self, img, target)
datasets/transforms.py:276
Method__call__
(self, img, target)
datasets/transforms.py:284
Method__call__
(self, image, target=None)
datasets/transforms.py:293
Method__call__
(self, image, target=None)
datasets/transforms.py:320
Method__call__
(self, image, target)
datasets/transforms.py:342
Method__call__
(self, image, target)
datasets/coco.py:115
Method__getattr__
(self, attr)
util/metrics.py:87
Method__getitem__
(self, idx)
datasets/yourefit.py:358
Method__getitem__
(self, idx)
datasets/gqa.py:32
Method__getitem__
Args: index (int): Index Returns: tuple: Tuple (image, target). target is the object returned by ``coco.loadA
datasets/lvis.py:216
Method__getitem__
(self, idx)
datasets/lvis.py:246
Method__getitem__
(self, idx)
datasets/coco.py:24
Method__getitem__
Args: index (int): Index Returns: tuple: Tuple (image, target). target is the object returned by ``coco.load
datasets/mixed.py:53
Method__getitem__
(self, idx)
datasets/mixed.py:89
Method__getitem__
(self, idx)
datasets/clevr.py:71
Method__init__
(self, args)
run_with_submitit_gqa_eval.py:82
Method__init__
(self, args)
run_with_submitit_lvis_eval.py:82
← previousnext →301–400 of 656, ranked by callers