MCPcopy Create free account

hub / github.com/Wang-xjtu/G2-MonoDepth / functions

Functions69 in github.com/Wang-xjtu/G2-MonoDepth

↓ 6 callersFunctionsave_img
( data: Tensor, file_name: Path, )
src/utils.py:43
↓ 2 callersMethod__init__
(self)
src/losses.py:8
↓ 2 callersMethod__init__
( self, mid_module: Module, in_channel: int, mid_channel:
src/modules.py:47
↓ 2 callersMethod_sample
(raw, zero_rate)
src/data_tools.py:161
↓ 2 callersFunctionmin_max_norm
(depth)
src/utils.py:36
↓ 2 callersMethodordinal_label
(self, sampled_a, sampled_b)
test_utils.py:110
↓ 2 callersMethodtrain
(self, cf)
src/src_main.py:123
↓ 1 callersMethod__gethole__
(hole_dir)
src/data_tools.py:252
↓ 1 callersMethod__getrgbd__
(rgbd_dir)
src/data_tools.py:239
↓ 1 callersMethod__gradient_loss__
(self, residual: Tensor)
src/losses.py:54
↓ 1 callersMethod__init__
(self)
test_utils.py:25
↓ 1 callersMethod__init__
(self, factor)
src/data_tools.py:73
↓ 1 callersMethod__min_max_norm__
(depth)
test_utils.py:51
↓ 1 callersMethod_holes
(self, raw, hole_ls, p=0.8)
src/data_tools.py:132
↓ 1 callersMethod_noiseblur
(self, raw, hole_gt, p_noise=0.5, p_blur=0.5)
src/data_tools.py:173
↓ 1 callersMethodabsRel
(depth, ground_truth)
test_utils.py:74
↓ 1 callersMethodadjust_domain
(self, pred)
test_utils.py:57
↓ 1 callersMethodcleanup
()
src/utils.py:81
↓ 1 callersFunctiondemo_metric
(args)
test.py:62
↓ 1 callersFunctiondemo_save
(args)
test.py:39
↓ 1 callersFunctiondepth_read
(filename)
test_utils.py:15
↓ 1 callersFunctiondepth_read
(filename: Path)
src/data_tools.py:22
↓ 1 callersMethoderror
(self, pred, gt)
test_utils.py:144
↓ 1 callersMethodfeedback_module
(self, elapsed, iter_step, loss, summary, global_step)
src/src_main.py:101
↓ 1 callersFunctionget_dataloader
(rgbd_dirs, hole_dirs, batch_size, sizes, rank, num_workers)
src/data_tools.py:279
↓ 1 callersFunctionhole_read
(filename: Path)
src/data_tools.py:31
↓ 1 callersMethodoe
(depth, ground_truth)
test_utils.py:98
↓ 1 callersMethodoptimize_one_iteration
(self, rgb, gt, raw)
src/src_main.py:75
↓ 1 callersFunctionparse_arguments
()
test.py:18
↓ 1 callersFunctionprint_model_parm_nums
(model)
src/utils.py:85
↓ 1 callersMethodread_data
(self, rgb_path, raw_path)
test_utils.py:40
↓ 1 callersMethodread_rgbraw
(rgb_path, raw_path)
test_utils.py:29
↓ 1 callersFunctionrgb_read
(filename)
test_utils.py:7
↓ 1 callersFunctionrgb_read
(filename: Path)
src/data_tools.py:14
↓ 1 callersMethodrmse
(depth, ground_truth)
test_utils.py:67
↓ 1 callersMethodrun_demo
(demo_fn, world_size)
src/utils.py:75
↓ 1 callersMethodsampling
(self, pred, gt)
test_utils.py:117
↓ 1 callersMethodsave_imgs
(rgb, gt, raw, pred, log_dir, epoch, iter_step)
src/src_main.py:110
↓ 1 callersMethodsetup
(rank, world_size, port)
src/utils.py:62
↓ 1 callersMethodsrmse
(depth, ground_truth)
test_utils.py:81
↓ 1 callersMethodtrans_raw
(self, gt, hole_gt, hole_ls)
src/data_tools.py:139
↓ 1 callersMethodtrans_rgbgt
(self, rgb: Tensor, gt: Tensor)
src/data_tools.py:122
FunctionDDP_main
(rank, world_size)
train.py:14
Method__getitem__
(self, item)
src/data_tools.py:264
Method__init__
(self, gpus_num)
config.py:5
Method__init__
(self, t=0.01)
test_utils.py:105
Method__init__
(self, cf, rank)
src/src_main.py:21
Method__init__
(self)
src/utils.py:12
Method__init__
( self, in_channels: int, out_channels: int, rezero: bool,
src/custom_blocks.py:7
Method__init__
( self, )
src/losses.py:24
Method__init__
( self, k: int = 4, sobel: bool = True, )
src/losses.py:40
Method__init__
( self, in_channels: int, out_channels: int, rezero: bool,
src/modules.py:8
Method__init__
( self, in_channel: int, out_channel: int, rezero: bool,
src/modules.py:28
Method__init__
(self, layer_num: int = 7, rezero: bool = True)
src/networks.py:10
Method__init__
(self, size)
src/data_tools.py:94
Method__init__
(self, rgbd_dir, hole_dir, size)
src/data_tools.py:204
Method__len__
(self)
src/data_tools.py:258
Method__masked_mean_robust_standardization__
(depth, mask, eps=1e-6)
src/utils.py:17
Methodforward
(self, depth, gt, mask_hole)
src/utils.py:28
Methodforward
(self, x: Tensor)
src/custom_blocks.py:44
Methodforward
(self, x: Tensor)
src/losses.py:17
Methodforward
(self, output: Tensor, target: Tensor, hole: Tensor)
src/losses.py:31
Methodforward
(self, output: Tensor, target: Tensor, hole_target: Tensor)
src/losses.py:66
Methodforward
(self, x: Tensor)
src/modules.py:22
Methodforward
(self, x: Tensor)
src/modules.py:41
Methodforward
(self, x: Tensor)
src/modules.py:63
Methodforward
( self, rgb: Tensor, point: Tensor, hole_point: Tensor,
src/networks.py:31
Methodforward
Args: img (PIL Image or Tensor): Image to be cropped and resized. Returns: PIL Image or Tensor: Randoml
src/data_tools.py:40
Methodforward
Args: depth (Tensor): depth map to be scaled and shifted. Returns: Tensor: scaled and shifted depth.
src/data_tools.py:77