SYMBOL INDEX (75 symbols across 11 files) FILE: evaluate.py function evaluate (line 16) | def evaluate(dataset_path, depth_predictor, nsamples, sml_model_path): FILE: metrics.py function rmse (line 4) | def rmse(estimate, target): function mae (line 7) | def mae(estimate, target): function absrel (line 10) | def absrel(estimate, target): function inv_rmse (line 13) | def inv_rmse(estimate, target): function inv_mae (line 16) | def inv_mae(estimate, target): function inv_absrel (line 19) | def inv_absrel(estimate, target): class ErrorMetrics (line 22) | class ErrorMetrics(object): method __init__ (line 23) | def __init__(self): method compute (line 28) | def compute(self, estimate, target, valid): class ErrorMetricsAverager (line 47) | class ErrorMetricsAverager(object): method __init__ (line 48) | def __init__(self): method accumulate (line 54) | def accumulate(self, error_metrics): method average (line 68) | def average(self): FILE: modules/estimator.py function compute_scale_and_shift_ls (line 3) | def compute_scale_and_shift_ls(prediction, target, mask): class LeastSquaresEstimator (line 29) | class LeastSquaresEstimator(object): method __init__ (line 30) | def __init__(self, estimate, target, valid): method compute_scale_and_shift (line 40) | def compute_scale_and_shift(self): method apply_scale_and_shift (line 43) | def apply_scale_and_shift(self): method clamp_min_max (line 46) | def clamp_min_max(self, clamp_min=None, clamp_max=None): FILE: modules/interpolator.py function interpolate_knots (line 7) | def interpolate_knots(map_size, knot_coords, knot_values, interpolate, f... class Interpolator2D (line 20) | class Interpolator2D(object): method __init__ (line 21) | def __init__(self, pred_inv, sparse_depth_inv, valid): method generate_interpolated_scale_map (line 43) | def generate_interpolated_scale_map(self, interpolate_method, fill_cor... FILE: modules/midas/base_model.py class BaseModel (line 4) | class BaseModel(torch.nn.Module): method load (line 5) | def load(self, path): FILE: modules/midas/blocks.py function _make_encoder (line 4) | def _make_encoder(backbone, features, use_pretrained, groups=1, expand=F... function _make_scratch (line 15) | def _make_scratch(in_shape, out_shape, groups=1, expand=False): function _make_pretrained_efficientnet_lite3 (line 44) | def _make_pretrained_efficientnet_lite3(use_pretrained, exportable=False): function _make_efficientnet_backbone (line 54) | def _make_efficientnet_backbone(effnet): class ResidualConvUnit_custom (line 67) | class ResidualConvUnit_custom(nn.Module): method __init__ (line 71) | def __init__(self, features, activation, bn): method forward (line 99) | def forward(self, x): class FeatureFusionBlock_custom (line 125) | class FeatureFusionBlock_custom(nn.Module): method __init__ (line 129) | def __init__(self, features, activation, deconv=False, bn=False, expan... method forward (line 154) | def forward(self, *xs): class OutputConv (line 177) | class OutputConv(nn.Module): method __init__ (line 181) | def __init__(self, features, groups, activation, non_negative): method forward (line 195) | def forward(self, x): FILE: modules/midas/midas_net_custom.py function weights_init (line 13) | def weights_init(m): class MidasNet_small_videpth (line 26) | class MidasNet_small_videpth(BaseModel): method __init__ (line 30) | def __init__(self, path=None, features=64, backbone="efficientnet_lite... method forward (line 90) | def forward(self, x, d): FILE: modules/midas/transforms.py class Resize (line 10) | class Resize(object): method __init__ (line 14) | def __init__( method constrain_to_multiple_of (line 56) | def constrain_to_multiple_of(self, x, min_val=0, max_val=None): method get_size (line 67) | def get_size(self, width, height): method __call__ (line 124) | def __call__(self, sample): class NormalizeImage (line 158) | class NormalizeImage(object): method __init__ (line 162) | def __init__(self, mean, std): method __call__ (line 166) | def __call__(self, sample): class NormalizeIntermediate (line 171) | class NormalizeIntermediate(object): method __init__ (line 175) | def __init__(self, mean, std): method __call__ (line 183) | def __call__(self, sample): class PrepareForNet (line 193) | class PrepareForNet(object): method __init__ (line 197) | def __init__(self): method __call__ (line 200) | def __call__(self, sample): class Tensorize (line 217) | class Tensorize(object): method __init__ (line 221) | def __init__(self): method __call__ (line 224) | def __call__(self, sample): function get_transforms (line 238) | def get_transforms(depth_predictor, sparsifier, nsamples): FILE: modules/midas/utils.py function read_pfm (line 10) | def read_pfm(path): function write_pfm (line 59) | def write_pfm(path, image, scale=1): function read_image (line 98) | def read_image(path): function resize_image (line 117) | def resize_image(img): function resize_depth (line 147) | def resize_depth(depth, width, height): function write_depth (line 167) | def write_depth(path, depth, bits=1): function write_png (line 194) | def write_png(path, array, bits=2): function normalize_unit_range (line 221) | def normalize_unit_range(data): FILE: pipeline.py class VIDepth (line 11) | class VIDepth(object): method __init__ (line 12) | def __init__(self, depth_predictor, nsamples, sml_model_path, method run (line 60) | def run(self, input_image, input_sparse_depth, validity_map, device): FILE: run.py function load_input_image (line 15) | def load_input_image(input_image_fp): function load_sparse_depth (line 19) | def load_sparse_depth(input_sparse_depth_fp): function run (line 25) | def run(depth_predictor, nsamples, sml_model_path,