↓ 7 callersMethod__init__(
self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.0
)
MSMFormer/meanshiftformer/modeling/backbone/swin.py:24
↓ 4 callersFunctioncombine_masks Combine several bit masks [N, H, W] into a mask [H,W], e.g. 8*480*640 tensor becomes a numpy array of 480*640. [[1,0,0], [0,1,0]] = > [2,
lib/fcn/test_utils.py:93
↓ 4 callersFunctioncombine_masks_with_NMS Combine several bit masks [N, H, W] into a mask [H,W], e.g. 8*480*640 tensor becomes a numpy array of 480*640. [[1,0,0], [0,1,0]] = > [2,
lib/fcn/test_utils.py:55
↓ 4 callersFunctionget_result_from_network(cfg, image, depth, label, predictor, topk=False, confident_score=0.7, low_threshold=0.4, vis_crop=False)
lib/fcn/test_utils.py:208
↓ 3 callersFunction_vis_minibatch_segmentation_final(image, depth, label, out_label=None, out_label_refined=None,
features=None, ind=None, selected_pixels=Non
lib/fcn/test_common.py:103
↓ 3 callersFunctiontest_dataset(cfg,dataset, predictor, visualization=False, topk=False, confident_score=0.7, low_threshold=0.4)
lib/fcn/test_utils.py:424
↓ 2 callersFunction_vis_minibatch_segmentation(image, depth, label, out_label=None, out_label_refined=None,
features=None, ind=None, selected_pixels=Non
lib/fcn/test_common.py:224
↓ 2 callersFunctioncompute_xyz(depth_img, fx, fy, px, py, height, width)
lib/datasets/pushing_dataset.py:75
↓ 2 callersMethodget_loss(self, loss, outputs, targets, indices, num_masks)
MSMFormer/meanshiftformer/modeling/criterion.py:204
↓ 2 callersFunctiontest_sample_crop_nolabel(cfg, sample, predictor, predictor_crop, visualization = False, topk=False, confident_score=0.7, low_threshold
lib/fcn/test_utils.py:339
↓ 2 callersFunctionwindow_partition Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
MSMFormer/meanshiftformer/modeling/backbone/swin.py:44