MCPcopy Create free account

hub / github.com/ai4ce/NYU-VPR / functions

Functions2,323 in github.com/ai4ce/NYU-VPR

↓ 2 callersFunctiondump_img_masks
segmentation/mseg-api/mseg/dataset_apis/MapillaryMaskDataset.py:149
↓ 2 callersFunctiondump_relpath_txt
Dump relative paths. Args: - jpg_dir: - txt_output_dir: Returns: - txt_save_fpath:
segmentation/mseg-semantic/mseg_semantic/utils/img_path_utils.py:13
↓ 2 callersFunctiondump_results_latex
segmentation/mseg-semantic/mseg_semantic/scripts/collect_results.py:194
↓ 2 callersFunctiondump_results_markdown
segmentation/mseg-semantic/mseg_semantic/scripts/collect_results.py:201
↓ 2 callersMethodelems
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:45
↓ 2 callersMethodelems
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:99
↓ 2 callersMethodelems
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:133
↓ 2 callersMethodelems
(self)
segmentation/apex/apex/pyprof/prof/loss.py:55
↓ 2 callersMethodelems
(self)
segmentation/apex/apex/pyprof/prof/dropout.py:41
↓ 2 callersMethodelems
(self)
segmentation/apex/apex/pyprof/prof/normalization.py:40
↓ 2 callersFunctionentries_equal
Compare classnames in *_names.txt file against tsv column entries. For training datasets, these must be *exactly* the same.
segmentation/mseg-api/tests/test_taxonomy_converter.py:28
↓ 2 callersFunctionevaluate_universal_tax_model
Args: - args: - use_gpu Returns: - None
segmentation/mseg-semantic/mseg_semantic/tool/test_universal_tax.py:66
↓ 2 callersFunctionfind_max_cardinality_mask
Return the index of this element in the list
segmentation/mseg-api/mseg/utils/mask_utils.py:45
↓ 2 callersFunctionflatten
(bucket)
segmentation/apex/apex/parallel/distributed.py:25
↓ 2 callersFunctionflatten_list
flatten_list
segmentation/apex/apex/RNN/RNNBackend.py:14
↓ 2 callersFunctionfoo
(mod, op, d)
segmentation/apex/apex/pyprof/prof/prof.py:56
↓ 2 callersFunctionfoo
(args, name)
segmentation/apex/apex/pyprof/nvtx/nvmarker.py:165
↓ 2 callersMethodfoo
(self, cadena, pformat)
segmentation/apex/apex/pyprof/prof/output.py:77
↓ 2 callersFunctionform_fname_to_updatelist_dict
Form a large dictionary mapping (parent,filename)->(update objects). Later we can check to see if this image is in our big dictionary of filename
segmentation/mseg-api/mseg/label_preparation/mseg_write_relabeled_segments.py:131
↓ 2 callersMethodgen_mixed_grad
(self, ref_param, tst_param, scale=1.0)
segmentation/apex/tests/L0/run_optimizers/test_fused_optimizer.py:36
↓ 2 callersMethodgen_test_inputs
(self, N, T, H, smoothing, padding_idx)
segmentation/apex/apex/contrib/test/test_label_smoothing.py:40
↓ 2 callersMethodgetDescritorSize
test/DBow3/src/Vocabulary.cpp:1510
↓ 2 callersFunctionget_SP
(img_paths, model, kmeans)
test/vlad_SP/main.py:23
↓ 2 callersFunctionget_configured_hrnet
Args: - n_classes: integer representing number of output classes - load_imagenet_model: whether to initialize from ImageN
segmentation/mseg-semantic/mseg_semantic/model/seg_hrnet.py:558
↓ 2 callersFunctionget_dummy_datalist
Write dummy camvid data. Expect inter [4,2,1] Expect union [7,5,1] IoUs: 4/7, 2/5, 1/1
segmentation/mseg-semantic/tests/test_accuracy_calculator.py:19
↓ 2 callersFunctionget_excluded_class_ids
Find the classes to exclude when evaluating a "relabeled" MSeg model on the val split of a training dataset. We retrieve the dictionary `id_t
segmentation/mseg-semantic/mseg_semantic/tool/test_universal_tax.py:200
↓ 2 callersMethodget_image
Returns: ndarray: the visualized image of shape (H, W, 3) (RGB) in uint8 type. The shape is scaled w.r.t the input
segmentation/mseg-api/mseg/utils/mask_utils_detectron2.py:270
↓ 2 callersMethodget_img_pair
Args: - Returns: -
segmentation/mseg-api/mseg/dataset_apis/BDDImageLevelDataset.py:81
↓ 2 callersMethodget_instance_img_fpaths
segmentation/mseg-api/mseg/dataset_apis/COCOInstanceAPI.py:61
↓ 2 callersFunctionget_mean_mask_location
Args: - mask Returns: - coordinate of mean pixel location as (x,y)
segmentation/mseg-api/mseg/utils/mask_utils.py:33
↓ 2 callersMethodget_momentums
(self, params)
segmentation/apex/apex/contrib/optimizers/fused_sgd.py:98
↓ 2 callersFunctionget_present_classes_in_img
Args: - label_img: Returns: - list of strings, representing classnames
segmentation/mseg-api/mseg/utils/mask_utils.py:1053
↓ 2 callersMethodget_present_classes_in_img
Args: - split: string representing training, validation, or testing split of the data - fname_stem: Returns: - list of strings, repre
segmentation/mseg-api/mseg/dataset_apis/COCOSemanticAPI.py:66
↓ 2 callersMethodget_segment_mask
Uses the raw version of the dataset (as originally distributed) to get a mask. Args: - seq_id: sequence ID, parent of file name in file syst
segmentation/mseg-api/mseg/dataset_apis/JsonMaskLevelDataset.py:120
↓ 2 callersFunctionhandle_item
(fieldarg, content)
segmentation/apex/docs/source/conf.py:211
↓ 2 callersFunctionhas_old_rnns
()
segmentation/apex/apex/amp/rnn_compat.py:24
↓ 2 callersFunctionimg_condition
(img_name)
segmentation/mseg-semantic/mseg_semantic/tool/inference_task.py:180
↓ 2 callersFunctionimport_flatten_impl
()
segmentation/apex/apex/parallel/distributed.py:13
↓ 2 callersFunctionisscalar
(arg)
segmentation/apex/apex/pyprof/nvtx/nvmarker.py:159
↓ 2 callersFunctionissequence
(arg)
segmentation/apex/apex/pyprof/nvtx/nvmarker.py:162
↓ 2 callersFunctionlabel_smoothing_raw
(x, target, padding_idx, smoothing)
segmentation/apex/apex/contrib/test/test_label_smoothing.py:10
↓ 2 callersMethodload_state_dict
Loads a state_dict created by an earlier call to state_dict(). If ``fp16_optimizer_instance`` was constructed from some ``init_optimi
segmentation/apex/apex/contrib/optimizers/fp16_optimizer.py:202
↓ 2 callersMethodload_state_dict
(self, state_dict)
segmentation/apex/apex/amp/opt.py:96
↓ 2 callersFunctionmaster_params_to_model_params
Copy master parameters to model parameters. Args: model_params: List of model parameters created by :func:`prep_param_lists`.
segmentation/apex/apex/fp16_utils/fp16util.py:158
↓ 2 callersFunctionmemcpy_up
test/DBow3/src/quicklz.c:202
↓ 2 callersMethodnew_like
new_like()
segmentation/apex/apex/RNN/RNNBackend.py:274
↓ 2 callersFunctionoverwrite_label_img_masks
Swap the pixel values inside a label map's mask to a new value. This effectively changes the mask's category on disk. Get fname stem from rgb ima
segmentation/mseg-api/mseg/label_preparation/mseg_write_relabeled_segments.py:274
↓ 2 callersFunctionpad_to_crop_sz
Network input should be at least crop size, so we pad using mean values if provided image is too small. No rescaling is performed here. We use cv
segmentation/mseg-semantic/mseg_semantic/tool/inference_task.py:125
↓ 2 callersMethodparams
(self)
segmentation/apex/apex/pyprof/prof/blas.py:319
↓ 2 callersFunctionparse_folder
# folder containing subfolders as 360/720/1080 Args: folder resolution scale: string representing inference scale option, either 'ss
segmentation/mseg-semantic/mseg_semantic/scripts/collect_results.py:109
↓ 2 callersFunctionpatch_forward
(old_fwd)
segmentation/apex/apex/amp/_initialize.py:194
↓ 2 callersMethodpreload
(self)
segmentation/apex/tests/L1/common/main_amp.py:275
↓ 2 callersMethodpreload
(self)
segmentation/apex/examples/imagenet/main_amp.py:276
↓ 2 callersMethodprint
test/DBow3/src/timers.h:106
↓ 2 callersMethodprint_results
Dump per-class IoUs and mIoU to stdout.
segmentation/mseg-semantic/mseg_semantic/tool/accuracy_calculator.py:262
↓ 2 callersFunctionqlz_decompress_core
test/DBow3/src/quicklz.c:552
↓ 2 callersFunctionqlz_size_compressed
test/DBow3/src/quicklz.c:186
↓ 2 callersFunctionqlz_size_decompressed
test/DBow3/src/quicklz.c:177
↓ 2 callersFunctionrandom_color
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a vec
segmentation/mseg-api/mseg/utils/fb_colormap.py:112
↓ 2 callersFunctionread_csv
Copy the data out of a csv file, as a list of OrderedDicts. Args: - csv_fpath: string representing path to a csv file. Rows: - rows: list o
segmentation/mseg-api/mseg/utils/csv_utils.py:9
↓ 2 callersFunctionread_mapillary_config_helper
segmentation/mseg-api/tests/test_MapillaryMaskDataset.py:21
↓ 2 callersFunctionread_resize_write_label
Args: - old_fpath - new_fpath Returns: - None
segmentation/mseg-api/mseg/utils/resize_util.py:68
↓ 2 callersFunctionread_resize_write_rgb
Args: - old_fpath - new_fpath Returns: - None
segmentation/mseg-api/mseg/utils/resize_util.py:54
↓ 2 callersFunctionread_rgb_and_label_tuple_file
Args: - fpath Returns: - rgb_img_fpaths - label_fpaths
segmentation/mseg-api/mseg/utils/txt_utils.py:54
↓ 2 callersFunctionread_tsv_column_vals
segmentation/mseg-api/mseg/utils/tsv_utils.py:74
↓ 2 callersFunctionrelabel_pair
No need to copy the RGB files again. We just update the label file paths. Args: - old_dataroot: - new_dataroot: - orig_pair: Tuple contain
segmentation/mseg-api/mseg/label_preparation/remap_dataset.py:135
↓ 2 callersFunctionrelu_bwd_for_dx
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:1459
↓ 2 callersFunctionremap_dataset
Given path to a dataset, given names of _names.txt Remap according to the provided tsv. (also account for the fact that 255 is always unlabeled)
segmentation/mseg-api/mseg/label_preparation/remap_dataset.py:34
↓ 2 callersMethodreset_hidden
reset_hidden()
segmentation/apex/apex/RNN/RNNBackend.py:330
↓ 2 callersFunctionrun_tests
(precision)
segmentation/apex/tests/L0/run_pyprof_nvtx/test_pyprof_nvtx.py:515
↓ 2 callersFunctionrun_universal_demo
Args: - args: - use_gpu
segmentation/mseg-semantic/mseg_semantic/tool/universal_demo.py:46
↓ 2 callersFunctionsame
test/DBow3/src/quicklz.c:56
↓ 2 callersFunctionsave_mask_triple_with_color_guide
Args: - img_rgb: Array representing 3-channel image in RGB order - label_img: Array representing grayscale image, where intensities correspond
segmentation/mseg-api/mseg/utils/mask_utils.py:665
↓ 2 callersFunctionscalar
(arg, name="")
segmentation/apex/apex/pyprof/nvtx/nvmarker.py:144
↓ 2 callersMethodscale_process_cuda
First, pad the image. If input is (384x512), then we must pad it up to shape to have shorter side "scaled base_size". Then we perform the slidi
segmentation/mseg-semantic/mseg_semantic/tool/inference_task.py:586
↓ 2 callersMethodscore
test/DBow3/src/ScoringObject.cpp:25
↓ 2 callersFunctionsearch_jittered_location_in_mask
For visualizing classnames in an image. When we wish to place text over a mask, for nonconvex regions, we cannot use mask pixel mean location (ma
segmentation/mseg-api/mseg/utils/mask_utils.py:53
↓ 2 callersFunctionsend_sublists_to_workers
Given a list of work, and a desired number of n workers, launch n worker processes that will each process 1/nth of the total work. Args: - num
segmentation/mseg-api/mseg/utils/multiprocessing_utils.py:51
↓ 2 callersMethodsetParams
(self, params)
segmentation/apex/apex/pyprof/prof/data.py:41
↓ 2 callersFunctionsimilarity_score
(image1, image2)
test/DBow3/utils/score_mix.py:8
↓ 2 callersMethodstate_dict
Returns a dict containing the current state of this :class:`FP16_Optimizer` instance. This dict contains attributes of :class:`FP16_O
segmentation/apex/apex/contrib/optimizers/fp16_optimizer.py:179
↓ 2 callersMethodstate_dict
(self)
segmentation/apex/apex/amp/opt.py:93
↓ 2 callersMethodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
segmentation/apex/apex/optimizers/fused_adam.py:89
↓ 2 callersFunctionstg
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:152
↓ 2 callersFunctiontest
(eval_set, epoch=0, write_tboard=False)
test/netvlad/main.py:176
↓ 2 callersFunctiontest_label_transform_unlabeled
Make sure 255 stays mapped to 255 at each level (to be ignored in cross-entropy loss).
segmentation/mseg-api/tests/test_taxonomy_converter.py:140
↓ 2 callersFunctiontest_oracle_taxonomy_model
Test a model that was trained in the exact same taxonomy we wish to evaluate in. Args: - args: - use_gpu
segmentation/mseg-semantic/mseg_semantic/tool/test_oracle_tax.py:64
↓ 2 callersFunctionto_xy
(point, r, cos_phi_0)
test/posenet/scratch.py:10
↓ 2 callersFunctiontrain_loop
(args, model, optimizer, step, num_steps)
segmentation/apex/apex/contrib/sparsity/test/checkpointing_test_part1.py:31
↓ 2 callersMethodtrain_step
(self, model, optimizer, data, loss_ids)
segmentation/apex/tests/L0/run_amp/test_checkpointing.py:46
↓ 2 callersMethodunscale_with_stashed
(self, model_grads, stashed_master_grads,
segmentation/apex/apex/amp/scaler.py:152
↓ 2 callersMethodupdate_metrics_cpu
Args: - pred - target - classes Returns: - None
segmentation/mseg-semantic/mseg_semantic/utils/avg_meter.py:39
↓ 2 callersFunctionvalidate
(val_loader, model, criterion)
segmentation/apex/tests/L1/common/main_amp.py:398
↓ 2 callersFunctionvalidate
(val_loader, model, criterion)
segmentation/apex/examples/imagenet/main_amp.py:413
↓ 2 callersFunctionverify_label_img_masks
Ensure pixel values inside a label map's mask were previously swapped to a new value. Mask's category on disk should have previously been changed.
segmentation/mseg-api/tests/verify_all_relabeled_segments.py:166
↓ 2 callersFunctionvstack_img_with_palette
Vertically stack an image and a palette image, placing the palette image below it. Args: - top_img - palette_img Returns: - vstack_img
segmentation/mseg-api/mseg/utils/mask_utils.py:635
↓ 2 callersMethodworstDist
test/DBow3/tests/nanoflann.hpp:133
↓ 2 callersFunctionwrite_six_img_grid_w_embedded_names
Create a 6-image tile grid with the following structure: ------------------------------------------------------------ RGB Image | Blended
segmentation/mseg-api/mseg/utils/mask_utils.py:223
↓ 2 callersFunctionwrite_txt_lines
Note that this function will add a carriage return, so please be mindful of this. Freshly loaded lines from a file will have carriage returns, b
segmentation/mseg-api/mseg/utils/txt_utils.py:38
↓ 2 callersMethodzero_grad
(self)
segmentation/apex/apex/optimizers/fused_adam.py:81
← previousnext →301–400 of 2,323, ranked by callers