MCPcopy Create free account

hub / github.com/cjrd/self-supervised-pretraining / functions

Functions2,192 in github.com/cjrd/self-supervised-pretraining

↓ 1 callersFunctionget_bootstrap_dataset_config
()
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/config.py:28
↓ 1 callersMethodget_caffe2_inputs
Convert pytorch-style structured inputs to caffe2-style inputs that are tuples of tensors. Args: batched_inputs
OpenSelfSup/benchmarks/detection/detection/detectron2/export/caffe2_modeling.py:157
↓ 1 callersFunctionget_checkpoint_url
Returns the URL to the model trained using the given config Args: config_path (str): config file name relative to detectron2's "conf
OpenSelfSup/benchmarks/detection/detection/detectron2/model_zoo/model_zoo.py:85
↓ 1 callersFunctionget_chosen_costs
(opts, num_classes)
OpenSelfSup/benchmarks/svm_tools/test_svm.py:35
↓ 1 callersFunctionget_code
(mod)
OpenSelfSup/benchmarks/detection/detection/detectron2/export/torchscript.py:77
↓ 1 callersFunctionget_config_file
Returns path to a builtin config file. Args: config_path (str): config file name relative to detectron2's "configs/" dir
OpenSelfSup/benchmarks/detection/detection/detectron2/model_zoo/model_zoo.py:103
↓ 1 callersFunctionget_config_files
Get all the configuration files (relative to the base configuration directory)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/tests/common.py:68
↓ 1 callersFunctionget_data_files
(split, args)
OpenSelfSup/tools/prepare_data/create_voc_data_files.py:44
↓ 1 callersFunctionget_data_params_from_flags
(args)
utils/extract-tf-splits.py:20
↓ 1 callersMethodget_deltas
Get box regression transformation deltas (dx, dy, dw, dh, da) that can be used to transform the `src_boxes` into the `target_boxes`.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/box_regression.py:139
↓ 1 callersFunctionget_env_module
()
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/collect_env.py:29
↓ 1 callersFunctionget_evaluator
Create evaluator(s) for a given dataset. This uses the special metadata "evaluator_type" associated with each builtin dataset. For your o
OpenSelfSup/benchmarks/detection/detection/tools/plain_train_net.py:61
↓ 1 callersFunctionget_evolution_config_files
Get all the evolution configuration files (relative to the base configuration directory)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/tests/common.py:75
↓ 1 callersFunctionget_extensions
()
OpenSelfSup/benchmarks/detection/detection/setup.py:41
↓ 1 callersFunctionget_extensions
()
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/setup.py:11
↓ 1 callersFunctionget_git_hash
()
OpenSelfSup/setup.py:26
↓ 1 callersMethodget_ground_truth
Args: anchors (list[list[Boxes]]): a list of N=#image elements. Each is a list of #feature level Boxes. The Boxes
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/arch.py:503
↓ 1 callersFunctionget_hash
()
OpenSelfSup/setup.py:52
↓ 1 callersFunctionget_hrnet_config_files
Get all the HRNet configuration files (relative to the base configuration directory)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/tests/common.py:82
↓ 1 callersMethodget_image_bgr_from_context
(self, context)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/densepose_results.py:51
↓ 1 callersMethodget_image_bgr_from_context
(self, context)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/densepose_results.py:153
↓ 1 callersFunctionget_images_labels_info
(split, args)
OpenSelfSup/tools/prepare_data/create_voc_data_files.py:75
↓ 1 callersFunctionget_instance_segmentation
Post-processing for instance segmentation, gets class agnostic instance id. Args: sem_seg: A Tensor of shape [1, H, W], predicted sem
OpenSelfSup/benchmarks/detection/detection/projects/Panoptic-DeepLab/panoptic_deeplab/post_processing.py:79
↓ 1 callersMethodget_lr
(self)
OpenSelfSup/benchmarks/detection/detection/detectron2/solver/lr_scheduler.py:38
↓ 1 callersMethodget_lr
(self)
OpenSelfSup/benchmarks/detection/detection/detectron2/solver/lr_scheduler.py:68
↓ 1 callersMethodget_lr
(self)
OpenSelfSup/benchmarks/detection/detection/projects/DeepLab/deeplab/lr_scheduler.py:44
↓ 1 callersFunctionget_model
Get the model from the specified file (relative to the base configuration directory)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/tests/common.py:110
↓ 1 callersFunctionget_model_parameters_number
(model)
OpenSelfSup/openselfsup/utils/flops_counter.py:152
↓ 1 callersFunctionget_model_zoo_configs
Return a list of configs to include in package for model zoo. Copy over these configs inside detectron2/model_zoo.
OpenSelfSup/benchmarks/detection/detection/setup.py:140
↓ 1 callersMethodget_num_inchannels
(self)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/hrnet.py:246
↓ 1 callersMethodget_outputs_converter
Creates a function that converts outputs of the caffe2 model to detectron2's standard format. The function uses information i
OpenSelfSup/benchmarks/detection/detection/detectron2/export/caffe2_modeling.py:220
↓ 1 callersFunctionget_panoptic_segmentation
Post-processing for panoptic segmentation. Args: sem_seg: A Tensor of shape [1, H, W] of predicted semantic label. center_hea
OpenSelfSup/benchmarks/detection/detection/projects/Panoptic-DeepLab/panoptic_deeplab/post_processing.py:165
↓ 1 callersFunctionget_params_from_init_net
Take the output blobs from init_net by running it. Outputs: params: dict from blob name to numpy array device_options: dict f
OpenSelfSup/benchmarks/detection/detection/detectron2/export/shared.py:340
↓ 1 callersFunctionget_parser
()
OpenSelfSup/benchmarks/detection/detection/demo/demo.py:36
↓ 1 callersFunctionget_pb_arg_floats
(pb, arg_name, default_val)
OpenSelfSup/benchmarks/detection/detection/detectron2/export/shared.py:179
↓ 1 callersFunctionget_point_coords_wrt_image
Convert box-normalized [0, 1] x [0, 1] point cooordinates to image-level coordinates. Args: boxes_coords (Tensor): A tensor of shape
OpenSelfSup/benchmarks/detection/detection/projects/PointRend/point_rend/point_features.py:192
↓ 1 callersFunctionget_quick_schedules_config_files
Get all the quick schedules configuration files (relative to the base configuration directory)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/tests/common.py:89
↓ 1 callersFunctionget_regular_bitmask_instances
(h, w)
OpenSelfSup/benchmarks/detection/detection/tests/modeling/test_model_e2e.py:42
↓ 1 callersMethodget_text_size_wh
(self, txt)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/base.py:167
↓ 1 callersFunctionget_version
()
OpenSelfSup/setup.py:81
↓ 1 callersFunctionget_version
()
OpenSelfSup/benchmarks/detection/detection/setup.py:18
↓ 1 callersMethodgrid_anchors_with_unit_lengths_and_indexes
(self, grid_sizes)
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/arch.py:235
↓ 1 callersFunctiongroup_norm_replace_aten_with_caffe2
For ONNX exported model, GroupNorm will be represented as ATen op, this can be a drop in replacement from ATen to GroupNorm
OpenSelfSup/benchmarks/detection/detection/detectron2/export/shared.py:563
↓ 1 callersFunctiongroup_pixels
Gives each pixel in the image an instance id. Args: center_points: A Tensor of shape [K, 2] where K is the number of center points.
OpenSelfSup/benchmarks/detection/detection/projects/Panoptic-DeepLab/panoptic_deeplab/post_processing.py:44
↓ 1 callersFunctionguess_version
Guess the version of a partial config where the VERSION field is not specified. Returns the version, or the latest if cannot make a guess.
OpenSelfSup/benchmarks/detection/detection/detectron2/config/compat.py:82
↓ 1 callersFunctionheatmaps_to_keypoints
Extract predicted keypoint locations from heatmaps. Args: maps (Tensor): (#ROIs, #keypoints, POOL_H, POOL_W). The predicted heatmap
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/keypoints.py:144
↓ 1 callersFunctionidentify_reshape_sub_graph
Idenfity the reshape sub-graph in a protobuf. The reshape sub-graph is defined as matching the following pattern: (input_blob) -> Op_1 -
OpenSelfSup/benchmarks/detection/detection/detectron2/export/shared.py:855
↓ 1 callersFunctionimage_to_patches
Crop split_per_side x split_per_side patches from input image. Args: img (PIL Image): input image. Returns: list[PIL Image]:
OpenSelfSup/openselfsup/datasets/relative_loc.py:12
↓ 1 callersFunctionindent
(level, s)
OpenSelfSup/benchmarks/detection/detection/detectron2/export/torchscript_patch.py:66
↓ 1 callersMethodinference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` detected_in
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/rcnn.py:177
↓ 1 callersFunctioninference_context
A context where the model is temporarily changed to eval mode, and restored to previous mode afterwards. Args: model: a torch Mo
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/evaluator.py:185
↓ 1 callersMethodinference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/retinanet.py:321
↓ 1 callersMethodinference_single_image
Single-image inference. Return bounding-box detection results by thresholding on scores and applying non-maximum suppression (NMS).
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/arch.py:675
↓ 1 callersMethodinit_memory
Initialize memory modules.
OpenSelfSup/openselfsup/models/memories/odc_memory.py:42
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/relative_loc.py:34
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/classification.py:37
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/npid.py:47
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/rotation_pred.py:30
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/deepcluster.py:51
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/byol.py:115
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/simclr.py:43
↓ 1 callersMethodinit_weights
Initialize the weights of model. Args: pretrained (str, optional): Path to pre-trained weights. Default: None.
OpenSelfSup/openselfsup/models/moco.py:127
↓ 1 callersMethodinit_weights
(self)
OpenSelfSup/openselfsup/models/utils/conv_module.py:149
↓ 1 callersMethodinit_weights
(self, init_linear='normal')
OpenSelfSup/openselfsup/models/heads/latent_pred_head.py:51
↓ 1 callersMethodinside_box
Args: box_size (height, width): Size of the reference box. boundary_threshold (int): Boxes that extend beyond the ref
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/boxes.py:245
↓ 1 callersMethodinstances_to_json
(self, instances, img_id)
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/rotated_coco_evaluation.py:124
↓ 1 callersFunctioniou_between_full_image_bit_masks
(a, b)
OpenSelfSup/benchmarks/detection/detection/tests/layers/test_mask_ops.py:28
↓ 1 callersFunctioniter_annotations
()
OpenSelfSup/benchmarks/detection/detection/datasets/prepare_panoptic_fpn.py:62
↓ 1 callersFunctionkeypoint_rcnn_inference
Post process each predicted keypoint heatmap in `pred_keypoint_logits` into (x, y, score) and add it to the `pred_instances` as a `pred_k
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/keypoint_head.py:99
↓ 1 callersFunctionkeypoint_rcnn_loss
Arguments: pred_keypoint_logits (Tensor): A tensor of shape (N, K, S, S) where N is the total number of instances in the batc
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/keypoint_head.py:40
↓ 1 callersMethodlabel_anchors
Args: anchors (list[Boxes]): A list of #feature level Boxes. The Boxes contains anchors of this image on the spec
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/retinanet.py:254
↓ 1 callersMethodlabel_and_sample_anchors
Args: anchors (list[Boxes]): anchors for each feature map. gt_instances: the ground-truth instances for each image.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/proposal_generator/rpn.py:269
↓ 1 callersMethodlatest
Returns: dict[str -> (float, int)]: mapping from the name of each scalar to the most recent value and the iterati
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/events.py:382
↓ 1 callersMethodlayers
Neural network layers that makes predictions from regional input features.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/keypoint_head.py:208
↓ 1 callersMethodlayers
Neural network layers that makes predictions from input features.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/mask_head.py:196
↓ 1 callersMethodlayers
(self, features)
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/semantic_seg.py:170
↓ 1 callersMethodlayers
(self, features)
OpenSelfSup/benchmarks/detection/detection/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py:491
↓ 1 callersMethodlayers
(self, features)
OpenSelfSup/benchmarks/detection/detection/projects/DeepLab/deeplab/semantic_seg.py:217
↓ 1 callersFunctionload_for_dataset
(dataset_name)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/utils/transform.py:9
↓ 1 callersFunctionload_from_cfg
(cfg)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/utils/transform.py:15
↓ 1 callersFunctionload_json
(file_path, ground_truth=True)
OpenSelfSup/tools/prepare_data/create_voc_low_shot_challenge_samples.py:30
↓ 1 callersFunctionload_json
(file_path)
OpenSelfSup/benchmarks/svm_tools/test_svm_low_shot.py:36
↓ 1 callersFunctionload_json
(file_path)
OpenSelfSup/benchmarks/svm_tools/test_svm.py:61
↓ 1 callersMethodload_protobuf
Args: dir (str): a directory used to save Caffe2Model with :meth:`save_protobuf`. The files "mode
OpenSelfSup/benchmarks/detection/detection/detectron2/export/api.py:266
↓ 1 callersFunctionlog_every_n_seconds
Log no more than once per n seconds. Args: lvl (int): the logging level msg (str): n (int): name (str): name
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/logger.py:186
↓ 1 callersFunctionlogit_y_axis
(yfact=100)
utils/plot-results.py:28
↓ 1 callersMethodlosses
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/fast_rcnn.py:453
↓ 1 callersMethodlosses
(self, predictions, targets)
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/semantic_seg.py:179
↓ 1 callersMethodlosses
Args: anchors (list[Boxes]): a list of #feature level Boxes gt_labels, gt_boxes: see output of :meth:`RetinaNet.label
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/retinanet.py:187
↓ 1 callersMethodlosses
Args: For `gt_class_info`, `gt_delta_info`, `gt_mask_info` and `num_fg` parameters, see :meth:`TensorMask.get_gro
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/arch.py:416
↓ 1 callersMethodlosses
(self, predictions, targets)
OpenSelfSup/benchmarks/detection/detection/projects/DeepLab/deeplab/semantic_seg.py:234
↓ 1 callersMethodlosses
(self, predictions, targets)
OpenSelfSup/benchmarks/detection/detection/projects/DeepLab/deeplab/semantic_seg.py:320
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/train.py:62
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/test.py:60
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/get_acts.py:67
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/count_parameters.py:14
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/upgrade_models.py:14
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/publish_model.py:27
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/extract_backbone_weights.py:15
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/extract.py:85
← previousnext →801–900 of 2,192, ranked by callers