Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ant-research/CoDeF
/ functions
Functions
310 in github.com/ant-research/CoDeF
⨍
Functions
310
◇
Types & classes
38
↓ 1 callers
Method
corr
(fmap1, fmap2)
data_preprocessing/RAFT/core/corr.py:53
↓ 1 callers
Function
demo
(args)
data_preprocessing/RAFT/demo.py:37
↓ 1 callers
Method
eraser_transform
Occlusion augmentation
data_preprocessing/RAFT/core/utils/augmentor.py:52
↓ 1 callers
Method
eraser_transform
(self, img1, img2)
data_preprocessing/RAFT/core/utils/augmentor.py:148
↓ 1 callers
Function
extract_model_state_dict
(ckpt_path, model_name='model', prefixes_to_ignore=[])
utils/__init__.py:77
↓ 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
data_preprocessing/RAFT/core/utils/flow_viz.py:70
↓ 1 callers
Method
forward
(self, ts_w, grid, encode_w, step=0,
train.py:177
↓ 1 callers
Method
forward
(self, inputs, targets)
losses.py:13
↓ 1 callers
Method
forward
Estimate optical flow between pair of frames
data_preprocessing/RAFT/core/raft.py:86
↓ 1 callers
Function
gc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Function
get_learning_rate
(optimizer)
utils/__init__.py:73
↓ 1 callers
Function
get_optimizer
(hparams, models)
utils/__init__.py:30
↓ 1 callers
Function
get_opts
()
opt.py:5
↓ 1 callers
Function
get_parameters
Get all model parameters recursively.
utils/__init__.py:15
↓ 1 callers
Function
get_scheduler
(hparams, optimizer)
utils/__init__.py:50
↓ 1 callers
Method
init_video
Initializes an empty video with expected settings.
utils/video_visualizer.py:68
↓ 1 callers
Method
initialize_flow
Flow is represented as difference between two coordinate grids flow = coords1 - coords0
data_preprocessing/RAFT/core/raft.py:63
↓ 1 callers
Function
isHTML5
(unknown)
docs/static/js/bulma-carousel.js:255
↓ 1 callers
Function
isString
(unknown)
docs/static/js/bulma-slider.js:98
↓ 1 callers
Function
isVimeo
(unknown)
docs/static/js/bulma-carousel.js:264
↓ 1 callers
Function
isYoutube
(unknown)
docs/static/js/bulma-carousel.js:261
↓ 1 callers
Function
l
(t)
docs/static/js/bulma-slider.min.js:1
↓ 1 callers
Function
list_images_from_dir
Lists all images from the given directory. NOTE: Do NOT support finding images recursively. Args: directory: The directory to find i
utils/image_utils.py:335
↓ 1 callers
Function
load_image
Loads an image from disk. NOTE: This function will always return an image with `RGB` channel order for color image and pixel range [0, 255].
utils/image_utils.py:74
↓ 1 callers
Function
main
(hparams)
train.py:518
↓ 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
data_preprocessing/RAFT/core/utils/flow_viz.py:20
↓ 1 callers
Function
mse
(image_pred, image_gt, valid_mask=None, reduction='mean')
metrics.py:7
↓ 1 callers
Function
o
(t)
docs/static/js/bulma-slider.min.js:1
↓ 1 callers
Function
parse_image_size
Parses an object to a pair of image size, i.e., (height, width). Args: obj: The input object to parse image size from. Returns:
utils/image_utils.py:245
↓ 1 callers
Function
pl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Function
playVids
(videoId)
docs/static/js/video_comparison.js:4
↓ 1 callers
Function
preloadInterpolationImages
()
docs/static/js/index.js:7
↓ 1 callers
Function
psnr
(image_pred, image_gt, valid_mask=None, reduction='mean')
metrics.py:15
↓ 1 callers
Function
readFlow
Read .flo file in Middlebury format
data_preprocessing/RAFT/core/utils/frame_utils.py:12
↓ 1 callers
Function
readPFM
(file)
data_preprocessing/RAFT/core/utils/frame_utils.py:33
↓ 1 callers
Method
read_meta
(self)
datasets/video_dataset.py:35
↓ 1 callers
Function
resize_image
Resizes image. This is a wrap of `cv2.resize()`. NOTE: The channel order of the input image will not be changed. Args: image: I
utils/image_utils.py:122
↓ 1 callers
Method
resize_sparse_flow_map
(self, flow, valid, fx=1.0, fy=1.0)
data_preprocessing/RAFT/core/utils/augmentor.py:161
↓ 1 callers
Method
set_codec
Sets the video codec.
utils/video_visualizer.py:56
↓ 1 callers
Method
set_crf
Sets the CRF (constant rate factor) of the video.
utils/video_visualizer.py:64
↓ 1 callers
Method
set_fps
Sets the FPS (frame per second) of the video.
utils/video_visualizer.py:52
↓ 1 callers
Method
set_pix_fmt
Sets the video pixel format.
utils/video_visualizer.py:60
↓ 1 callers
Function
sl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Method
spatial_transform
(self, img1, img2, flow)
data_preprocessing/RAFT/core/utils/augmentor.py:67
↓ 1 callers
Method
spatial_transform
(self, img1, img2, flow, valid)
data_preprocessing/RAFT/core/utils/augmentor.py:195
↓ 1 callers
Method
step_ReduceLROnPlateau
(self, metrics, epoch=None)
utils/warmup_scheduler.py:34
↓ 1 callers
Method
test_dataloader
(self)
train.py:268
↓ 1 callers
Function
upflow8
(flow, mode='bilinear')
data_preprocessing/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
data_preprocessing/RAFT/core/raft.py:72
↓ 1 callers
Method
visualize_list
Visualizes a list of image files.
utils/video_visualizer.py:106
↓ 1 callers
Function
viz
(img, flo,img_name=None)
data_preprocessing/RAFT/demo.py:26
↓ 1 callers
Function
xc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Function
yl
(a)
docs/static/js/fontawesome.all.min.js:5
Function
$c
()
docs/static/js/fontawesome.all.min.js:5
Function
Autoplay
(slider)
docs/static/js/bulma-carousel.js:1042
Function
Breakpoints
(slider)
docs/static/js/bulma-carousel.js:1216
Function
Coordinate
()
docs/static/js/bulma-carousel.js:329
Function
EventEmitter
()
docs/static/js/bulma-slider.js:286
Function
EventEmitter
()
docs/static/js/bulma-carousel.js:280
Function
Fade
(transitioner, slider)
docs/static/js/bulma-carousel.js:2054
Function
Infinite
(slider)
docs/static/js/bulma-carousel.js:1354
Function
J
()
docs/static/js/fontawesome.all.min.js:5
Function
Loop
(slider)
docs/static/js/bulma-carousel.js:1434
Function
Navigation
(slider)
docs/static/js/bulma-carousel.js:1502
Function
Pagination
(slider)
docs/static/js/bulma-carousel.js:1653
Function
Sl
(c)
docs/static/js/fontawesome.all.min.js:5
Function
Swipe
(slider)
docs/static/js/bulma-carousel.js:1812
Function
Transitioner
(slider)
docs/static/js/bulma-carousel.js:1954
Function
Translate
(transitioner, slider)
docs/static/js/bulma-carousel.js:2190
Function
Vc
(c)
docs/static/js/fontawesome.all.min.js:5
Method
__call__
(self, coords)
data_preprocessing/RAFT/core/corr.py:29
Method
__call__
(self, coords)
data_preprocessing/RAFT/core/corr.py:74
Method
__call__
(self, img1, img2, flow)
data_preprocessing/RAFT/core/utils/augmentor.py:111
Method
__call__
(self, img1, img2, flow, valid)
data_preprocessing/RAFT/core/utils/augmentor.py:236
Method
__enter__
(self)
data_preprocessing/RAFT/core/raft.py:18
Method
__exit__
(self, *args)
data_preprocessing/RAFT/core/raft.py:20
Method
__getitem__
(self, idx)
datasets/video_dataset.py:141
Method
__getitem__
(self, index)
data_preprocessing/RAFT/core/datasets.py:34
Method
__init__
(self, hparams)
train.py:42
Method
__init__
(self, coef=1)
losses.py:8
Method
__init__
Initializes the video visualizer. Args: path: Path to write the video. (default: None) frame_size: Frame size, i.e.,
utils/video_visualizer.py:12
Method
__init__
(self, optimizer, multiplier, total_epoch, after_scheduler=None)
utils/warmup_scheduler.py:14
Method
__init__
(self, root_dir, split='train', img_wh=(504, 378),
datasets/video_dataset.py:14
Method
__init__
(self, dataset: Dataset, num_replicas: Optional[int] = None, rank: Optional[int] = None, shuf
datasets/distributed_weighted_sampler.py:61
Method
__init__
D: number of layers for density (sigma) encoder W: number of hidden units in each layer in_channels_xyz: number of input chan
models/implicit_model.py:14
Method
__init__
Defines a function that embeds x to (x, sin(2^k x), cos(2^k x), ...) in_channels: number of input channels (3 for both xyz and direct
models/implicit_model.py:115
Method
__init__
Defines a function that embeds x to (x, sin(2^k x), cos(2^k x), ...) in_channels: number of input channels (3 for both xyz and direct
models/implicit_model.py:173
Method
__init__
D: number of layers for density (sigma) encoder W: number of hidden units in each layer in_channels_xyz: number of input chan
models/implicit_model.py:221
Method
__init__
(self, config)
models/implicit_model.py:298
Method
__init__
(self, config)
models/implicit_model.py:317
Method
__init__
(self, config)
models/implicit_model.py:340
Method
__init__
(self, in_planes, planes, norm_fn='group', stride=1)
data_preprocessing/RAFT/core/extractor.py:7
Method
__init__
(self, in_planes, planes, norm_fn='group', stride=1)
data_preprocessing/RAFT/core/extractor.py:61
Method
__init__
(self, output_dim=128, norm_fn='batch', dropout=0.0)
data_preprocessing/RAFT/core/extractor.py:196
Method
__init__
(self, aug_params=None, sparse=False)
data_preprocessing/RAFT/core/datasets.py:19
Method
__init__
(self, aug_params=None, split='training', root='datasets/Sintel', dstype='clean')
data_preprocessing/RAFT/core/datasets.py:103
Method
__init__
(self, aug_params=None, split='train', root='datasets/FlyingChairs_release/data')
data_preprocessing/RAFT/core/datasets.py:122
Method
__init__
(self, aug_params=None, root='datasets/FlyingThings3D', dstype='frames_cleanpass')
data_preprocessing/RAFT/core/datasets.py:138
Method
__init__
(self, aug_params=None, split='training', root='datasets/KITTI')
data_preprocessing/RAFT/core/datasets.py:162
Method
__init__
(self, fmap1, fmap2, num_levels=4, radius=4)
data_preprocessing/RAFT/core/corr.py:13
← previous
next →
101–200 of 310, ranked by callers