MCPcopy Create free account

hub / github.com/cvg/megaflow / types & classes

Types & classes52 in github.com/cvg/megaflow

↓ 7 callersClassSceneData
megaflow/data/datasets.py:32
↓ 5 callersClassDinoVisionTransformer
megaflow/model/layers/vision_transformer.py:42
↓ 3 callersClassKubricMovifDataset
megaflow/data/point_utils/kubric_movif_dataset.py:14
↓ 2 callersClassDataModule
PyTorch Lightning DataModule for MegaFlow training and validation. Parameters ---------- args : argparse.Namespace Configuration
megaflow/train/flow_trainer.py:351
↓ 2 callersClassDropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
megaflow/model/layers/drop_path.py:26
↓ 2 callersClassLayerScale
megaflow/model/layers/layer_scale.py:15
↓ 2 callersClassMegaFlow
MegaFlow: Zero-Shot Large Displacement Optical Flow. Args: img_size (int): Image size in pixels. patch_size (int): Size of e
megaflow/model/megaflow.py:28
↓ 2 callersClassMegaFlowLit
PyTorch Lightning module for MegaFlow optical flow estimation. This class implements the training and validation logic for the MegaFlow model
megaflow/train/flow_trainer.py:20
↓ 2 callersClassMegaFlowTrackLit
PyTorch Lightning module for MegaFlow point tracking estimation. This class implements the training and validation logic for the MegaFlow model
megaflow/train/track_trainer.py:21
↓ 2 callersClassResidualConvUnit
Residual convolution module.
megaflow/model/flow_head.py:327
↓ 2 callersClassVisualizer
megaflow/utils/visualizer.py:69
↓ 1 callersClassBasicMotionEncoder
megaflow/model/refine.py:110
↓ 1 callersClassBlock
megaflow/model/layers/block.py:27
↓ 1 callersClassBlockChunk
megaflow/model/layers/vision_transformer.py:35
↓ 1 callersClassConvNextBlock
r""" ConvNeXt Block. There are two equivalent implementations: (1) DwConv -> LayerNorm (channels_first) -> 1x1 Conv -> GELU -> 1x1 Conv; all in (N
megaflow/model/layer.py:41
↓ 1 callersClassDataBlob
megaflow/data/datasets.py:42
↓ 1 callersClassDataModule
PyTorch Lightning DataModule for Megaflow training and validation. Parameters ---------- args : argparse.Namespace Configuration
megaflow/train/track_trainer.py:239
↓ 1 callersClassDavisDataset
megaflow/data/point_utils/tapvid_dataset.py:14
↓ 1 callersClassFeatureFusionBlock
Feature fusion block.
megaflow/model/flow_head.py:372
↓ 1 callersClassFlowAugmentor
megaflow/utils/augmentor.py:12
↓ 1 callersClassFlowFeature
Flow head that processes input tokens and predicts downsample features for flow estimation. Behavior: In forward, it will take in a list
megaflow/model/flow_head.py:8
↓ 1 callersClassFlowHead
megaflow/model/refine.py:100
↓ 1 callersClassFlyingChairs
megaflow/data/datasets.py:449
↓ 1 callersClassKineticsDataset
megaflow/data/point_utils/tapvid_dataset.py:86
↓ 1 callersClassLayerNorm
r""" LayerNorm that supports two data formats: channels_last (default) or channels_first. The ordering of the dimensions in the inputs. channels_
megaflow/model/layer.py:77
↓ 1 callersClassPatchEmbed
2D image to patch embedding: (B,C,H,W) -> (B,N,D) Args: img_size: Image size. patch_size: Patch token size. in_chans
megaflow/model/layers/patch_embed.py:25
↓ 1 callersClassPositionGetter
Generates and caches 2D spatial positions for patches in a grid. This class efficiently manages the generation of spatial coordinates for patches
megaflow/model/layers/rope.py:24
↓ 1 callersClassRAFTUpdateBlock
megaflow/model/refine.py:149
↓ 1 callersClassRGBStackingDataset
megaflow/data/point_utils/tapvid_dataset.py:153
↓ 1 callersClassResNetFPN
ResNet18, output resolution is 1/8. Each block has 2 layers.
megaflow/model/refine.py:8
↓ 1 callersClassRobotapDataset
megaflow/data/point_utils/tapvid_dataset.py:222
↓ 1 callersClassRotaryPositionEmbedding2D
2D Rotary Position Embedding implementation. This module applies rotary position embeddings to input tokens based on their 2D spatial positio
megaflow/model/layers/rope.py:62
↓ 1 callersClassSelfAttnPropagation
flow propagation with self-attention on feature query: feature0, key: feature0, value: flow
megaflow/model/model_utils.py:5
↓ 1 callersClassSparseFlowAugmentor
megaflow/utils/augmentor.py:284
ClassAttention
megaflow/model/layers/attention.py:52
ClassBasicBlock
megaflow/model/layer.py:14
ClassFlowDataset
megaflow/data/datasets.py:47
ClassFlyingThings3D
megaflow/data/datasets.py:484
ClassHD1K
megaflow/data/datasets.py:647
ClassInputPadderMF
Pads images such that dimensions are divisible by 8
megaflow/utils/basic.py:74
ClassKITTIN
megaflow/data/datasets.py:599
ClassMFMotionEncoder
megaflow/model/refine.py:129
ClassMemEffAttention
megaflow/model/layers/attention.py:106
ClassMlp
megaflow/model/layers/mlp.py:16
ClassMpiSintel
megaflow/data/datasets.py:401
ClassNestedTensorBlock
megaflow/model/layers/block.py:198
ClassPointDataset
megaflow/data/point_utils/pointdataset.py:10
ClassSpringFlowDataset
Dataset class for Spring optical flow dataset. For train, this dataset returns image1, image2, flow and a data tuple (framenum, scene name, l
megaflow/data/datasets.py:680
ClassSwiGLUFFN
megaflow/model/layers/swiglu_ffn.py:14
ClassSwiGLUFFNFused
megaflow/model/layers/swiglu_ffn.py:54
ClassTartanAir
megaflow/data/datasets.py:790
ClassVisConfHead
megaflow/model/flow_head.py:475