Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YehLi/xmodaler
/ types & classes
Types & classes
184 in github.com/YehLi/xmodaler
⨍
Functions
909
◇
Types & classes
184
↓ 6 callers
Class
BertLayer
xmodaler/modeling/layers/bert.py:334
↓ 5 callers
Class
AttentionPooler
xmodaler/modeling/layers/attention_pooler.py:11
↓ 4 callers
Class
BertIntermediate
xmodaler/modeling/layers/bert.py:171
↓ 4 callers
Class
BertOutput
xmodaler/modeling/layers/bert.py:201
↓ 3 callers
Class
BertAttention
xmodaler/modeling/layers/bert.py:147
↓ 3 callers
Class
BertGenerationLayer
xmodaler/modeling/layers/bert.py:407
↓ 3 callers
Class
BertPredictionHeadTransform
xmodaler/modeling/layers/bert.py:463
↓ 2 callers
Class
BaseAttention
xmodaler/modeling/layers/base_attention.py:11
↓ 2 callers
Class
BertPooler
xmodaler/modeling/layers/bert.py:440
↓ 2 callers
Class
BertSelfOutput
xmodaler/modeling/layers/bert.py:119
↓ 2 callers
Class
CiderScorer
CIDEr scorer.
xmodaler/scorer/cider.py:54
↓ 2 callers
Class
DatasetFromList
Wrap a list to a torch Dataset. It produces elements of the list as data.
xmodaler/datasets/common.py:60
↓ 2 callers
Class
EventStorage
The user-facing class that provides metric storage functionalities. In the future we may add support for storing / logging other types of da
xmodaler/utils/events.py:273
↓ 2 callers
Class
LowRankBilinearLayer
xmodaler/modeling/layers/lowrank_bilinear_layers.py:140
↓ 2 callers
Class
MapDataset
Map a function over the elements in a dataset. Args: dataset: a dataset where map function is applied. map_func: a callable
xmodaler/datasets/common.py:15
↓ 2 callers
Class
ModelEma
xmodaler/engine/ema.py:8
↓ 2 callers
Class
MultiHeadAttention
Multi-head attention layer with Dropout and Layer Normalization.
xmodaler/modeling/layers/multihead_attention.py:198
↓ 2 callers
Class
PositionWiseFeedForward
Position-wise feed forward layer
xmodaler/modeling/layers/positionwise_feedforward.py:12
↓ 2 callers
Class
XmodalerCheckpointer
Same as :class:`Checkpointer`, but is able to handle models in xmodaler model zoo, and apply conversions for legacy models.
xmodaler/checkpoint/xmodaler_checkpoint.py:58
↓ 1 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
xmodaler/tokenization/tokenization_bert.py:224
↓ 1 callers
Class
BatchTriplet
xmodaler/losses/triplet.py:49
↓ 1 callers
Class
BertCrossAttention
xmodaler/modeling/layers/bert.py:309
↓ 1 callers
Class
BertSelfAttention
xmodaler/modeling/layers/bert.py:33
↓ 1 callers
Class
BertUnderstandingLayer
xmodaler/modeling/layers/bert.py:362
↓ 1 callers
Class
BertXAttention
xmodaler/modeling/layers/bert.py:231
↓ 1 callers
Class
COSBertIntermediate
xmodaler/modeling/layers/cosnet_layer.py:136
↓ 1 callers
Class
COSBertOutput
xmodaler/modeling/layers/cosnet_layer.py:166
↓ 1 callers
Class
COSJointAttention
xmodaler/modeling/layers/cosnet_layer.py:9
↓ 1 callers
Class
COSNetDecBlock
xmodaler/modeling/layers/cosnet_layer.py:196
↓ 1 callers
Class
CfgNode
The same as `fvcore.common.config.CfgNode`, but different in: 1. Use unsafe yaml loading by default. Note that this may lead to arbit
xmodaler/config/config.py:12
↓ 1 callers
Class
ClipRetrieval
configs/image_caption/cosnet/COS-Net-preprocess/step1_mil.py:52
↓ 1 callers
Class
ClipRetrieval
configs/image_caption/cosnet/COS-Net-preprocess/step2_txtfeat.py:52
↓ 1 callers
Class
CommonMetricPrinter
Print **common** metrics to the terminal, including iteration time, ETA, memory, all losses, and the learning rate. It also applies smoot
xmodaler/utils/events.py:180
↓ 1 callers
Class
EncoderLayer
xmodaler/modeling/encoder/memory_augmented_encoder.py:55
↓ 1 callers
Class
Ensemble
xmodaler/modeling/meta_arch/ensemble.py:16
↓ 1 callers
Class
JSONWriter
Write scalars to a json file. It saves scalars as one json per line (instead of a big json) for easy parsing. Examples parsing such a j
xmodaler/utils/events.py:49
↓ 1 callers
Class
LowRank
xmodaler/modeling/layers/lowrank_bilinear_layers.py:13
↓ 1 callers
Class
LowRankBilinearAttention
xmodaler/modeling/layers/lowrank_bilinear_layers.py:188
↓ 1 callers
Class
MeshedDecoderLayer
xmodaler/modeling/decoder/meshed_decoder.py:22
↓ 1 callers
Class
MultiHeadAttentionMemory
Multi-head attention layer with Dropout and Layer Normalization.
xmodaler/modeling/layers/multihead_attention.py:164
↓ 1 callers
Class
NoOp
useful for distributed training No-Ops
xmodaler/engine/single_stream_retrieval_trainer.py:32
↓ 1 callers
Class
PicklableWrapper
Wrap an object to make it more picklable, note that it uses heavy weight serialization libraries that are slower than pickle. It's best t
xmodaler/utils/serialize.py:5
↓ 1 callers
Class
SCAttention
xmodaler/modeling/layers/scattention.py:41
↓ 1 callers
Class
ScaledDotProductAttention
Scaled dot-product attention
xmodaler/modeling/layers/multihead_attention.py:12
↓ 1 callers
Class
ScaledDotProductAttentionMemory
Scaled dot-product attention with memory
xmodaler/modeling/layers/multihead_attention.py:86
↓ 1 callers
Class
ShiftedConvLayer
xmodaler/modeling/layers/tdconved_layers.py:242
↓ 1 callers
Class
SoftAttention
xmodaler/modeling/layers/tdconved_layers.py:290
↓ 1 callers
Class
TemporalDeformableBlock
xmodaler/modeling/layers/tdconved_layers.py:15
↓ 1 callers
Class
TemporalDeformableLayer
xmodaler/modeling/layers/tdconved_layers.py:200
↓ 1 callers
Class
TensorboardXWriter
Write all scalars to a tensorboard file.
xmodaler/utils/events.py:130
↓ 1 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
xmodaler/tokenization/tokenization_bert.py:360
↓ 1 callers
Class
_ColorfulFormatter
xmodaler/utils/logger.py:15
Class
Adagrad
xmodaler/optim/adagrad.py:11
Class
Adam
xmodaler/optim/adam.py:11
Class
AdamW
xmodaler/optim/adamw.py:11
Class
Adamax
xmodaler/optim/adamax.py:11
Class
AttributeDecoder
xmodaler/modeling/decoder/attribute_decoder.py:19
Class
AutogradProfiler
A hook which runs `torch.autograd.profiler.profile`. Examples: :: hooks.AutogradProfiler( lambda trainer: trainer.i
xmodaler/engine/hooks.py:277
Class
BCEWithLogits
xmodaler/losses/bce_logits.py:13
Class
BaseEncoderDecoder
xmodaler/modeling/meta_arch/base_enc_dec.py:25
Class
BasePredictor
xmodaler/modeling/predictor/base_predictor.py:16
Class
BaseScorer
xmodaler/scorer/base_scorer.py:18
Class
BasicAtt
xmodaler/modeling/layers/scattention.py:12
Class
BeamSearcher
xmodaler/modeling/decode_strategy/beam_searcher.py:17
Class
BertAdam
xmodaler/optim/bertadam.py:12
Class
BertIsMatchedPredictor
xmodaler/modeling/predictor/bert_predictor.py:146
Class
BertPredictionHead
xmodaler/modeling/predictor/bert_predictor.py:18
Class
BertTokenizedScorer
xmodaler/scorer/bert_tokenized_scorer.py:17
Class
BertTokenizer
r""" Constructs a BertTokenizer. :class:`~pytorch_transformers.BertTokenizer` runs end-to-end tokenization: punctuation splitting + wordpiec
xmodaler/tokenization/tokenization_bert.py:103
Class
BertVisualFeatureRegressionHead
xmodaler/modeling/predictor/bert_predictor.py:109
Class
BertVisualPredictionHead
xmodaler/modeling/predictor/bert_predictor.py:73
Class
COCOEvaler
xmodaler/evaluation/coco_evaler.py:21
Class
COCOPrinter
xmodaler/evaluation/coco_printer.py:16
Class
COSNetDecoder
xmodaler/modeling/decoder/cosnet_decoder.py:19
Class
COSNetEncoder
xmodaler/modeling/encoder/cosnet_encoder.py:19
Class
CallbackHook
Create a hook using callback functions provided by the user.
xmodaler/engine/hooks.py:46
Class
Cider
Main Class to compute the CIDEr metric
xmodaler/scorer/cider.py:202
Class
ConceptualCaptionsDataset
xmodaler/datasets/images/conceptual_captions.py:31
Class
ConceptualCaptionsDatasetForSingleStream
xmodaler/datasets/images/conceptual_captions.py:138
Class
ConverterV1
xmodaler/config/compat.py:164
Class
ConverterV2
A large bulk of rename, before public release.
xmodaler/config/compat.py:168
Class
CrossEntropy
xmodaler/losses/cross_entropy.py:13
Class
DecodeStrategy
xmodaler/modeling/decode_strategy/decode_strategy.py:14
Class
Decoder
xmodaler/modeling/decoder/decoder.py:14
Class
DecoupleBertDecoder
xmodaler/modeling/decoder/decouple_bert_decoder.py:20
Class
DefaultTrainer
A trainer with default training logic. It does the following: 1. Create a :class:`DefaultTrainer` using model, optimizer, dataloader
xmodaler/engine/defaults.py:187
Class
Encoder
xmodaler/modeling/encoder/encoder.py:17
Class
EnsembleBeamSearcher
xmodaler/modeling/decode_strategy/ensemble_beam_searcher.py:19
Class
Ensembler
xmodaler/engine/ensembler.py:30
Class
EvalHook
Run an evaluation function periodically, and at the end of training. It is executed every ``eval_period`` iterations and after the last iter
xmodaler/engine/hooks.py:341
Class
EventWriter
Base class for writers that obtain events from :class:`EventStorage` and process them.
xmodaler/utils/events.py:37
Class
FixLR
Fix LR
xmodaler/lr_scheduler/fix_lr.py:11
Class
Flickr30kDataset
xmodaler/datasets/images/flickr30k.py:20
Class
Flickr30kDatasetForSingleStream
xmodaler/datasets/images/flickr30k_single_stream.py:23
Class
Flickr30kDatasetForSingleStreamVal
xmodaler/datasets/images/flickr30k_single_stream.py:139
Class
GCNEncoder
xmodaler/modeling/encoder/gcn_encoder.py:18
Class
GTransformerEncoder
xmodaler/modeling/encoder/gtransformer_encoder.py:18
Class
GreedyDecoder
xmodaler/modeling/decode_strategy/greedy_decoder.py:16
Class
HookBase
Base class for hooks that can be registered with :class:`TrainerBase`. Each hook can implement 4 methods. The way they are called is demonst
xmodaler/engine/train_loop.py:22
Class
IterationTimer
Track the time spent for each iteration (each run_step call in the trainer). Print a summary in the end of training. This hook uses the
xmodaler/engine/hooks.py:106
next →
1–100 of 184, ranked by callers