Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IRVLUTD/UnseenObjectsWithMeanShift
/ functions
Functions
680 in github.com/IRVLUTD/UnseenObjectsWithMeanShift
⨍
Functions
680
◇
Types & classes
107
Function
get_predictor_crop
(cfg_file=cfg_file_MSMFormer_crop, weight_path=weight_path_MSMFormer_crop, input_image="RGBD_ADD")
lib/fcn/test_demo_UOAIS.py:73
Function
get_predictor_crop
(cfg_file=cfg_file_MSMFormer_crop, weight_path=weight_path_MSMFormer_crop, input_image="RGBD_ADD")
lib/datasets/test_demo_UOAIS.py:73
Method
get_transform
(self, img, boxes)
MSMFormer/meanshiftformer/data/dataset_mappers/unseen_instance_dataset_mapper.py:117
Function
im_list_to_blob
Convert a list of images into a network input. Assumes images are already prepared (means subtracted, BGR order, ...).
lib/utils/blob.py:13
Function
imread_indexed
Load segmentation image (with palette) given filename.
lib/utils/mask.py:152
Function
imwrite_indexed
Save indexed png with palette.
lib/utils/mask.py:158
Method
init_weights
Initialize the weights in backbone. Args: pretrained (str, optional): Path to pre-trained weights. Defaults to Non
MSMFormer/meanshiftformer/modeling/backbone/swin.py:635
Method
instance_inference
(self, mask_cls, mask_pred)
MSMFormer/meanshiftformer/pretrained_meanshiftformer_model.py:461
Method
instance_inference
(self, mask_cls, mask_pred)
MSMFormer/meanshiftformer/meanshiftformer_model.py:414
Method
inverse
(self)
MSMFormer/meanshiftformer/data/dataset_mappers/unseen_instance_dataset_mapper.py:196
Function
list_datasets
List all registered imdbs.
lib/datasets/factory.py:41
Function
load_uoais_json
Load a json file with uoais's instances annotation format. For amodal instance segmentation, dataset_name should include the keword "amodal"
lib/datasets/uoais_dataset.py:306
Function
log_softmax_high_dimension
(input)
lib/networks/utils.py:7
Method
loss_labels
Classification loss (NLL) targets dicts must contain the key "labels" containing a tensor of dim [nb_target_boxes]
MSMFormer/meanshiftformer/modeling/criterion.py:122
Method
loss_masks
Compute the losses related to the masks: the focal loss and the dice loss. targets dicts must contain the key "masks" containing a tensor of d
MSMFormer/meanshiftformer/modeling/criterion.py:140
Function
main
(args)
MSMFormer/tabletop_train_net_pretrained.py:303
Function
make_cost_matrix
Create a cost matrix from a profit matrix by calling 'inversion_function' to invert each value. The inversion function must take one nume
lib/utils/munkres.py:625
Method
make_cost_matrix
**DEPRECATED** Please use the module function ``make_cost_matrix()``.
lib/utils/munkres.py:261
Function
make_decoder_layers
(cfg, in_channels, batch_norm=False)
lib/networks/unets.py:107
Function
make_encoder_layers
(cfg, in_channels=3, batch_norm=False)
lib/networks/unets.py:90
Function
mask_to_tight_box
(mask)
lib/utils/mask.py:189
Method
maybe_add_full_model_gradient_clipping
(optim)
MSMFormer/tabletop_train_net_pretrained.py:161
Function
mean_shift_smart_init
Runs mean shift with carefully selected seeds @param X: a [n x d] torch.FloatTensor of d-dim unit vectors @param dist_threshold: par
MSMFormer/meanshiftformer/modeling/transformer_decoder/mean_shift.py:192
Function
ms_deform_attn_backward
MSMFormer/meanshiftformer/modeling/pixel_decoder/ops/src/ms_deform_attn.h:46
Function
ms_deform_attn_cpu_backward
MSMFormer/meanshiftformer/modeling/pixel_decoder/ops/src/cpu/ms_deform_attn_cpu.cpp:34
Function
ms_deform_attn_cpu_forward
MSMFormer/meanshiftformer/modeling/pixel_decoder/ops/src/cpu/ms_deform_attn_cpu.cpp:22
Function
ms_deform_attn_forward
MSMFormer/meanshiftformer/modeling/pixel_decoder/ops/src/ms_deform_attn.h:25
Function
munkres_match
Matches the set of states in sts_pred such that it minimizes the hamming distance between sts_pred and sts_true. We assume here that the stat
lib/utils/munkres.py:682
Method
name
(self)
lib/datasets/imdb.py:23
Method
num_classes
(self)
lib/datasets/imdb.py:27
Method
panoptic_inference
(self, mask_cls, mask_pred)
MSMFormer/meanshiftformer/pretrained_meanshiftformer_model.py:403
Method
panoptic_inference
(self, mask_cls, mask_pred)
MSMFormer/meanshiftformer/meanshiftformer_model.py:356
Function
prep_im_for_blob
Mean subtract and scale an image for use in a blob.
lib/utils/blob.py:31
Method
process_depth
Process depth channel - change from millimeters to meters - cast to float32 data type - add random no
lib/datasets/pushing_dataset.py:141
Function
random_add
Randomly add part of mask @param label: a [H x W] numpy array of {0, 1}
lib/utils/augmentation.py:432
Function
random_color_warp
Given an RGB image [H x W x 3], add random hue, saturation and luminosity to the image Code adapted from: https://github.com/yuxng/PoseCNN/b
lib/utils/augmentation.py:145
Function
random_cut
Randomly cut part of mask @param label: a [H x W] numpy array of {0, 1}
lib/utils/augmentation.py:381
Function
random_ellipses
Randomly add/drop a few ellipses in the mask This is adapted from the DexNet 2.0 code. Their code: https://github.com/BerkeleyAutomat
lib/utils/augmentation.py:242
Function
random_horizontal_flip
Randomly horizontally flip the image/label w.p. 0.5 @param image: a [H x W x 3] numpy array @param label: a [H x W] numpy array
lib/utils/augmentation.py:179
Function
random_morphological_transform
Randomly erode/dilate the label @param label: a [H x W] numpy array of {0, 1}
lib/utils/augmentation.py:195
Function
random_rotation
Randomly rotate mask @param label: a [H x W] numpy array of {0, 1}
lib/utils/augmentation.py:348
Function
random_translation
Randomly translate mask @param label: a [H x W] numpy array of {0, 1}
lib/utils/augmentation.py:309
Function
read_sample
(filename_color, filename_depth, camera_params)
tools/get_network.py:124
Function
read_sample
(filename_color, filename_depth, camera_params)
lib/fcn/get_network_crop.py:123
Function
resnet101
Constructs a ResNet-101 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/networks/resnet.py:367
Function
resnet152
Constructs a ResNet-152 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/networks/resnet.py:391
Function
resnet18
Constructs a ResNet-18 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/networks/resnet.py:273
Function
resnet34
Constructs a ResNet-34 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/networks/resnet.py:321
Function
resnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet
lib/networks/resnet.py:345
Function
rotation_x
(theta)
lib/utils/se3.py:63
Function
rotation_y
(theta)
lib/utils/se3.py:73
Function
rotation_z
(theta)
lib/utils/se3.py:83
Method
run_step
(self)
MSMFormer/tabletop_train_net_pretrained.py:209
Function
save_data
meta = {'roi': roi, 'features': features_crop.cpu().detach().numpy(), 'labels': out_label_refined.cpu().detach().numpy()} filename = file_rgb
tools/test_image_with_ms_transformer.py:87
Function
save_data
meta = {'roi': roi, 'features': features_crop.cpu().detach().numpy(), 'labels': out_label_refined.cpu().detach().numpy()} filename = file_rgb
tools/get_network.py:96
Function
save_data
meta = {'roi': roi, 'features': features_crop.cpu().detach().numpy(), 'labels': out_label_refined.cpu().detach().numpy()} filename = file_rgb
tools/test_npy.py:77
Function
save_data
meta = {'roi': roi, 'features': features_crop.cpu().detach().numpy(), 'labels': out_label_refined.cpu().detach().numpy()} filename = file_rgb
tools/test_images.py:76
Function
save_data
meta = {'roi': roi, 'features': features_crop.cpu().detach().numpy(), 'labels': out_label_refined.cpu().detach().numpy()} filename = file_rgb
lib/fcn/get_backbone.py:77
Function
save_data
meta = {'roi': roi, 'features': features_crop.cpu().detach().numpy(), 'labels': out_label_refined.cpu().detach().numpy()} filename = file_rgb
lib/fcn/get_network_crop.py:95
Function
se3_inverse
(RT)
lib/utils/se3.py:10
Function
se3_mul
(RT1, RT2)
lib/utils/se3.py:18
Function
seg_resnet34_8s_embedding
(num_classes=2, num_units=64, data=None)
lib/networks/SEG.py:173
Function
seg_resnet34_8s_embedding_early
(num_classes=2, num_units=64, data=None)
lib/networks/SEG.py:178
Function
seg_resnet50_8s_embedding
(num_classes=2, num_units=64, data=None)
lib/networks/SEG.py:183
Function
seg_unet_embedding
(num_classes=2, num_units=64, data=None)
lib/networks/SEG.py:168
Function
seg_vgg_embedding
(num_classes=2, num_units=64, data=None)
lib/networks/SEG.py:163
Method
semantic_inference
(self, mask_cls, mask_pred)
MSMFormer/meanshiftformer/pretrained_meanshiftformer_model.py:397
Method
semantic_inference
(self, mask_cls, mask_pred)
MSMFormer/meanshiftformer/meanshiftformer_model.py:350
Function
sigmoid_ce_loss
Args: inputs: A float tensor of arbitrary shape. The predictions for each example. targets: A float tensor with t
MSMFormer/meanshiftformer/modeling/criterion.py:48
Method
size_divisibility
(self)
MSMFormer/meanshiftformer/modeling/backbone/swin.py:769
Function
softmax_high_dimension
(input)
lib/networks/utils.py:23
Function
standardize_image
Convert a numpy.ndarray [H x W x 3] of images to [0,1] range, and then standardizes @return: a [H x W x 3] numpy array of np.float32
lib/utils/augmentation.py:131
Function
standardize_image
Convert a numpy.ndarray [H x W x 3] of images to [0,1] range, and then standardizes @return: a [H x W x 3] numpy array of np.float32
lib/datasets/load_OSD_UOAIS.py:77
Function
test_dataset_crop
(cfg,dataset, predictor, network_crop, visualization=False, topk=True, confident_score=0.9, low_threshold=0.4)
lib/fcn/test_utils.py:463
Function
test_image_segmentation
test on a single image
lib/fcn/test_imageset.py:20
Function
unnormalize_depth
unnormalize the input depth (0 ~ 255) and return depth image (mm) Args: depth([np.uint8]): normalized depth array [H, W, 3] (0 ~ 255)
lib/datasets/load_OSD_UOAIS.py:24
Function
unpad_im
(im, factor)
lib/utils/blob.py:61
Method
with_pos_embed
(self, tensor, pos: Optional[Tensor])
MSMFormer/meanshiftformer/modeling/transformer_decoder/meanshiftformer_transformer_decoder.py:297
Method
with_pos_embed
(self, tensor, pos: Optional[Tensor])
MSMFormer/meanshiftformer/modeling/transformer_decoder/mask2former_transformer_decoder.py:160
Function
yaml_from_file
Load a config file and merge it into the default options.
lib/fcn/config.py:445
← previous
601–680 of 680, ranked by callers