MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
()
OpenSelfSup/tools/prepare_data/create_voc_data_files.py:132
↓ 1 callersFunctionmain
()
OpenSelfSup/tools/prepare_data/create_voc_low_shot_challenge_samples.py:99
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/train_svm_kfold_parallel.py:109
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/test_svm_low_shot.py:157
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/aggregate_low_shot_svm_stats.py:100
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/test_svm.py:132
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/train_svm_low_shot_parallel.py:107
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/train_svm_kfold.py:119
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/svm_tools/train_svm_low_shot.py:104
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/apply_net.py:308
↓ 1 callersFunctionmain
()
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/query_db.py:239
↓ 1 callersFunctionmain
(args)
utils/plot_pct_pretrain_modified.py:147
↓ 1 callersFunctionmain
(args)
utils/plot-mini.py:195
↓ 1 callersFunctionmain
(args)
utils/plot-results.py:154
↓ 1 callersFunctionmain
(args)
utils/compute-dataset-pixel-mean-std.py:28
↓ 1 callersFunctionmain
(args)
utils/plot-results-aug-resisc.py:98
↓ 1 callersFunctionmain
(args)
utils/plot_augmentation_modified.py:131
↓ 1 callersFunctionmain
(args)
utils/extract-tf-splits-direct.py:19
↓ 1 callersFunctionmain
(args)
utils/plot_augmentation.py:108
↓ 1 callersFunctionmain
(args)
utils/plot_basetrain_robust.py:75
↓ 1 callersFunctionmain
(args)
utils/extract-tf-splits.py:35
↓ 1 callersFunctionmain
(args)
utils/plot_pct_pretrain.py:122
↓ 1 callersFunctionmain
(args)
utils/plot_basetrain_robust_modified.py:96
↓ 1 callersFunctionmain
()
utils/simclr-converter/eval.py:38
↓ 1 callersFunctionmain
()
utils/simclr-converter/convert.py:16
↓ 1 callersFunctionmake_model_inputs
(image, instances=None)
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/tests/test_model_e2e.py:12
↓ 1 callersFunctionmake_res_layer
(block, inplanes, planes, blocks,
OpenSelfSup/openselfsup/models/backbones/resnext.py:78
↓ 1 callersFunctionmake_res_layer
(block, inplanes, planes, blocks,
OpenSelfSup/openselfsup/models/backbones/resnet.py:192
↓ 1 callersFunctionmake_stage
Deprecated alias for backward compatibiltiy.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/backbone/resnet.py:553
↓ 1 callersFunctionmake_trident_stage
Create a resnet stage by creating many blocks for TridentNet.
OpenSelfSup/benchmarks/detection/detection/projects/TridentNet/tridentnet/trident_backbone.py:119
↓ 1 callersFunctionmatch
(a, b)
OpenSelfSup/benchmarks/detection/detection/detectron2/checkpoint/c2_model_loading.py:239
↓ 1 callersFunctionmatched_boxlist_iou
Compute pairwise intersection over union (IOU) of two sets of matched boxes. The box order must be (xmin, ymin, xmax, ymax). Similar to b
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/boxes.py:389
↓ 1 callersFunctionmerge_semantic_and_instance
Post-processing for panoptic segmentation, by merging semantic segmentation label and class agnostic instance segmentation label. Arg
OpenSelfSup/benchmarks/detection/detection/projects/Panoptic-DeepLab/panoptic_deeplab/post_processing.py:111
↓ 1 callersFunctionmock_fastrcnn_outputs_inference
( tensor_mode, check=True, box_predictor_type=FastRCNNOutputLayers )
OpenSelfSup/benchmarks/detection/detection/detectron2/export/caffe2_patch.py:79
↓ 1 callersFunctionmock_keypoint_rcnn_inference
(tensor_mode, patched_module, use_heatmap_max_keypoint, check=True)
OpenSelfSup/benchmarks/detection/detection/detectron2/export/caffe2_patch.py:104
↓ 1 callersFunctionmock_mask_rcnn_inference
(tensor_mode, patched_module, check=True)
OpenSelfSup/benchmarks/detection/detection/detectron2/export/caffe2_patch.py:94
↓ 1 callersFunctionmulti_gpu_test
(model, data_loader)
OpenSelfSup/tools/test.py:26
↓ 1 callersFunctionmulti_gpu_test
(model, data_loader)
OpenSelfSup/tools/get_acts.py:30
↓ 1 callersFunctionmulti_plot
(root)
utils/plot.py:19
↓ 1 callersMethodname_scope
Yields: A context within which all the events added to this storage will be prefixed by the name scope.
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/events.py:451
↓ 1 callersFunctionnms_rotated_cpu
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:62
↓ 1 callersMethodnonempty
Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Returns:
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/rotated_boxes.py:302
↓ 1 callersMethodnorm1
(self)
OpenSelfSup/openselfsup/models/backbones/resnet.py:51
↓ 1 callersMethodnorm1
(self)
OpenSelfSup/openselfsup/models/backbones/resnet.py:148
↓ 1 callersMethodnorm1
(self)
OpenSelfSup/openselfsup/models/backbones/resnet.py:358
↓ 1 callersMethodnorm2
(self)
OpenSelfSup/openselfsup/models/backbones/resnet.py:55
↓ 1 callersMethodnorm2
(self)
OpenSelfSup/openselfsup/models/backbones/resnet.py:152
↓ 1 callersMethodnorm3
(self)
OpenSelfSup/openselfsup/models/backbones/resnet.py:156
↓ 1 callersMethodoffset_losses
(self, predictions, targets, weights)
OpenSelfSup/benchmarks/detection/detection/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py:514
↓ 1 callersMethodoverlay_rotated_instances
Args: boxes (ndarray): an Nx5 numpy array of (x_center, y_center, width, height, angle_degrees) format
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/visualizer.py:715
↓ 1 callersFunctionpad_masks
Args: masks (tensor): A tensor of shape (B, M, M) representing B masks. padding (int): Number of cells to pad on all sides.
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/mask_ops.py:207
↓ 1 callersFunctionpairwise_ioa
Similar to pariwise_iou but compute the IoA (intersection over boxes2 area). Args: boxes1,boxes2 (Boxes): two `Boxes`. Contains N &
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/boxes.py:369
↓ 1 callersFunctionparams_to_string
converting number to string :param float params_num: number :returns str: number >>> params_to_string(1e9) '1000.0 M' >>> params
OpenSelfSup/openselfsup/utils/flops_counter.py:90
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/train.py:20
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/test.py:35
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/get_acts.py:39
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/count_parameters.py:7
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/upgrade_models.py:5
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/publish_model.py:5
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/extract_backbone_weights.py:5
↓ 1 callersFunctionparse_args
()
OpenSelfSup/tools/extract.py:50
↓ 1 callersFunctionparse_args
(in_args=None)
OpenSelfSup/benchmarks/detection/detection/tools/visualize_data.py:26
↓ 1 callersFunctionparse_args
()
utils/plot_pct_pretrain_modified.py:15
↓ 1 callersFunctionparse_args
()
utils/agg-results-to-final-json.py:8
↓ 1 callersFunctionparse_args
()
utils/plot-mini.py:17
↓ 1 callersFunctionparse_args
()
utils/plot-results.py:13
↓ 1 callersFunctionparse_args
()
utils/plot-results-aug-resisc.py:15
↓ 1 callersFunctionparse_args
()
utils/plot_augmentation_modified.py:15
↓ 1 callersFunctionparse_args
()
utils/plot_augmentation.py:15
↓ 1 callersFunctionparse_args
()
utils/plot_basetrain_robust.py:15
↓ 1 callersFunctionparse_args
()
utils/plot_pct_pretrain.py:14
↓ 1 callersFunctionparse_args
()
utils/plot_basetrain_robust_modified.py:15
↓ 1 callersFunctionparse_line
Parse information from a line in a requirements text file
OpenSelfSup/setup.py:107
↓ 1 callersFunctionparse_losses
(losses)
OpenSelfSup/openselfsup/apis/train.py:39
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file.
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/pascal_voc_evaluation.py:127
↓ 1 callersFunctionpaste_mask_in_image_old
Paste a single mask in an image. This is a per-box implementation of :func:`paste_masks_in_image`. This function has larger quantization
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/mask_ops.py:143
↓ 1 callersFunctionpermute_all_cls_and_box_to_N_HWA_K_and_concat
Rearrange the tensor layout from the network output, i.e.: list[Tensor]: #lvl tensors of shape (N, A x K, Hi, Wi) to per-image prediction
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/arch.py:23
↓ 1 callersFunctionpil_loader
(img_str)
OpenSelfSup/openselfsup/datasets/data_sources/utils.py:9
↓ 1 callersFunctionpolygon_area
(x, y)
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/masks.py:14
↓ 1 callersMethodpolygons_to_mask
(self, polygons)
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/visualizer.py:135
↓ 1 callersMethodpostexecute
(cls: type, context: Dict[str, Any])
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/apply_net.py:173
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.cpp:21
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:28
↓ 1 callersMethodpredict_boxes
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:534
↓ 1 callersMethodpredict_boxes_for_gt_classes
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:498
↓ 1 callersMethodpredict_probs
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:558
↓ 1 callersMethodpredict_proposals
Decode all the predicted box regression deltas to proposals. Find the top proposals by applying NMS and removing boxes that are too s
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/proposal_generator/rpn.py:453
↓ 1 callersFunctionprediction_to_json
Args: instances (Instances): the output of the model img_id (str): the image id in COCO Returns: list[dict]: the res
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/evaluator.py:98
↓ 1 callersMethodpreprocess_image
Normalize, pad and batch the input images.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/meta_arch/retinanet.py:383
↓ 1 callersMethodpreprocess_image
Normalize, pad and batch the input images.
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/arch.py:744
↓ 1 callersFunctionprint_model_with_flops
(model, units='GMac', precision=3, ost=sys.stdout)
OpenSelfSup/openselfsup/utils/flops_counter.py:111
↓ 1 callersMethodprocess
Process the pair of inputs and outputs. If they contain batches, the pairs can be consumed one-by-one using `zip`: .. code-b
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/evaluator.py:31
↓ 1 callersMethodprocess
(self, inputs, outputs)
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/evaluator.py:84
↓ 1 callersMethodprocess_annotation
(self, ann, mask_side_len=28)
OpenSelfSup/benchmarks/detection/detection/tests/layers/test_mask_ops.py:100
↓ 1 callersFunctionprocess_checkpoint
(in_file)
OpenSelfSup/tools/publish_model.py:13
↓ 1 callersMethodproduce_densepose_losses_segm
Losses for fine / coarse segmentation: cross-entropy for segmentation unnormalized scores given ground truth labels at annota
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/chart.py:378
↓ 1 callersMethodproduce_densepose_losses_uv
Compute losses for U/V coordinates: smooth L1 loss between estimated coordinates and the ground truth. Args: pro
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/chart.py:341
↓ 1 callersMethodproduce_fake_densepose_losses_segm
Fake losses for fine / coarse segmentation. These are used when no suitable ground truth data was found in a batch. The loss has a va
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/chart.py:255
↓ 1 callersMethodproduce_fake_densepose_losses_uv
Fake losses for U/V coordinates. These are used when no suitable ground truth data was found in a batch. The loss has a value 0
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/chart.py:232
↓ 1 callersMethodproduce_mask_losses
Computes coarse segmentation loss as cross-entropy for raw unnormalized scores given ground truth labels. Args:
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/chart.py:169
← previousnext →901–1,000 of 2,192, ranked by callers