Functiongenerate_sampling_frustum(step, depth, K, f, cx, cy, x_res, y_res)
dataset_loaders/load_Cambridge.py:58
Functionmasked_loss compute loss only in masked region :param criterion: loss function :param f1: [3, batch_size, H, W] :param f2: [3, batch_size, H, W]
script/feature/misc.py:332
Functionrender_test(args, train_dl, val_dl, hwf, start, render_kwargs_test, decoder_coarse=None, decoder_fine=None)
script/models/rendering.py:460
Functiontmp_plot2 print 1 pair of batch of salient feature map :param: target_in [B, 3, H, W] :param: rgb_in [B, 3, H, W] :param: features_target [B, C
script/run_feature.py:48
Functiontmp_plot2 print 1 pair of batch of salient feature map :param: target_in [B, 3, H, W] :param: rgb_in [B, 3, H, W] :param: features_target [B, C
script/feature/direct_feature_matching.py:23
Functiontrain_posenet(args, train_dl, val_dl, model, epochs, optimizer, loss_func, scheduler, device, early_stopping)
script/dm/pose_model.py:359
Functiontriplet_loss naive implementation of triplet loss :param criterion: loss function :param f1: [lvl, B, C, H, W] :param f2: [lvl, B, C, H, W] :
script/feature/misc.py:355