Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvlab-epfl/perspective-flow-aggregation
/ functions
Functions
115 in github.com/cvlab-epfl/perspective-flow-aggregation
⨍
Functions
115
◇
Types & classes
22
↓ 6 callers
Method
__init__
(self, hidden_dim=128, input_dim=192+128)
flow/core/update.py:16
↓ 5 callers
Method
_make_layer
(self, dim, stride=1)
flow/core/extractor.py:242
↓ 4 callers
Method
__init__
(self, input_dim=3, output_dim=128, norm_fn='batch', dropout=0.0)
flow/core/extractor.py:120
↓ 3 callers
Method
_make_layer
(self, dim, stride=1)
flow/core/extractor.py:160
↓ 3 callers
Method
_make_layer
(self, dim, stride=1)
flow/core/extractor.py:336
↓ 3 callers
Method
step
(self)
flow/scheduler.py:45
↓ 2 callers
Method
close
(self)
flow/train.py:142
↓ 2 callers
Function
coords_grid
(batch, ht, wd)
flow/core/utils/utils.py:74
↓ 2 callers
Function
evaluate_pose_predictions
(predictions, class_number, meshes, mesh_diameters, symmetry_types={})
pose_utils.py:48
↓ 2 callers
Function
is_memory_enough
()
flow/core/datasets.py:117
↓ 2 callers
Function
load_json_cached
(json_path, mem_cache=None)
flow/core/datasets.py:133
↓ 2 callers
Function
print_accuracy_per_class
(accuracy_adi_per_class, accuracy_auc_per_class, accuracy_rep_per_class)
pose_utils.py:193
↓ 2 callers
Method
step
(self, optimizer)
flow/train.py:48
↓ 2 callers
Method
update
(self)
flow/train.py:50
↓ 1 callers
Function
AddJitter2Pose
(K, R, T, max_angle=10, max_pix_offset=10)
flow/core/datasets.py:268
↓ 1 callers
Function
FlowEstimation
(flowmodel, image1, image2)
refinement.py:82
↓ 1 callers
Function
GetFlowFromPoseAndDepth
(pose1, pose2, K, depth1)
flow/core/datasets.py:231
↓ 1 callers
Function
GetVertmapFromDepth
(K, pose1, depth1)
flow/core/datasets.py:209
↓ 1 callers
Function
PoseRefine
(predictions, flowModelFile, class_number, meshes, mesh_diameters, render_K)
refinement.py:93
↓ 1 callers
Function
RefinePoseFromFlows
(exemplar_K, target_K, trans_M, patch_vertmaps, patch_forward_flows)
refinement.py:33
↓ 1 callers
Method
_print_training_status
(self)
flow/train.py:107
↓ 1 callers
Method
basic_encoder
(self, x)
flow/core/extractor.py:250
↓ 1 callers
Function
bilinear_sampler
Wrapper for grid_sample, uses pixel coordinates
flow/core/utils/utils.py:57
↓ 1 callers
Function
compute_pose_diff
(mesh3ds, K, gtR, gtT, predR, predT, isSym=False)
pose_utils.py:3
↓ 1 callers
Method
corr
(fmap1, fmap2)
flow/core/corr.py:53
↓ 1 callers
Function
count_parameters
(model)
flow/train.py:87
↓ 1 callers
Function
evalute_auc_metric
(error_3ds, max_err)
pose_utils.py:35
↓ 1 callers
Function
fetch_dataloader
Create the data loader for the corresponding trainign set
flow/core/datasets.py:101
↓ 1 callers
Function
fetch_optimizer
Create the optimizer and learning rate scheduler
flow/train.py:91
↓ 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
flow/core/utils/flow_viz.py:71
↓ 1 callers
Method
forward
Estimate optical flow between pair of frames
flow/core/raft.py:89
↓ 1 callers
Function
get_available_memory
()
flow/core/utils/frame_utils.py:122
↓ 1 callers
Function
get_crop_M
(mask_xs, mask_ys, patch_width, patch_height)
flow/core/datasets.py:254
↓ 1 callers
Function
get_single_bop_annotation
(img_path, objID_2_clsID, mem_cache=None)
flow/core/datasets.py:143
↓ 1 callers
Method
initialize_flow
Flow is represented as difference between two coordinate grids flow = coords1 - coords0
flow/core/raft.py:66
↓ 1 callers
Function
load_bop_meshes
(model_path, device='cuda')
flow/core/datasets.py:29
↓ 1 callers
Function
load_image_cached
(img_path, mem_cache=None)
flow/core/datasets.py:123
↓ 1 callers
Function
load_image_cached
(img_path, mem_cache=None)
flow/core/utils/frame_utils.py:126
↓ 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
flow/core/utils/flow_viz.py:21
↓ 1 callers
Method
pad
(self, *inputs)
flow/core/utils/utils.py:18
↓ 1 callers
Function
readFlow
Read .flo file in Middlebury format
flow/core/utils/frame_utils.py:12
↓ 1 callers
Function
readPFM
(file)
flow/core/utils/frame_utils.py:33
↓ 1 callers
Function
render_objects_pytorch3d
(meshes, poses, K, w, h)
flow/core/datasets.py:54
↓ 1 callers
Method
scale
(self, loss)
flow/train.py:44
↓ 1 callers
Function
sequence_loss
Loss function defined over sequence of flow predictions
flow/train.py:60
↓ 1 callers
Function
train
(args)
flow/train.py:146
↓ 1 callers
Method
unscale_
(self, optimizer)
flow/train.py:46
↓ 1 callers
Function
upflow8
(flow, mode='bilinear')
flow/core/utils/utils.py:80
↓ 1 callers
Method
upsample_flow
Upsample flow field [H/8, W/8, 2] -> [H, W, 2] using convex combination
flow/core/raft.py:75
↓ 1 callers
Method
write_dict
(self, results)
flow/train.py:135
Method
__call__
(self, coords)
flow/core/corr.py:29
Method
__call__
(self, coords)
flow/core/corr.py:74
Method
__enter__
(self)
flow/core/raft.py:18
Method
__exit__
(self, *args)
flow/core/raft.py:20
Method
__getitem__
(self, index)
flow/core/datasets.py:324
Method
__init__
(self, enabled=None)
flow/train.py:42
Method
__init__
(self, model, scheduler)
flow/train.py:100
Method
__init__
(self, start, end, n_iter, anneal_fn, params = None)
flow/scheduler.py:38
Method
__init__
( self, optimizer, lr_base, max_iter, strategy, params,
flow/scheduler.py:58
Method
__init__
(self, in_planes, planes, norm_fn='group', stride=1)
flow/core/extractor.py:8
Method
__init__
(self, in_planes, planes, norm_fn='group', stride=1)
flow/core/extractor.py:62
Method
__init__
(self, input_dim=3, output_dim=128, waveLevelCnt=5, norm_fn='batch', dropout=0.0)
flow/core/extractor.py:196
Method
__init__
(self, output_dim=128, norm_fn='batch', dropout=0.0)
flow/core/extractor.py:297
Method
__init__
(self, render_K, image_list_file='', mesh_path='')
flow/core/datasets.py:305
Method
__init__
(self, fmap1, fmap2, num_levels=4, radius=4)
flow/core/corr.py:13
Method
__init__
(self, fmap1, fmap2, num_levels=4, radius=4)
flow/core/corr.py:64
Method
__init__
(self, input_dim=128, hidden_dim=256)
flow/core/update.py:6
Method
__init__
(self, hidden_dim=128, input_dim=192+128)
flow/core/update.py:33
Method
__init__
(self, args)
flow/core/update.py:62
Method
__init__
(self, args)
flow/core/update.py:79
Method
__init__
(self, args, hidden_dim=96)
flow/core/update.py:99
Method
__init__
(self, args, hidden_dim=128, input_dim=128)
flow/core/update.py:114
Method
__init__
(self, enabled)
flow/core/raft.py:16
Method
__init__
(self, args)
flow/core/raft.py:24
Method
__init__
(self, dims, mode='sintel')
flow/core/utils/utils.py:9
Method
__len__
(self)
flow/core/datasets.py:371
Method
__rmul__
(self, v)
flow/core/datasets.py:366
Function
anneal_cos
(start, end, proportion, params=None)
flow/scheduler.py:17
Function
anneal_cospow
(start, end, proportion, params=None)
flow/scheduler.py:22
Function
anneal_linear
(start, end, proportion, params=None)
flow/scheduler.py:5
Function
anneal_multi_steps
(start, end, proportion, params)
flow/scheduler.py:8
Function
anneal_poly
(start, end, proportion, power=0.9)
flow/scheduler.py:31
Function
anneal_tanh
(start, end, proportion, lower=-6, upper=3)
flow/scheduler.py:34
Function
draw_bounding_box
(cvImg, R, T, mesh, intrinsics, color)
flow/core/utils/pose_viz.py:5
Function
draw_pose_axis
(cvImg, R, T, mesh, intrinsics)
flow/core/utils/pose_viz.py:18
Function
draw_pose_contour
(cvImg, R, T, mesh, K, color)
flow/core/utils/pose_viz.py:42
Function
draw_z_axis
(cvImg, R, T, mesh, intrinsics, color)
flow/core/utils/pose_viz.py:31
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,
flow/core/utils/flow_viz.py:110
Method
forward
(self, x)
flow/core/extractor.py:49
Method
forward
(self, x)
flow/core/extractor.py:108
Method
forward
(self, x)
flow/core/extractor.py:169
Method
forward
(self, x)
flow/core/extractor.py:275
Method
forward
(self, x)
flow/core/extractor.py:345
Method
forward
(self, x)
flow/core/update.py:12
Method
forward
(self, h, x)
flow/core/update.py:22
Method
forward
(self, h, x)
flow/core/update.py:44
Method
forward
(self, flow, corr)
flow/core/update.py:70
Method
forward
(self, flow, corr)
flow/core/update.py:88
Method
forward
(self, net, inp, corr, flow)
flow/core/update.py:105
Method
forward
(self, net, inp, corr, flow, upsample=True)
flow/core/update.py:126
next →
1–100 of 115, ranked by callers