struct

GS::MASt3R::ModelConfig

Inherits Struct < Value < Object

MASt3R model configuration

Constructors

new(img_size : Int32 = 512, patch_size : Int32 = 16, in_channels : Int32 = 3, embed_dim : Int32 = 1024, encoder_depth : Int32 = 24, decoder_features : Int32 = 256, num_heads : Int32 = 16, mlp_ratio : Float32 = 4.0_f32)
Source
vit_base
Source
vit_large
Source
vit_small
Source

Instance methods

decoder_features
Source
decoder_features=(decoder_features : Int32)
Source
embed_dim
Source
embed_dim=(embed_dim : Int32)
Source
encoder_depth
Source
encoder_depth=(encoder_depth : Int32)
Source
img_size
Source
img_size=(img_size : Int32)
Source
in_channels
Source
in_channels=(in_channels : Int32)
Source
mlp_ratio
Source
mlp_ratio=(mlp_ratio : Float32)
Source
num_heads
Source
num_heads=(num_heads : Int32)
Source
patch_size
Source
patch_size=(patch_size : Int32)
Source