Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/showlab/Show-o
/ types & classes
Types & classes
141 in github.com/showlab/Show-o
⨍
Functions
766
◇
Types & classes
141
↳
Endpoints
3
↓ 15 callers
Class
Conversation
A class that keeps all conversation history.
llava/llava/conversation.py:20
↓ 11 callers
Class
CausalConv3d
Causal 3d convolusion.
show-o2/models/wan21_vae.py:17
↓ 10 callers
Class
WanVAE
show-o2/models/wan21_vae.py:622
↓ 9 callers
Class
RMSNorm
show-o2/models/modules.py:580
↓ 9 callers
Class
Showo2Qwen2_5
show-o2/models/modeling_showo2_qwen2_5.py:30
↓ 7 callers
Class
Sampler
Sampler class for the transport model
show-o2/transport/transport.py:255
↓ 6 callers
Class
AverageMeter
Computes and stores the average and current value
show-o2/utils.py:90
↓ 6 callers
Class
MixedDataLoader
show-o2/datasets/mixed_dataloader.py:33
↓ 6 callers
Class
ResidualBlock
show-o2/models/wan21_vae.py:186
↓ 6 callers
Class
ResnetBlock
models/common_modules.py:298
↓ 5 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
show-o2/models/modeling_siglip.py:58
↓ 5 callers
Class
RMS_norm
show-o2/models/wan21_vae.py:39
↓ 4 callers
Class
AttentionBlock
Causal self-attention with a single head.
show-o2/models/wan21_vae.py:223
↓ 4 callers
Class
AttnBlock
models/common_modules.py:168
↓ 4 callers
Class
AverageMeter
Computes and stores the average and current value
training/utils.py:160
↓ 4 callers
Class
Qwen2Model
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`Qwen2DecoderLayer`] Args: config: Qwen2Config
show-o2/models/qwen2.py:788
↓ 4 callers
Class
UniversalPrompting
training/prompting_utils.py:18
↓ 3 callers
Class
PatchEmbed
2D Image to Patch Embedding
show-o2/models/misc.py:124
↓ 3 callers
Class
PhiModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`PhiDecoderLayer`] Args: config: PhiConfig
models/phi.py:919
↓ 3 callers
Class
Qwen2RMSNorm
show-o2/models/qwen2.py:73
↓ 3 callers
Class
RefinedWebDataset
parquet/refinedweb_dataset.py:23
↓ 3 callers
Class
Text2ImageDataset
training/data.py:120
↓ 2 callers
Class
CLIPVisionTower
models/clip_encoder.py:6
↓ 2 callers
Class
CausalConv3d
models/common_modules.py:239
↓ 2 callers
Class
ImageNetDataset
training/imagenet_dataset.py:24
↓ 2 callers
Class
LLaVADataset
llava/llava_data_vq_unified.py:126
↓ 2 callers
Class
LLaVAInstructDataset
llava/llava_instruct_data.py:131
↓ 2 callers
Class
LLaVAPretrainCaptioningDataset
llava/llava_pretrain_data.py:57
↓ 2 callers
Class
MLP
show-o2/models/modules.py:603
↓ 2 callers
Class
MMUDataset
show-o2/datasets/mmu_dataset.py:29
↓ 2 callers
Class
Qwen2RotaryEmbedding
show-o2/models/qwen2.py:94
↓ 2 callers
Class
Resample
show-o2/models/wan21_vae.py:66
↓ 2 callers
Class
Showo
models/modeling_showo.py:23
↓ 2 callers
Class
SiglipEncoder
Transformer encoder consisting of `config.num_hidden_layers` self attention layers. Each layer is a [`SiglipEncoderLayer`]. Args:
show-o2/models/modeling_siglip.py:852
↓ 2 callers
Class
SiglipMLP
show-o2/models/modeling_siglip.py:616
↓ 2 callers
Class
StreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
llava/llava/utils.py:60
↓ 2 callers
Class
Upsample
show-o2/models/wan21_vae.py:57
↓ 2 callers
Class
VISTDataset
Dataset for Visual Story Telling (VIST) with interleaved image-text pairs.
show-o2/datasets/vist_dataset.py:28
↓ 2 callers
Class
VQGANEncoder
models/modeling_magvitv2.py:48
↓ 2 callers
Class
ode
ODE solver class
show-o2/transport/integrators.py:79
↓ 1 callers
Class
Decoder3d
show-o2/models/wan21_vae.py:369
↓ 1 callers
Class
DiffusionHeadConfig
show-o2/models/modules.py:72
↓ 1 callers
Class
Downsample
models/common_modules.py:73
↓ 1 callers
Class
EmptyTqdm
Dummy tqdm which doesn't do anything.
show-o2/models/my_logging.py:279
↓ 1 callers
Class
EmptyTqdm
Dummy tqdm which doesn't do anything.
models/logging.py:279
↓ 1 callers
Class
Encoder3d
show-o2/models/wan21_vae.py:265
↓ 1 callers
Class
FinalLayer
The final layer of DiT.
show-o2/models/misc.py:197
↓ 1 callers
Class
ImageNetDataset
Dataset for loading imagenet.
show-o2/datasets/imagenet_dataset.py:33
↓ 1 callers
Class
ImageTextDataset
Dataset for loading image-text pairs.
show-o2/datasets/image_text_dataset.py:33
↓ 1 callers
Class
LFQuantizer
models/modeling_magvitv2.py:172
↓ 1 callers
Class
MPLUG
show-o2/evaluation/compute_dpg_bench.py:53
↓ 1 callers
Class
ModulatedAttentionBlock
show-o2/models/modules.py:109
↓ 1 callers
Class
OmniAttentionMechanism
training/omni_attention.py:22
↓ 1 callers
Class
PhiDecoderLayer
models/phi.py:739
↓ 1 callers
Class
PhiDynamicNTKScalingRotaryEmbedding
PhiRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
models/phi.py:136
↓ 1 callers
Class
PhiForCausalLM
models/phi.py:1084
↓ 1 callers
Class
PhiLinearScalingRotaryEmbedding
PhiRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
models/phi.py:116
↓ 1 callers
Class
PhiMLP
models/phi.py:200
↓ 1 callers
Class
PhiRotaryEmbedding
models/phi.py:79
↓ 1 callers
Class
Qwen2DecoderLayer
show-o2/models/qwen2.py:580
↓ 1 callers
Class
Qwen2ForCausalLM
show-o2/models/qwen2.py:1090
↓ 1 callers
Class
Qwen2MLP
show-o2/models/qwen2.py:218
↓ 1 callers
Class
Residual
models/common_modules.py:226
↓ 1 callers
Class
RotaryEmbedding
show-o2/models/modules.py:255
↓ 1 callers
Class
SchedulerType
show-o2/models/lr_schedulers.py:29
↓ 1 callers
Class
SchedulerType
models/lr_schedulers.py:29
↓ 1 callers
Class
SiglipEncoderLayer
show-o2/models/modeling_siglip.py:631
↓ 1 callers
Class
SiglipMultiheadAttentionPoolingHead
Multihead Attention Pooling.
show-o2/models/modeling_siglip.py:1130
↓ 1 callers
Class
SiglipOutput
Args: loss (`torch.FloatTensor` of shape `(1,)`, *optional*, returned when `return_loss` is `True`): Contrastive loss for ima
show-o2/models/modeling_siglip.py:230
↓ 1 callers
Class
SiglipTextEmbeddings
show-o2/models/modeling_siglip.py:339
↓ 1 callers
Class
SiglipTextTransformer
show-o2/models/modeling_siglip.py:940
↓ 1 callers
Class
SiglipVisionEmbeddings
show-o2/models/modeling_siglip.py:266
↓ 1 callers
Class
SiglipVisionTransformer
show-o2/models/modeling_siglip.py:1073
↓ 1 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
show-o2/models/misc.py:156
↓ 1 callers
Class
Transport
show-o2/transport/transport.py:42
↓ 1 callers
Class
Upsample
models/common_modules.py:27
↓ 1 callers
Class
VQGANDecoder
models/modeling_magvitv2.py:277
↓ 1 callers
Class
WanVAE_
show-o2/models/wan21_vae.py:483
↓ 1 callers
Class
_tqdm_cls
show-o2/models/my_logging.py:303
↓ 1 callers
Class
_tqdm_cls
models/logging.py:303
↓ 1 callers
Class
sde
SDE solver class
show-o2/transport/integrators.py:5
Class
Attention
Multi-headed attention from 'Attention Is All You Need' paper
show-o2/models/modules.py:354
Class
CLIPVisionEncoder
show-o2/models/misc.py:242
Class
CLIPVisionEncoder
show-o2/models/modules.py:833
Class
CLIPVisionTowerS2
models/clip_encoder.py:85
Class
Config
models/modeling_magvitv2.py:50
Class
DecoderLayer
show-o2/models/modules.py:625
Class
DepthToSpaceUpsample
models/common_modules.py:43
Class
EMA
Exponential Moving Average of models weights
models/training_utils.py:61
Class
EasyDict
show-o2/transport/utils.py:4
Class
FinalLayer
The final layer of DiT.
show-o2/models/modules.py:778
Class
GVPCPlan
show-o2/transport/path.py:185
Class
ICPlan
Linear Coupling Plan
show-o2/transport/path.py:19
Class
KeywordsStoppingCriteria
llava/llava/mm_utils.py:216
Class
LegacyModelMixin
r""" A subclass of `ModelMixin` to resolve class mapping from legacy classes (like `Transformer2DModel`) to more pipeline-specific classes (li
show-o2/models/modeling_utils.py:1155
Class
LegacyModelMixin
r""" A subclass of `ModelMixin` to resolve class mapping from legacy classes (like `Transformer2DModel`) to more pipeline-specific classes (li
models/modeling_utils.py:1157
Class
Lion
r"""Implements Lion algorithm.
training/optimizer.py:20
Class
MAGVITv2
models/modeling_magvitv2.py:402
Class
ModelMixin
r""" Base class for all models. [`ModelMixin`] takes care of storing the model configuration and provides methods for loading, downloading an
show-o2/models/modeling_utils.py:120
Class
ModelMixin
r""" Base class for all models. [`ModelMixin`] takes care of storing the model configuration and provides methods for loading, downloading an
models/modeling_utils.py:120
next →
1–100 of 141, ranked by callers