MCPcopy Create free account

hub / github.com/alexklwong/mondi-python / functions

Functions823 in github.com/alexklwong/mondi-python

↓ 186 callersFunctionlog
Logs a string to either file or console Args: s : str string to log filepath output filepath for logging
external_src/scaffnet-pytorch/src/log_utils.py:7
↓ 116 callersFunctionlog
Logs a string to either file or console Arg(s): s : str string to log filepath output filepath for l
src/log_utils.py:27
↓ 113 callersMethodcuda
(self, gpu)
external_src/NLSPN/src/loss/__init__.py:62
↓ 82 callersFunctionlog
Logs a string to either file or console Arg(s): s : str string to log filepath output filepath for l
external_src/kbnet/src/log_utils.py:23
↓ 48 callersFunctionconvbn
(in_channels, out_channels, kernel_size=3,stride=1, padding=1)
external_src/PENet_ICRA2021/basic.py:72
↓ 45 callersMethodsave
(self, epoch, idx, sample, output)
external_src/NLSPN/src/summary/__init__.py:75
↓ 36 callersFunctionkernel_trans
(kernel, weight)
external_src/PENet_ICRA2021/basic.py:242
↓ 25 callersMethodto
Moves model to specified device Arg(s): device : torch.device device for running model
external_src/kbnet/src/kbnet_model.py:339
↓ 22 callersFunctiondeconvbnrelu
(in_channels, out_channels, kernel_size=5, stride=2, padding=2, output_padding=1)
external_src/PENet_ICRA2021/basic.py:65
↓ 17 callersMethodbackward
(ctx, grad_output)
external_src/NLSPN/src/model/modulated_deform_conv_func.py:40
↓ 16 callersMethodto
Moves model to specified device Arg(s): device : torch.device device for running model
external_src/scaffnet-pytorch/src/posenet_model.py:113
↓ 14 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3,
external_src/kbnet/src/net_utils.py:74
↓ 12 callersMethodto
Move model to a device Arg(s): device : torch.device device to use
src/enet_model.py:234
↓ 12 callersFunctionweights_init
(m)
external_src/PENet_ICRA2021/basic.py:42
↓ 11 callersMethodparameters
Returns the list of parameters in the model Returns: list : list of parameters
external_src/kbnet/src/kbnet_model.py:306
↓ 10 callersFunctionconvbnrelu
(in_channels, out_channels, kernel_size=3,stride=1, padding=1)
external_src/PENet_ICRA2021/basic.py:58
↓ 9 callersMethod_concat
(self, fd, fe, dim=1)
external_src/NLSPN/src/model/nlspnmodel.py:300
↓ 8 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3,
src/net_utils.py:70
↓ 8 callersMethod__init__
(self, input_channels=6, n_filters=[16, 32, 64, 128, 256, 256, 256],
external_src/kbnet/src/networks.py:555
↓ 8 callersMethod__init__
(self, in_channels, out_channels, kernel_size=3,
external_src/scaffnet-pytorch/src/net_utils.py:59
↓ 8 callersFunction_is_numpy_image
(img)
external_src/PENet_ICRA2021/dataloaders/transforms.py:22
↓ 8 callersFunctionconv_bn_relu
(ch_in, ch_out, kernel, stride=1, padding=0, bn=True, relu=True)
external_src/NLSPN/src/model/common.py:45
↓ 8 callersMethodtransform
Applies transform to images and ground truth Arg(s): images_arr : list[torch.Tensor] list of N x C x H x
external_src/kbnet/src/transforms.py:61
↓ 8 callersMethodupdate
(self, global_step, sample, output)
external_src/NLSPN/src/summary/__init__.py:60
↓ 7 callersMethod__init__
(self, input_channels=6, n_filters=[16, 32, 64, 128, 256, 256, 256],
src/networks.py:933
↓ 7 callersMethod__init__
(self, kernel_size)
external_src/PENet_ICRA2021/basic.py:191
↓ 7 callersMethodupdate
(self, val, n=1)
external_src/MSG_CHN/utils/AverageMeter.py:26
↓ 6 callersMethodcrop
Performs cropping on images Arg(s): images_arr : list[torch.Tensor] list of N x C x H x W tensors
src/transforms.py:442
↓ 6 callersMethodeval
Sets model to evaluation mode
external_src/scaffnet-pytorch/src/scaffnet_model.py:264
↓ 6 callersMethodforward
Forward input x through a convolution layer Arg(s): x : torch.Tensor[float32] N x C x H x W input tensor
external_src/scaffnet-pytorch/src/net_utils.py:105
↓ 6 callersMethodload_checkpoint
Loads a network checkpoint file. Can be called in three different ways: load_checkpoint(): Loads the latest epoch
external_src/MSG_CHN/trainers/trainer.py:69
↓ 6 callersMethodparameters
Returns the list of parameters in the model Returns: list : list of parameters
external_src/scaffnet-pytorch/src/scaffnet_model.py:227
↓ 6 callersMethodremove_outliers
Removes erroneous measurements from sparse depth and validity map Arg(s): sparse_depth : torch.Tensor[float32]
external_src/scaffnet-pytorch/src/net_utils.py:1134
↓ 6 callersMethodtransform
Applies transform to images and ground truth Arg(s): images_arr : list[torch.Tensor] list of N x C x H x
external_src/scaffnet-pytorch/src/transforms.py:45
↓ 5 callersMethod__init__
(self, convolutional_layer_encoding, network_model, dilation_rate)
external_src/PENet_ICRA2021/model_modified.py:4
↓ 5 callersMethod__init__
(self, args)
external_src/PENet_ICRA2021/model.py:4
↓ 5 callersMethod__init__
(self, input_channels=6, n_filters=[16, 32, 64, 128, 256, 256, 256],
external_src/scaffnet-pytorch/src/networks.py:555
↓ 5 callersFunction_is_pil_image
(img)
external_src/PENet_ICRA2021/dataloaders/transforms.py:26
↓ 5 callersMethodcall
input_tensor: (batch, x_dim, y_dim, c)
external_src/PENet_ICRA2021/CoordConv.py:12
↓ 5 callersMethodeval
Sets model to evaluation mode
external_src/kbnet/src/kbnet_model.py:330
↓ 5 callersFunctionlog_input_settings
(log_path, normalized_image_range, outlier_removal_kernel_size,
external_src/scaffnet-pytorch/src/fusionnet_main.py:997
↓ 5 callersMethodremove_outliers
Removes erroneous measurements from sparse depth and validity map Arg(s): sparse_depth : torch.Tensor[float32]
src/net_utils.py:763
↓ 5 callersMethodrestore_model
Restore weights of the model Arg(s): checkpoint_path : str path to checkpoint optimizer : to
external_src/scaffnet-pytorch/src/posenet_model.py:150
↓ 4 callersFunctionconfig_plt
()
external_src/scaffnet-pytorch/tools/visualize_fusionnet_outputs.py:13
↓ 4 callersFunctionconv3x3
3x3 convolution with padding
external_src/PENet_ICRA2021/basic.py:130
↓ 4 callersFunctionconvt_bn_relu
(ch_in, ch_out, kernel, stride=1, padding=0, output_padding=0, bn=True, relu=True)
external_src/NLSPN/src/model/common.py:63
↓ 4 callersMethodeval
Sets model to evaluation mode
external_src/scaffnet-pytorch/src/fusionnet_model.py:365
↓ 4 callersMethodforward
Forwards the inputs through the network Arg(s): image0 : torch.Tensor[float32] image at time step 0
external_src/scaffnet-pytorch/src/posenet_model.py:71
↓ 4 callersMethodforward
Forwards the inputs through the network Arg(s): image : torch.Tensor[float32] N x 3 x H x W image
external_src/scaffnet-pytorch/src/fusionnet_model.py:126
↓ 4 callersMethodforward
Forwards the inputs through the network Arg(s): sparse_depth : torch.Tensor[float32] N x 1 x H x W spars
external_src/scaffnet-pytorch/src/scaffnet_model.py:127
↓ 4 callersMethodget_ranking_error
(self, result)
external_src/PENet_ICRA2021/helper.py:156
↓ 4 callersFunctioniterate
(mode, args, loader, model, optimizer, logger, epoch)
external_src/PENet_ICRA2021/main.py:172
↓ 4 callersFunctionload_image_triplet
Load in triplet frames from path Arg(s): path : str path to image triplet normalize : bool if set, n
external_src/scaffnet-pytorch/src/datasets.py:6
↓ 4 callersFunctionlog_evaluation_settings
(log_path, min_evaluate_depth, max_evaluate_depth)
external_src/scaffnet-pytorch/src/fusionnet_main.py:1168
↓ 4 callersMethodlog_summary
Logs summary to Tensorboard Arg(s): summary_writer : SummaryWriter Tensorboard summary writer
external_src/scaffnet-pytorch/src/scaffnet_model.py:464
↓ 4 callersFunctionlog_system_settings
(log_path, # Checkpoint settings checkpoint_path,
external_src/scaffnet-pytorch/src/fusionnet_main.py:1178
↓ 4 callersMethodparameters
Returns the list of parameters in the model Returns: list : list of parameters
external_src/scaffnet-pytorch/src/fusionnet_model.py:344
↓ 4 callersFunctionpreprocess_depth
(x)
external_src/PENet_ICRA2021/vis_utils.py:35
↓ 4 callersMethodreset
(self, time_stable)
external_src/PENet_ICRA2021/metrics.py:109
↓ 4 callersMethodrestore_model
Loads weights from checkpoint Arg(s): restore_path : str path to model weights optimizer : t
src/external_model.py:205
↓ 4 callersMethodrestore_model
Restore weights of the model Arg(s): checkpoint_path : str path to checkpoint optimizer : to
external_src/scaffnet-pytorch/src/fusionnet_model.py:427
↓ 4 callersMethodrestore_model
Restore weights of the model Arg(s): checkpoint_path : str path to checkpoint optimizer : to
external_src/scaffnet-pytorch/src/scaffnet_model.py:401
↓ 4 callersMethodsave_model
Save weights of the model to checkpoint path Arg(s): checkpoint_path : str path to save checkpoint
external_src/scaffnet-pytorch/src/posenet_model.py:126
↓ 4 callersMethodsave_model
Save weights of the model to checkpoint path Arg(s): checkpoint_path : str path to save checkpoint
external_src/scaffnet-pytorch/src/fusionnet_model.py:388
↓ 4 callersMethodtrain
Do training for the given number of epochs.
external_src/MSG_CHN/trainers/trainer.py:33
↓ 4 callersMethodupdate
(self, irmse, imae, mse, rmse, mae, absrel, squared_rel, lg10, \ delta1, delta2, delta3, gpu_time,
external_src/PENet_ICRA2021/metrics.py:47
↓ 4 callersFunctionvalidcrop
(img)
external_src/PENet_ICRA2021/vis_utils.py:13
↓ 3 callersMethod__init__
(self)
external_src/MSG_CHN/utils/ErrorMetrics.py:41
↓ 3 callersMethod__init__
(self)
external_src/MSG_CHN/workspace/exp_msg_chn/network_exp_msg_chn.py:164
↓ 3 callersMethodadd
(self, loss=None, metric=None)
external_src/NLSPN/src/summary/__init__.py:53
↓ 3 callersMethodaverage
(self)
external_src/PENet_ICRA2021/metrics.py:151
↓ 3 callersFunctioncheck_dir_existence
(path_dir)
external_src/NLSPN/utils/prepare_KITTI_DC.py:34
↓ 3 callersMethodeval
Sets model to evaluation mode
src/mondi_model.py:596
↓ 3 callersMethodevaluate
(self, sample, output, mode)
external_src/NLSPN/src/metric/__init__.py:34
↓ 3 callersMethodhorizontal_flip
Perform horizontal flip on each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x
src/transforms.py:477
↓ 3 callersMethodhorizontal_flip
Perform horizontal flip on each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x
external_src/kbnet/src/transforms.py:220
↓ 3 callersMethodhorizontal_flip
Perform horizontal flip on each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x
external_src/scaffnet-pytorch/src/transforms.py:204
↓ 3 callersFunctionload_triplet_image
Load in triplet frames from path Arg(s): path : str path to image triplet normalize : bool if set, n
src/datasets.py:26
↓ 3 callersFunctionmask_vis
(mask)
external_src/PENet_ICRA2021/vis_utils.py:29
↓ 3 callersMethodparameters
Returns the set of parameters
external_src/scaffnet-pytorch/src/posenet_model.py:90
↓ 3 callersFunctionrandom_crop
Apply crop to inputs e.g. images, depth and if available adjust camera intrinsics Arg(s): inputs : list[numpy[float32]]
external_src/scaffnet-pytorch/src/datasets.py:32
↓ 3 callersMethodremove_outliers
Removes erroneous measurements from sparse depth and validity map Arg(s): sparse_depth : torch.Tensor[float32]
external_src/kbnet/src/net_utils.py:1761
↓ 3 callersMethodrestore_model
Restore weights of the model Arg(s): checkpoint_path : str path to checkpoint optimizer : to
src/mondi_model.py:643
↓ 3 callersFunctionrun
Runs an external depth completion model if output paths are provided, then will save outputs to a predetermined list of paths Arg(s):
src/run_external_model.py:30
↓ 3 callersMethodsave_checkpoint
Saves a checkpoint of the network and other variables.
external_src/MSG_CHN/trainers/trainer.py:47
↓ 3 callersMethodtransform
Applies transform to images and ground truth Arg(s): images_arr : list[torch.Tensor] list of N x C x H x
src/transforms.py:97
↓ 3 callersMethodvertical_flip
Perform vertical flip on each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x H
src/transforms.py:500
↓ 3 callersMethodvertical_flip
Perform vertical flip on each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x H
external_src/kbnet/src/transforms.py:243
↓ 3 callersMethodvertical_flip
Perform vertical flip on each sample Arg(s): images_arr : list[torch.Tensor[float32]] list of N x C x H
external_src/scaffnet-pytorch/src/transforms.py:227
↓ 2 callersMethod_get_img_comparison_name
(self, mode, epoch, is_best=False)
external_src/PENet_ICRA2021/helper.py:129
↓ 2 callersMethod_get_offset_affinity
(self, guidance, confidence=None, rgb=None)
external_src/NLSPN/src/model/nlspnmodel.py:88
↓ 2 callersFunctioncheck_dir_existence
(path_dir)
external_src/NLSPN/utils/generate_json_KITTI_DC.py:47
↓ 2 callersFunctioncheck_dir_existence
(path_dir)
external_src/NLSPN/utils/generate_json_NYUDepthV2.py:57
↓ 2 callersMethodcompute_loss
Computes loss function l = w_{ph}l_{ph} + w_{sz}l_{sz} + w_{sm}l_{sm} + w_{tp}l_{tp} Arg(s): output_depth0 : tor
external_src/scaffnet-pytorch/src/fusionnet_model.py:194
↓ 2 callersFunctionconv1x1
1x1 convolution
external_src/PENet_ICRA2021/basic.py:137
↓ 2 callersFunctionconv_identify
(weight, bias, groups=1)
external_src/NLSPN/src/model/deformconv/test.py:22
↓ 2 callersFunctionconvert_str_to_num
(val, t)
external_src/NLSPN/src/utility.py:36
↓ 2 callersMethoddata_parallel
Allows multi-gpu split along batch
src/external_model.py:198
↓ 2 callersMethoddata_parallel
Allows multi-gpu split along batch
external_src/scaffnet-pytorch/src/posenet_model.py:176
↓ 2 callersFunctiondelete_by_indices
(list_object, indices)
external_src/scaffnet-pytorch/tools/verify_data.py:57
next →1–100 of 823, ranked by callers