Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/autonomousvision/unimatch
/ functions
Functions
377 in github.com/autonomousvision/unimatch
⨍
Functions
377
◇
Types & classes
110
Method
count_flops
(model, _x, y)
unimatch/ldm_unet/unet.py:606
Function
count_parameters
(model)
utils/utils.py:149
Function
epe_metric
(d_est, d_gt, mask, use_np=False)
loss/stereo_metric.py:5
Function
extract_into_tensor
(a, t, x_shape)
unimatch/ldm_unet/util.py:96
Function
flow_to_color
Expects a two dimensional flow image of shape [H,W,2] According to the C++ source code of Daniel Scharstein According to the Matlab sourc
utils/flow_viz.py:111
Function
flow_warp
(feature, flow, mask=False, padding_mode='zeros')
utils/utils.py:119
Method
forward
(self, x)
unimatch/vit_fpn.py:58
Method
forward
Forward pass. Args: x (tensor): input Returns: tensor: output
unimatch/dpt_head.py:105
Method
forward
Forward pass. Returns: tensor: output
unimatch/dpt_head.py:178
Method
forward
( self, out_features, downsample_factor=8, cnn_features=None, mv_featu
unimatch/dpt_head.py:440
Method
forward
( self, img0, img1, attn_type=None, attn_splits_list=None, int
unimatch/unimatch_depthsplat.py:235
Method
forward
(self, inputs)
unimatch/trident_conv.py:64
Method
forward
(self, feature0, flow, local_window_attn=False, local_window_radius=1,
unimatch/attention.py:184
Method
forward
(self, source, target, height=None, width=None, shifted_win
unimatch/transformer.py:42
Method
forward
(self, source, target, height=None, width=None, shifted_win
unimatch/transformer.py:168
Method
forward
(self, feature0, feature1, attn_type='swin', attn_num_splits=None,
unimatch/transformer.py:226
Method
forward
(self, x)
unimatch/reg_refine.py:16
Method
forward
(self, h, x)
unimatch/reg_refine.py:37
Method
forward
(self, flow, corr)
unimatch/reg_refine.py:67
Method
forward
(self, net, inp, corr, flow)
unimatch/reg_refine.py:106
Method
forward
(self, x)
unimatch/position.py:26
Method
forward
(self, img0, img1, attn_type=None, attn_splits_list=None, c
unimatch/unimatch.py:95
Method
forward
(self, x)
unimatch/backbone.py:28
Method
forward
(self, x)
unimatch/backbone.py:106
Method
forward
(self, x)
unimatch/ldm_unet/unet.py:55
Method
forward
Apply the module to `x` given `emb` timestep embeddings.
unimatch/ldm_unet/unet.py:72
Method
forward
(self, x, emb, context=None)
unimatch/ldm_unet/unet.py:84
Method
forward
(self, x, y=None)
unimatch/ldm_unet/unet.py:117
Method
forward
(self,x)
unimatch/ldm_unet/unet.py:138
Method
forward
(self, x, y=None)
unimatch/ldm_unet/unet.py:173
Method
forward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
unimatch/ldm_unet/unet.py:278
Method
forward
(self, x)
unimatch/ldm_unet/unet.py:364
Method
forward
(self, x, y=None)
unimatch/ldm_unet/unet.py:444
Method
forward
Apply QKV attention. :param qkv: an [N x (H * 3 * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor afte
unimatch/ldm_unet/unet.py:542
Method
forward
Apply QKV attention. :param qkv: an [N x (3 * H * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor afte
unimatch/ldm_unet/unet.py:585
Method
forward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
unimatch/ldm_unet/unet.py:1070
Method
forward
(self, x, context=None)
unimatch/ldm_unet/unet.py:1210
Method
forward
(self, x, y)
unimatch/ldm_unet/cross_attention.py:47
Method
forward
(self, x, y)
unimatch/ldm_unet/cross_attention.py:129
Method
forward
(self, x)
unimatch/ldm_unet/attention.py:40
Method
forward
(self, x)
unimatch/ldm_unet/attention.py:61
Method
forward
(self, x)
unimatch/ldm_unet/attention.py:86
Method
forward
(self, x)
unimatch/ldm_unet/attention.py:124
Method
forward
(self, x, context=None, mask=None)
unimatch/ldm_unet/attention.py:168
Method
forward
(self, x, context=None)
unimatch/ldm_unet/attention.py:206
Method
forward
(self, x, context=None)
unimatch/ldm_unet/attention.py:250
Method
forward
(ctx, run_function, length, *args)
unimatch/ldm_unet/util.py:121
Method
forward
(self, x)
unimatch/ldm_unet/util.py:229
Method
forward
(self, x)
unimatch/ldm_unet/util.py:233
Method
forward
(self, x)
unimatch/ldm_unet/util.py:238
Method
forward
(self, x)
unimatch/ldm_unet/util.py:242
Function
generate_window_grid
(h_min, h_max, w_min, w_max, len_h, len_w, device=None)
unimatch/geometry.py:24
Function
init_
(tensor)
unimatch/ldm_unet/attention.py:27
Function
linear
Create a linear module.
unimatch/ldm_unet/util.py:258
Function
make_beta_schedule
(schedule, n_timestep, linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3)
unimatch/ldm_unet/util.py:21
Function
make_ddim_sampling_parameters
(alphacums, ddim_timesteps, eta, verbose=True)
unimatch/ldm_unet/util.py:63
Function
make_ddim_timesteps
(ddim_discr_method, num_ddim_timesteps, num_ddpm_timesteps, verbose=True)
unimatch/ldm_unet/util.py:46
Function
max_neg_value
(t)
unimatch/ldm_unet/attention.py:23
Function
mean_flat
Take the mean over all non-batch dimensions.
unimatch/ldm_unet/util.py:192
Function
noise_like
(shape, device, repeat=False)
unimatch/ldm_unet/util.py:291
Function
normalize_coords
Normalize coordinates of image scale to [-1, 1] Args: grid: [B, 2, H, W]
utils/utils.py:106
Function
normalize_coords
(coords, h, w)
unimatch/geometry.py:35
Function
readDispKITTI
(filename)
utils/frame_utils.py:110
Function
readFlowKITTI
(filename)
utils/frame_utils.py:102
Function
read_gen
(file_name, pil=False)
utils/frame_utils.py:124
Function
read_text_lines
(filepath)
utils/misc.py:6
Function
read_vkitti2_flow
(filename)
utils/frame_utils.py:141
Function
save_args
(args, filename='args.json')
utils/misc.py:28
Function
save_command
(save_path, filename='command_train.txt')
utils/misc.py:18
Function
scale_module
Scale the parameters of a module and return it.
unimatch/ldm_unet/util.py:183
Function
set_bn_eval
(m)
utils/utils.py:154
Function
timestep_embedding
Create sinusoidal timestep embeddings. :param timesteps: a 1-D Tensor of N indices, one per batch element. These may be
unimatch/ldm_unet/util.py:151
Function
uniq
(arr)
unimatch/ldm_unet/attention.py:13
Function
upflow8
(flow, mode='bilinear')
utils/utils.py:128
Function
upsample_flow
(flow, img)
utils/utils.py:141
Function
writeFlow
Write optical flow to file. If v is None, uv is assumed to contain both u and v channels, stacked in depth. Original code by Deqing
utils/frame_utils.py:70
Function
writeFlowKITTI
(filename, uv)
utils/frame_utils.py:117
← previous
301–377 of 377, ranked by callers