MCPcopy Create free account

hub / github.com/YehLi/xmodaler / functions

Functions909 in github.com/YehLi/xmodaler

Method__setstate__
(self, state)
xmodaler/optim/radam.py:129
Method_convert_id_to_token
Converts an index (integer) in a token (string/unicode) using the vocab.
xmodaler/tokenization/tokenization_bert.py:181
Method_convert_token_to_id
Converts a token (str/unicode) in an id using the vocab.
xmodaler/tokenization/tokenization_bert.py:177
Function_distributed_worker
( local_rank, main_func, world_size, num_gpus_per_machine, machine_rank, dist_url,
xmodaler/engine/launch.py:89
Method_forward
(self, batched_inputs)
xmodaler/modeling/meta_arch/transformer_enc_dec.py:93
Method_forward
(self, batched_inputs)
xmodaler/modeling/meta_arch/rnn_att_enc_dec.py:35
Method_forward
(self, batched_inputs)
xmodaler/modeling/meta_arch/uniter.py:253
Method_forward
(self, batched_inputs)
xmodaler/modeling/meta_arch/tden.py:154
Method_forward
(self, batched_inputs, model)
xmodaler/modeling/decode_strategy/greedy_decoder.py:18
Method_forward
(self, batched_inputs, model)
xmodaler/modeling/decode_strategy/beam_searcher.py:35
Function_gelu_python
Original Implementation of the gelu activation function in Google Bert repo when initially created. For information: OpenAI GPT's gelu is sli
xmodaler/modeling/layers/create_act.py:33
Method_get_global_feat
(self, feats, masks)
xmodaler/modeling/encoder/memory_augmented_encoder.py:151
Method_load_file
(self, filename)
xmodaler/checkpoint/xmodaler_checkpoint.py:74
Method_load_model
(self, checkpoint)
xmodaler/checkpoint/xmodaler_checkpoint.py:95
Method_load_pkl_file
(filepath)
xmodaler/datasets/images/mscoco.py:68
Method_log_incompatible_keys
Log information about the incompatible keys returned by ``_load_model``.
xmodaler/checkpoint/xmodaler_checkpoint.py:123
Method_open_cfg
(cls, filename)
xmodaler/config/config.py:25
Method_padding_inputs
(self, inputs)
xmodaler/modeling/layers/tdconved_layers.py:135
Method_preprocess_datalist
(self, datalist)
xmodaler/datasets/images/mscoco.py:192
Method_replace_type_by_name
(x)
xmodaler/config/lazy.py:243
Method_serialize
(data)
xmodaler/datasets/common.py:80
Method_to_str
(obj, prefix=None, inside_call=False)
xmodaler/config/lazy.py:328
Method_tokenize
(self, text)
xmodaler/tokenization/tokenization_bert.py:167
Function_train_loader_from_config
(cfg, dataset_mapper=None, *, datalist=None, sampler=None)
xmodaler/datasets/build.py:40
Function_valtest_loader_from_config
(cfg, dataset_mapper=None, *, datalist=None, sampler=None, stage="val")
xmodaler/datasets/build.py:85
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/lowrank_bilinear_encoder.py:78
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/single_stream_bert_encoder.py:40
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/two_stream_bert_encoder.py:58
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/updown_encoder.py:27
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/transformer_encoder.py:41
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/cosnet_encoder.py:91
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/gtransformer_encoder.py:47
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/tdconved_encoder.py:79
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/gcn_encoder.py:59
Methodadd_config
(cls, cfg)
xmodaler/modeling/encoder/memory_augmented_encoder.py:139
Methodadd_config
(cls, cfg, tmp_cfg)
xmodaler/modeling/meta_arch/uniter.py:221
Methodadd_config
(cls, cfg, tmp_cfg)
xmodaler/modeling/meta_arch/base_enc_dec.py:66
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/multimodal_similarity.py:68
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/multimodal_predictor.py:84
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/multimodal_predictor.py:159
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/bert_predictor.py:48
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/bert_predictor.py:95
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/bert_predictor.py:132
Methodadd_config
(cls, cfg)
xmodaler/modeling/predictor/bert_predictor.py:167
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/attribute_decoder.py:51
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/updown_decoder.py:64
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/salstm_decoder.py:56
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/tdconved_decoder.py:95
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/cosnet_decoder.py:46
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/decouple_bert_decoder.py:60
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/transformer_decoder.py:43
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/lowrank_bilinear_decoder.py:77
Methodadd_config
(cls, cfg)
xmodaler/modeling/decoder/meshed_decoder.py:120
Methodadd_config
(cls, cfg)
xmodaler/losses/bce_logits.py:24
Methodadd_config
(cls, cfg)
xmodaler/losses/cross_entropy.py:24
Methodadd_config
(cls, cfg)
xmodaler/losses/reward_criterion.py:26
Methodadd_config
(cls, cfg)
xmodaler/losses/pretrain_losses.py:32
Methodadd_config
(cls, cfg)
xmodaler/losses/label_smoothing.py:33
Methodadd_config
(cls, cfg)
xmodaler/losses/semcomphder_loss.py:42
Functionadd_loss_config
(cfg, tmp_cfg)
xmodaler/losses/build.py:30
Methodafter_step
(self)
xmodaler/engine/hooks.py:76
Methodafter_step
(self)
xmodaler/engine/hooks.py:98
Methodafter_step
(self)
xmodaler/engine/hooks.py:164
Methodafter_step
(self)
xmodaler/engine/hooks.py:197
Methodafter_step
(self)
xmodaler/engine/hooks.py:226
Methodafter_step
(self)
xmodaler/engine/hooks.py:271
Methodafter_step
(self)
xmodaler/engine/hooks.py:320
Methodafter_step
(self)
xmodaler/engine/hooks.py:403
Methodafter_step
(self)
xmodaler/engine/hooks.py:459
Methodafter_train
(self)
xmodaler/engine/hooks.py:64
Methodafter_train
(self)
xmodaler/engine/hooks.py:134
Methodafter_train
(self)
xmodaler/engine/hooks.py:204
Methodafter_train
(self)
xmodaler/engine/hooks.py:409
Functionall_gather_list
Gathers arbitrary data from all nodes into a list.
xmodaler/utils/distributed.py:91
Methodapply_overrides
In-place override contents of cfg. Args: cfg: an omegaconf config object overrides: list of strings in the f
xmodaler/config/lazy.py:270
Methodauto_scale_workers
(cfg, num_workers: int)
xmodaler/engine/defaults.py:440
Methodbefore_step
(self)
xmodaler/engine/hooks.py:72
Methodbefore_step
(self)
xmodaler/engine/hooks.py:160
Methodbefore_step
(self)
xmodaler/engine/hooks.py:313
Methodbefore_train
(self)
xmodaler/engine/hooks.py:60
Methodbefore_train
(self)
xmodaler/engine/hooks.py:87
Methodbefore_train
(self)
xmodaler/engine/hooks.py:129
Methodbefore_train
(self)
xmodaler/engine/hooks.py:223
Methodbefore_train
(self)
xmodaler/engine/hooks.py:248
Methodbind_or_init_weights
(self)
xmodaler/modeling/meta_arch/uniter.py:78
Methodbind_or_init_weights
(self)
xmodaler/modeling/meta_arch/base_enc_dec.py:87
Functionbroadcast_tensors
broadcast tensors in chunks of the specified size. Args: tensors: list of Tensors to broadcast root_rank: rank to broadcast
xmodaler/utils/distributed.py:13
Functionbuild_optimizer_params
(cfg: CfgNode, params)
xmodaler/optim/build.py:185
Methodbuild_train_loader
(cls, cfg)
xmodaler/engine/vcr_trainer.py:28
Methodbuild_val_loader
(cls, cfg)
xmodaler/engine/vcr_trainer.py:37
Functionclip_grad_norm
(p: _GradientClipperInput)
xmodaler/optim/build.py:24
Functionclip_grad_value
(p: _GradientClipperInput)
xmodaler/optim/build.py:27
Methodclose
(self)
xmodaler/utils/events.py:45
Methodclose
(self)
xmodaler/utils/events.py:175
Functioncolormap
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a flo
xmodaler/utils/colormap.py:95
Methodcompute_doc_freq
Compute term frequency for reference data. This will be used to compute idf (inverse document frequency later) The term fr
xmodaler/scorer/cider.py:106
Methodcompute_score
(self)
xmodaler/scorer/cider.py:193
Functionconfigurable
Decorate a function or a class's __init__ method so that it can be called with a :class:`CfgNode` object using a :func:`from_config` function
xmodaler/config/config.py:131
Functioncook_test
Takes a test sentence and returns an object that encapsulates everything that BLEU needs to know about it. :param test: list of string : hypot
tools/cider_cache.py:36
Methodcounts2vec
Function maps counts of ngram to vector of tfidf weights. The function returns vec, an array of dictionary that store mappi
xmodaler/scorer/cider.py:120
← previousnext →501–600 of 909, ranked by callers