MCPcopy Create free account

hub / github.com/SuperSupermoon/MedViLL / functions

Functions425 in github.com/SuperSupermoon/MedViLL

↓ 1 callersFunctionget_optimizer
(model, args)
downstream_task/classification/cls.py:96
↓ 1 callersMethodget_random_line
(self)
data/dataset_origin.py:190
↓ 1 callersMethodget_random_line
(self, idx)
downstream_task/retrieval/retrieval.py:125
↓ 1 callersFunctionget_rank
()
utils/utils.py:284
↓ 1 callersFunctionget_rank
()
downstream_task/report_generation_and_vqa/utils.py:471
↓ 1 callersFunctionget_scheduler
(optimizer, args)
downstream_task/classification/cls.py:115
↓ 1 callersFunctionget_transforms
()
data/dataset_origin.py:18
↓ 1 callersFunctionget_transforms
(args)
downstream_task/classification/data/helpers.py:15
↓ 1 callersFunctionget_transforms
(args)
downstream_task/retrieval/retrieval.py:40
↓ 1 callersFunctionget_vocab
(args)
downstream_task/classification/data/helpers.py:56
↓ 1 callersFunctionhttp_get
(url: str, temp_file: IO)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/file_utils.py:153
↓ 1 callersFunctioninit_distributed_mode
(args)
utils/utils.py:299
↓ 1 callersFunctionis_main_process
()
utils/utils.py:290
↓ 1 callersFunctionlabel
Label the provided report(s).
downstream_task/report_generation_and_vqa/bleu.py:31
↓ 1 callersFunctionload_checkpoint
(model, path)
downstream_task/classification/utils/utils.py:27
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:57
↓ 1 callersFunctionlog_metrics
(set_name, metrics, args, logger)
downstream_task/classification/utils/utils.py:68
↓ 1 callersFunctionmain
()
downstream_task/report_generation_and_vqa/finetune.py:61
↓ 1 callersFunctionmain
()
downstream_task/report_generation_and_vqa/generation_decode.py:66
↓ 1 callersFunctionmain
(args)
downstream_task/report_generation_and_vqa/vqa.py:238
↓ 1 callersFunctionmain
()
downstream_task/report_generation_and_vqa/eval_vqa.py:53
↓ 1 callersFunctionmain
(args)
downstream_task/retrieval/retrieval.py:412
↓ 1 callersFunctionnumpy_seed
Context manager which seeds the NumPy PRNG with the specified seed and restores the state afterward
downstream_task/classification/utils/utils.py:84
↓ 1 callersFunctionpre_processing
(tokenizer, sentence)
downstream_task/report_generation_and_vqa/data_loader.py:135
↓ 1 callersFunctionpre_processing
(tokenizer, sentence)
downstream_task/report_generation_and_vqa/vqa.py:51
↓ 1 callersMethodrandom_pair_sampling
(self, idx)
data/dataset_origin.py:170
↓ 1 callersMethodrandom_word
(self, tokens)
data/dataset_origin.py:144
↓ 1 callersFunctions3_etag
Check ETag on S3 object.
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/file_utils.py:137
↓ 1 callersFunctions3_get
Pull a file directly from S3.
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/file_utils.py:146
↓ 1 callersFunctionsave_checkpoint
(state, is_best, checkpoint_path, filename="checkpoint.pt")
downstream_task/classification/utils/utils.py:20
↓ 1 callersMethodscatter_imbalance
(self, inputs, kwargs, device_ids)
downstream_task/report_generation_and_vqa/data_parallel.py:111
↓ 1 callersFunctionscatter_kwargs_imbalance
r"""Scatter with support for kwargs dictionary
downstream_task/report_generation_and_vqa/data_parallel.py:58
↓ 1 callersFunctionscatter_map
(obj)
downstream_task/report_generation_and_vqa/data_parallel.py:14
↓ 1 callersFunctionset_seed
(seed)
utils/utils.py:16
↓ 1 callersFunctionset_seed
(seed)
downstream_task/retrieval/retrieval.py:31
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
utils/utils.py:255
↓ 1 callersFunctionsetup_for_distributed
This function disables printing when not in master process
downstream_task/report_generation_and_vqa/finetune.py:49
↓ 1 callersFunctionstore_preds_to_disk
(tgts, preds, args)
downstream_task/classification/utils/utils.py:46
↓ 1 callersFunctiontest
(args, config, eval_dataloader, model)
downstream_task/report_generation_and_vqa/cnn_bert.py:198
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:201
↓ 1 callersFunctiontokenize_text
(rules, line, dropout=0.0, random_generator=np.random.RandomState(), **args)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:543
↓ 1 callersFunctiontokenize_word
Tokenize word using bpe merge rules :param merge_rules: dict [(a,b)] -> id, merge table, ids are in increasing order :param word: string
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:427
↓ 1 callersFunctiontrain
(config, args)
main.py:18
↓ 1 callersFunctiontrain
(args, config, train_dataloader, eval_dataloader, model)
downstream_task/report_generation_and_vqa/cnn_bert.py:194
↓ 1 callersFunctiontrain
(args, train_dataset, eval_dataset, model, tokenizer)
downstream_task/report_generation_and_vqa/vqa.py:149
↓ 1 callersFunctiontrain
(args)
downstream_task/classification/cls.py:187
↓ 1 callersFunctiontrain
(args, train_dataset, val_dataset, model, tokenizer, dset)
downstream_task/retrieval/retrieval.py:276
↓ 1 callersFunctiontruncate_tokens_pair
(tokens_a, tokens_b, max_len, max_len_a=0, max_len_b=0, trunc_seg=None, always_truncate_tail=False)
downstream_task/report_generation_and_vqa/data_loader.py:24
↓ 1 callersFunctiontruncate_txt
(txt_tokens, max_seq_len)
data/dataset_origin.py:24
↓ 1 callersFunctiontruncate_txt
(txt_tokens, max_seq_len)
downstream_task/retrieval/retrieval.py:49
↓ 1 callersFunctiontruncate_txt
(txt_tokens, max_seq_len)
CNN_BERT/main_cnn_bert.py:31
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the url's, delimited by a period.
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/file_utils.py:30
↓ 1 callersFunctionwarmup_linear
(x, warmup=0.002)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/optimization.py:45
Method__call__
(self, instance)
downstream_task/report_generation_and_vqa/data_loader.py:323
Method__call__
(self, instance)
downstream_task/report_generation_and_vqa/data_loader.py:488
Method__call__
(self, instance)
downstream_task/report_generation_and_vqa/loader_utils.py:36
Method__call__
:param line: str :return:
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:560
Method__call__
(self, lines)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:585
Method__getattr__
(self, attr)
utils/utils.py:149
Method__getattr__
(self, attr)
downstream_task/report_generation_and_vqa/utils.py:359
Method__getitem__
(self, idx)
data/dataset_origin.py:54
Method__getitem__
(self, idx)
downstream_task/report_generation_and_vqa/cnn_bert.py:77
Method__getitem__
(self, idx)
downstream_task/report_generation_and_vqa/vqa.py:92
Method__getitem__
(self, index)
downstream_task/classification/data/dataset.py:35
Method__getitem__
(self, idx)
downstream_task/retrieval/retrieval.py:81
Method__getitem__
(self, idx)
CNN_BERT/main_cnn_bert.py:57
Method__init__
(self, window_size=20, fmt=None)
utils/utils.py:80
Method__init__
(self, delimiter="\t")
utils/utils.py:138
Method__init__
(self, *args, **kwargs)
utils/utils.py:228
Method__init__
(self)
utils/logger.py:10
Method__init__
(self, data_path, tokenizer, args, config)
data/dataset_origin.py:32
Method__init__
(self, data_path, tokenizer, transforms, args)
downstream_task/report_generation_and_vqa/cnn_bert.py:38
Method__init__
(self)
downstream_task/report_generation_and_vqa/cnn_bert.py:114
Method__init__
(self, config, args)
downstream_task/report_generation_and_vqa/cnn_bert.py:134
Method__init__
(self, window_size=20, fmt=None)
downstream_task/report_generation_and_vqa/utils.py:182
Method__init__
(self, delimiter="\t")
downstream_task/report_generation_and_vqa/utils.py:348
Method__init__
(self, args, data_set, file_src, image_root, split, batch_size, tokenizer, max_len, file_valid_jpgs, use_num_i
downstream_task/report_generation_and_vqa/data_loader.py:192
Method__init__
(self, args, max_pred, mask_prob, vocab_words, indexer, max_len, bar, block_mask=False, new_segment_ids=False,
downstream_task/report_generation_and_vqa/data_loader.py:290
Method__init__
(self, tokenizer, max_len, max_txt_length, new_segment_ids=False, mode="s2s", len_vis_input=None)
downstream_task/report_generation_and_vqa/data_loader.py:469
Method__init__
(self)
downstream_task/report_generation_and_vqa/loader_utils.py:30
Method__init__
(self, src_file, tokenizer, transforms, args, data_set='train')
downstream_task/report_generation_and_vqa/vqa.py:65
Method__init__
(self, module, device_ids=None, output_device=None, dim=0)
downstream_task/report_generation_and_vqa/data_parallel.py:72
Method__init__
(self, label_smoothing=0, tgt_vocab_size=0, ignore_index=0, size_average=None, reduce=None, reduction='mean')
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/loss.py:19
Method__init__
(self, vocab_file, do_lower_case=True, max_len=None, never_split=("[UNK]", "[SEP]", "[X_SEP]", "[PAD]", "[CLS]
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:92
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:184
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:299
Method__init__
:param bpe_dropout_rate: float [0,1) :param merge_table: dict [(token_1, token_2)] -> priority
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:551
Method__init__
:param bpe_dropout_rate: float [0,1) :param merge_table: dict [(token_1, token_2)] -> priority
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/tokenization.py:572
Method__init__
(self, params, lr=required, warmup=-1, t_total=-1, schedule='warmup_linear', b1=0.9, b2=0.999, e=1e-6, weight_
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/optimization.py:180
Method__init__
(self)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:37
Method__init__
(self, args)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:66
Method__init__
Constructs BertConfig. Args: vocab_size_or_config_json_file: Vocabulary size of `inputs_ids` in `BertModel`. hidden_s
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:118
Method__init__
Construct a layernorm module in the TF style (epsilon inside the square root).
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:217
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:235
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:271
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:333
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:347
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:360
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:373
Method__init__
(self, config)
downstream_task/report_generation_and_vqa/pytorch_pretrained_bert/model.py:402
← previousnext →101–200 of 425, ranked by callers