MCPcopy Create free account

hub / github.com/ShuweiShao/IEBins / functions

Functions322 in github.com/ShuweiShao/IEBins

↓ 14 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0., norm
iebins_kittiofficial/networks/swin_transformer_v2.py:60
↓ 8 callersFunctionflip_lr
Flip image horizontally Parameters ---------- image : torch.Tensor [B,3,H,W] Image to be flipped Returns -------
iebins/utils.py:187
↓ 6 callersMethod__init__
(self, input_dim=128, hidden_dim=128)
iebins_kittiofficial/networks/NewCRFDepth.py:224
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
iebins/networks/swin_transformer.py:14
↓ 6 callersMethod__init__
(self, input_dim=128, hidden_dim=128)
iebins/networks/NewCRFDepth.py:243
↓ 6 callersFunctionflip_lr
Flip image horizontally Parameters ---------- image : torch.Tensor [B,3,H,W] Image to be flipped Returns -------
iebins_kittiofficial/utils.py:237
↓ 6 callersFunctionget_dist_info
()
iebins_kittiofficial/networks/newcrf_utils.py:56
↓ 6 callersFunctionpost_process_depth
Post-process an inverse and flipped inverse depth map Parameters ---------- inv_depth : torch.Tensor [B,1,H,W] Inverse depth
iebins/utils.py:233
↓ 6 callersMethodtrain
Convert the model into training mode while keep layers freezed.
iebins/networks/swin_transformer.py:617
↓ 5 callersMethod__len__
(self)
iebins/utils.py:323
↓ 5 callersFunctionload_url_dist
In distributed setting, this function only download checkpoint at local rank 0.
iebins_kittiofficial/networks/checkpoint.py:141
↓ 4 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
iebins_kittiofficial/networks/newcrf_layers.py:12
↓ 4 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
iebins/networks/newcrf_layers.py:12
↓ 4 callersMethod__len__
(self)
iebins_kittiofficial/utils.py:373
↓ 4 callersFunctionis_module_wrapper
(module)
iebins_kittiofficial/networks/newcrf_utils.py:51
↓ 4 callersFunctionpost_process_depth
Post-process an inverse and flipped inverse depth map Parameters ---------- inv_depth : torch.Tensor [B,1,H,W] Inverse depth
iebins_kittiofficial/utils.py:283
↓ 4 callersFunctionresize
(input, size=None, scale_factor=None, mode='nearest', align_corner
iebins_kittiofficial/networks/resize.py:8
↓ 4 callersFunctionresize
(input, size=None, scale_factor=None, mode='nearest', align_corner
iebins/networks/resize.py:8
↓ 4 callersMethodtrain
Convert the model into training mode while keep layers freezed.
iebins_kittiofficial/networks/swin_transformer_v2.py:1279
↓ 4 callersFunctionupsample
Upsample input tensor by a factor of 2
iebins_kittiofficial/networks/NewCRFDepth.py:289
↓ 4 callersFunctionupsample
Upsample input tensor by a factor of 2
iebins/networks/NewCRFDepth.py:308
↓ 3 callersMethod__init__
(self, pool_scales, in_channels, channels, conv_cfg, norm_cfg, act_cfg, align_corners)
iebins_kittiofficial/networks/uper_crf_head.py:23
↓ 3 callersMethod__init__
(self, pool_scales, in_channels, channels, conv_cfg, norm_cfg, act_cfg, align_corners)
iebins/networks/uper_crf_head.py:23
↓ 3 callersFunctioncompute_errors
(gt, pred)
iebins/utils.py:79
↓ 3 callersFunctionpreprocessing_transforms
(mode)
iebins_kittiofficial/dataloaders/dataloader.py:23
↓ 3 callersFunctionpreprocessing_transforms
(mode)
iebins/dataloaders/dataloader_sun.py:24
↓ 3 callersFunctionpreprocessing_transforms
(mode)
iebins/dataloaders/dataloader.py:23
↓ 3 callersMethodupsample_mask
Upsample disp [H/4, W/4, 1] -> [H, W, 1] using convex combination
iebins_kittiofficial/networks/NewCRFDepth.py:95
↓ 3 callersMethodupsample_mask
Upsample disp [H/4, W/4, 1] -> [H, W, 1] using convex combination
iebins/networks/NewCRFDepth.py:115
↓ 3 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
iebins_kittiofficial/networks/newcrf_layers.py:30
↓ 3 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
iebins_kittiofficial/networks/swin_transformer_v2.py:120
↓ 3 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
iebins/networks/newcrf_layers.py:30
↓ 2 callersMethod_freeze_stages
(self)
iebins_kittiofficial/networks/swin_transformer_v2.py:1201
↓ 2 callersMethod_freeze_stages
(self)
iebins/networks/swin_transformer.py:547
↓ 2 callersFunction_get_mmcv_home
()
iebins_kittiofficial/networks/checkpoint.py:62
↓ 2 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor
iebins_kittiofficial/networks/uper_crf_head.py:186
↓ 2 callersMethod_transform_inputs
Transform inputs for decoder. Args: inputs (list[Tensor]): List of multi-level img features. Returns: Tensor
iebins/networks/uper_crf_head.py:186
↓ 2 callersFunctioncompute_errors_kb
(gt, pred)
iebins_kittiofficial/utils.py:77
↓ 2 callersMethodforward
Placeholder of forward function.
iebins_kittiofficial/networks/uper_crf_head.py:213
↓ 2 callersMethodforward
Placeholder of forward function.
iebins/networks/uper_crf_head.py:213
↓ 2 callersFunctionget_dist_info
()
iebins/networks/newcrf_utils.py:56
↓ 2 callersFunctionget_torchvision_models
()
iebins_kittiofficial/networks/checkpoint.py:204
↓ 2 callersMethodrotate_image
(self, image, angle, flag=Image.BILINEAR)
iebins_kittiofficial/dataloaders/dataloader.py:192
↓ 2 callersMethodrotate_image
(self, image, angle, flag=Image.BILINEAR)
iebins/dataloaders/dataloader_sun.py:195
↓ 2 callersMethodrotate_image
(self, image, angle, flag=Image.BILINEAR)
iebins/dataloaders/dataloader.py:192
↓ 2 callersMethodto_tensor
(self, pic)
iebins_kittiofficial/dataloaders/dataloader.py:294
↓ 2 callersMethodto_tensor
(self, pic)
iebins/dataloaders/dataloader_sun.py:297
↓ 2 callersMethodto_tensor
(self, pic)
iebins/dataloaders/dataloader.py:314
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
iebins/networks/swin_transformer.py:32
↓ 2 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
iebins_kittiofficial/networks/swin_transformer_v2.py:134
↓ 1 callersMethodCut_Flip
(self, image, depth)
iebins_kittiofficial/dataloaders/dataloader.py:242
↓ 1 callersMethodCut_Flip
(self, image, depth)
iebins/dataloaders/dataloader_sun.py:245
↓ 1 callersMethodCut_Flip
(self, image, depth)
iebins/dataloaders/dataloader.py:242
↓ 1 callersMethod__init__
(self, variance_focus)
iebins_kittiofficial/utils.py:130
↓ 1 callersMethod__init__
(self, variance_focus)
iebins/utils.py:104
↓ 1 callersMethod_init_block_norm_weights
(self)
iebins_kittiofficial/networks/swin_transformer_v2.py:910
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
iebins_kittiofficial/networks/uper_crf_head.py:143
↓ 1 callersMethod_init_inputs
Check and initialize input transforms. The in_channels, in_index and input_transform must match. Specifically, when input_transform i
iebins/networks/uper_crf_head.py:143
↓ 1 callersFunction_is_numpy_image
(img)
iebins_kittiofficial/dataloaders/dataloader.py:19
↓ 1 callersFunction_is_numpy_image
(img)
iebins/dataloaders/dataloader_sun.py:20
↓ 1 callersFunction_is_numpy_image
(img)
iebins/dataloaders/dataloader.py:19
↓ 1 callersFunction_is_pil_image
(img)
iebins_kittiofficial/dataloaders/dataloader.py:15
↓ 1 callersFunction_is_pil_image
(img)
iebins/dataloaders/dataloader_sun.py:16
↓ 1 callersFunction_is_pil_image
(img)
iebins/dataloaders/dataloader.py:15
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
iebins_kittiofficial/networks/checkpoint.py:257
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
iebins_kittiofficial/networks/newcrf_utils.py:167
↓ 1 callersFunction_load_checkpoint
Load checkpoint from somewhere (modelzoo, file, url). Args: filename (str): Accept local filepath, URL, ``torchvision://xxx``,
iebins/networks/newcrf_utils.py:167
↓ 1 callersFunction_process_mmcls_checkpoint
(checkpoint)
iebins_kittiofficial/networks/checkpoint.py:246
↓ 1 callersFunction_save_to_state_dict
Saves module state to `destination` dictionary. This method is modified from :meth:`torch.nn.Module._save_to_state_dict`. Args: modu
iebins_kittiofficial/networks/checkpoint.py:482
↓ 1 callersMethodaugment_image
(self, image)
iebins_kittiofficial/dataloaders/dataloader.py:221
↓ 1 callersMethodaugment_image
(self, image)
iebins/dataloaders/dataloader_sun.py:224
↓ 1 callersMethodaugment_image
(self, image)
iebins/dataloaders/dataloader.py:221
↓ 1 callersFunctionblock_print
()
iebins_kittiofficial/utils.py:21
↓ 1 callersFunctionblock_print
()
iebins/utils.py:21
↓ 1 callersFunctionenable_print
()
iebins_kittiofficial/utils.py:25
↓ 1 callersFunctionenable_print
()
iebins/utils.py:25
↓ 1 callersFunctioneval
(model, dataloader_eval, post_process=False)
iebins_kittiofficial/eval.py:59
↓ 1 callersFunctioneval
(model, dataloader_eval, post_process=False)
iebins/eval.py:59
↓ 1 callersFunctioneval
(model, dataloader_eval, post_process=False)
iebins/eval_sun.py:59
↓ 1 callersMethodforward
(self, depth_est, depth_gt, mask)
iebins_kittiofficial/utils.py:134
↓ 1 callersMethodforward
(self, depth_est, depth_gt, mask)
iebins/utils.py:108
↓ 1 callersFunctionfuse_inv_depth
Fuse inverse depth and flipped inverse depth maps Parameters ---------- inv_depth : torch.Tensor [B,1,H,W] Inverse depth map
iebins_kittiofficial/utils.py:255
↓ 1 callersFunctionfuse_inv_depth
Fuse inverse depth and flipped inverse depth maps Parameters ---------- inv_depth : torch.Tensor [B,1,H,W] Inverse depth map
iebins/utils.py:205
↓ 1 callersFunctiongeometric_progression
(a, r, n)
iebins_kittiofficial/networks/checkpoint.py:395
↓ 1 callersFunctionget_deprecated_model_names
()
iebins_kittiofficial/networks/checkpoint.py:237
↓ 1 callersFunctionget_external_models
()
iebins_kittiofficial/networks/checkpoint.py:216
↓ 1 callersFunctionget_label
(gt_depth_img, bin_edges, depth_num)
iebins_kittiofficial/networks/depth_update.py:27
↓ 1 callersFunctionget_label
(gt_depth_img, bin_edges, depth_num)
iebins/networks/depth_update.py:27
↓ 1 callersFunctionget_mmcls_models
()
iebins_kittiofficial/networks/checkpoint.py:230
↓ 1 callersFunctionget_num_lines
(file_path)
iebins_kittiofficial/test.py:51
↓ 1 callersFunctionget_num_lines
(file_path)
iebins/test.py:57
↓ 1 callersFunctionget_root_logger
Get the root logger. The logger will be initialized if it has not been initialized. By default a StreamHandler will be added. If `log_file` i
iebins_kittiofficial/networks/checkpoint.py:38
↓ 1 callersFunctionget_state_dict
Returns a dictionary containing a whole state of the module. Both parameters and persistent buffers (e.g. running averages) are included. Key
iebins_kittiofficial/networks/checkpoint.py:502
↓ 1 callersFunctionget_torchvision_models
()
iebins_kittiofficial/networks/newcrf_utils.py:155
↓ 1 callersFunctionget_torchvision_models
()
iebins/networks/newcrf_utils.py:155
↓ 1 callersFunctioninference
(model, post_process=False)
iebins_kittiofficial/inference_single_image.py:41
↓ 1 callersFunctioninference
(model, post_process=False)
iebins/inference_single_image.py:41
↓ 1 callersMethodinit_weights
Initialize the weights in backbone and heads. Args: pretrained (str, optional): Path to pre-trained weights. Defa
iebins_kittiofficial/networks/NewCRFDepth.py:78
↓ 1 callersMethodinit_weights
Initialize the weights in backbone and heads. Args: pretrained (str, optional): Path to pre-trained weights. Defa
iebins/networks/NewCRFDepth.py:98
↓ 1 callersFunctionis_module_wrapper
(module)
iebins/networks/newcrf_utils.py:51
next →1–100 of 322, ranked by callers