Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charigyang/motiongrouping
/ functions
Functions
126 in github.com/charigyang/motiongrouping
⨍
Functions
126
◇
Types & classes
32
↓ 6 callers
Method
__init__
(self, hidden_dim=128, input_dim=192+128)
raft/core/update.py:17
↓ 4 callers
Method
__init__
(self, aug_params=None, root='datasets/HD1k')
raft/core/datasets.py:181
↓ 4 callers
Function
load_image
(imfile, resolution=None)
raft/predict.py:39
↓ 4 callers
Method
update
(self, val, n=1)
tools/MoCA_eval.py:84
↓ 3 callers
Method
__init__
(self, output_dim=128, norm_fn='batch', dropout=0.0)
raft/core/extractor.py:119
↓ 3 callers
Method
_make_layer
(self, dim, stride=1)
raft/core/extractor.py:159
↓ 3 callers
Method
_make_layer
(self, dim, stride=1)
raft/core/extractor.py:235
↓ 3 callers
Function
iou
(masks, gt, thres=0.5)
src/utils.py:100
↓ 3 callers
Function
readFlow
(sample_dir, resolution, to_rgb)
src/data.py:13
↓ 2 callers
Method
__init__
Builds the Slot Attention module. Args: iters: Number of iterations. num_slots: Number of slots. encoder_d
src/model.py:61
↓ 2 callers
Function
coords_grid
(batch, ht, wd)
raft/core/utils/utils.py:74
↓ 2 callers
Function
eval
(val_loader, model, device, moca, use_flow, it, resultsPath=None, writer=None, train=False)
src/eval.py:18
↓ 2 callers
Function
readRGB
(sample_dir, resolution)
src/data.py:22
↓ 2 callers
Function
readSeg
(sample_dir)
src/data.py:30
↓ 1 callers
Method
__init__
(self, sampler)
src/utils.py:170
↓ 1 callers
Method
__iter__
(self)
src/utils.py:173
↓ 1 callers
Function
bb_intersection_over_union
(boxA, boxB)
tools/MoCA_eval.py:41
↓ 1 callers
Function
bb_intersection_over_union
(boxA, boxB)
src/utils.py:34
↓ 1 callers
Function
bilinear_sampler
Wrapper for grid_sample, uses pixel coordinates
raft/core/utils/utils.py:57
↓ 1 callers
Function
build_grid
(resolution)
src/model.py:9
↓ 1 callers
Method
color_transform
Photometric augmentation
raft/core/utils/augmentor.py:36
↓ 1 callers
Method
color_transform
(self, img1, img2)
raft/core/utils/augmentor.py:142
↓ 1 callers
Function
combine
(dir1, dir2)
tools/SegTrack_clean.py:6
↓ 1 callers
Method
corr
(fmap1, fmap2)
raft/core/corr.py:53
↓ 1 callers
Method
eraser_transform
Occlusion augmentation
raft/core/utils/augmentor.py:52
↓ 1 callers
Method
eraser_transform
(self, img1, img2)
raft/core/utils/augmentor.py:148
↓ 1 callers
Function
find_gt
(directory)
tools/FBMS_clean.py:27
↓ 1 callers
Function
flow_uv_to_colors
Applies the flow color wheel to (possibly clipped) flow components u and v. According to the C++ source code of Daniel Scharstein Accord
raft/core/utils/flow_viz.py:70
↓ 1 callers
Method
forward
Estimate optical flow between pair of frames
raft/core/raft.py:86
↓ 1 callers
Function
heuristic_fg_bg
(mask)
tools/MoCA_eval.py:65
↓ 1 callers
Function
heuristic_fg_bg
(mask)
src/utils.py:58
↓ 1 callers
Method
initialize_flow
Flow is represented as difference between two coordinate grids flow = coords1 - coords0
raft/core/raft.py:63
↓ 1 callers
Function
main
(args)
tools/MoCA_eval.py:91
↓ 1 callers
Function
main
(args)
src/eval.py:80
↓ 1 callers
Function
main
(args)
src/train.py:18
↓ 1 callers
Function
make_colorwheel
Generates a color wheel for optical flow visualization as presented in: Baker et al. "A Database and Evaluation Methodology for Optical F
raft/core/utils/flow_viz.py:20
↓ 1 callers
Method
make_encoder
(self, in_channels, encoder_arch)
src/model.py:204
↓ 1 callers
Method
pad
(self, *inputs)
raft/core/utils/utils.py:18
↓ 1 callers
Function
predict
(args)
raft/predict.py:48
↓ 1 callers
Function
readFlow
Read .flo file in Middlebury format
raft/core/utils/frame_utils.py:12
↓ 1 callers
Function
readPFM
(file)
raft/core/utils/frame_utils.py:33
↓ 1 callers
Function
read_annotation
(annotation)
tools/MoCA_eval.py:11
↓ 1 callers
Function
read_flo
(file)
src/utils.py:149
↓ 1 callers
Function
rectangle_iou
(masks, gt)
src/utils.py:65
↓ 1 callers
Method
reset
(self)
tools/MoCA_eval.py:78
↓ 1 callers
Method
resize_sparse_flow_map
(self, flow, valid, fx=1.0, fy=1.0)
raft/core/utils/augmentor.py:161
↓ 1 callers
Function
spatial_broadcast
Broadcast slot features to a 2D grid and collapse slot dimension.
src/model.py:38
↓ 1 callers
Function
spatial_flatten
(x)
src/model.py:47
↓ 1 callers
Method
spatial_transform
(self, img1, img2, flow)
raft/core/utils/augmentor.py:67
↓ 1 callers
Method
spatial_transform
(self, img1, img2, flow, valid)
raft/core/utils/augmentor.py:195
↓ 1 callers
Function
unstack_and_split
Unstack batch dimension and split into channels and alpha mask.
src/model.py:51
↓ 1 callers
Function
upflow8
(flow, mode='bilinear')
raft/core/utils/utils.py:80
↓ 1 callers
Method
upsample_flow
Upsample flow field [H/8, W/8, 2] -> [H, W, 2] using convex combination
raft/core/raft.py:72
↓ 1 callers
Function
writeFlowFile
According to the matlab code of Deqing Sun and c++ source code of Daniel Scharstein Contact: dqsun@cs.brown.edu Contact: schar@middlebury
raft/predict.py:21
Method
__call__
(self, coords)
raft/core/corr.py:29
Method
__call__
(self, coords)
raft/core/corr.py:74
Method
__call__
(self, img1, img2, flow)
raft/core/utils/augmentor.py:111
Method
__call__
(self, img1, img2, flow, valid)
raft/core/utils/augmentor.py:236
Method
__enter__
(self)
raft/core/raft.py:18
Method
__exit__
(self, *args)
raft/core/raft.py:20
Method
__getitem__
(self, idx)
src/data.py:47
Method
__getitem__
(self, idx)
src/data.py:89
Method
__getitem__
(self, index)
raft/core/datasets.py:34
Method
__init__
(self)
tools/MoCA_eval.py:75
Method
__init__
(self, *args, **kwargs)
src/utils.py:180
Method
__init__
(self, data_dir, resolution, to_rgb=False, with_rgb=False, with_gt=True)
src/data.py:35
Method
__init__
(self, data_dir, resolution, pair_list, val_seq, to_rgb=False, with_rgb=False)
src/data.py:70
Method
__init__
Builds the soft position embedding layer. Args: hidden_size: Size of input feature dimension. resolution: Tuple of integers specifyin
src/model.py:23
Method
__init__
Builds the Slot Attention-based Auto-encoder. Args: resolution: Tuple of integers specifying width and height of input image
src/model.py:148
Method
__init__
(self, in_planes, planes, norm_fn='group', stride=1)
raft/core/extractor.py:7
Method
__init__
(self, in_planes, planes, norm_fn='group', stride=1)
raft/core/extractor.py:61
Method
__init__
(self, output_dim=128, norm_fn='batch', dropout=0.0)
raft/core/extractor.py:196
Method
__init__
(self, aug_params=None, sparse=False)
raft/core/datasets.py:19
Method
__init__
(self, aug_params=None, split='training', root='datasets/Sintel', dstype='clean')
raft/core/datasets.py:103
Method
__init__
(self, aug_params=None, split='train', root='datasets/FlyingChairs_release/data')
raft/core/datasets.py:122
Method
__init__
(self, aug_params=None, root='datasets/FlyingThings3D', dstype='frames_cleanpass')
raft/core/datasets.py:138
Method
__init__
(self, aug_params=None, split='training', root='datasets/KITTI')
raft/core/datasets.py:162
Method
__init__
(self, fmap1, fmap2, num_levels=4, radius=4)
raft/core/corr.py:13
Method
__init__
(self, fmap1, fmap2, num_levels=4, radius=4)
raft/core/corr.py:64
Method
__init__
(self, input_dim=128, hidden_dim=256)
raft/core/update.py:7
Method
__init__
(self, hidden_dim=128, input_dim=192+128)
raft/core/update.py:34
Method
__init__
(self, args)
raft/core/update.py:63
Method
__init__
(self, args)
raft/core/update.py:80
Method
__init__
(self, args, hidden_dim=96)
raft/core/update.py:100
Method
__init__
(self, args, hidden_dim=128, input_dim=128)
raft/core/update.py:115
Method
__init__
(self, enabled)
raft/core/raft.py:16
Method
__init__
(self, args)
raft/core/raft.py:25
Method
__init__
(self, crop_size, min_scale=-0.2, max_scale=0.5, do_flip=True)
raft/core/utils/augmentor.py:16
Method
__init__
(self, crop_size, min_scale=-0.2, max_scale=0.5, do_flip=False)
raft/core/utils/augmentor.py:123
Method
__init__
(self, dims, mode='sintel')
raft/core/utils/utils.py:9
Method
__iter__
(self)
src/utils.py:189
Method
__len__
(self)
src/utils.py:186
Method
__len__
(self)
src/data.py:44
Method
__len__
(self)
src/data.py:86
Method
__len__
(self)
raft/core/datasets.py:98
Method
__rmul__
(self, v)
raft/core/datasets.py:93
Function
convert_for_vis
(inp, use_flow=False)
src/utils.py:16
Function
ensemble_hungarian_iou
(masks, gt, moca=False)
src/utils.py:106
Function
fetch_dataloader
Create the data loader for the corresponding trainign set
raft/core/datasets.py:199
Function
flow_to_image
Expects a two dimensional flow image of shape. Args: flow_uv (np.ndarray): Flow UV image of shape [H,W,2] clip_flow (float,
raft/core/utils/flow_viz.py:109
next →
1–100 of 126, ranked by callers