MCPcopy Create free account

hub / github.com/RizwanMunawar/yolov7-segmentation / functions

Functions646 in github.com/RizwanMunawar/yolov7-segmentation

↓ 1 callersFunctionap_per_class_box_and_mask
Args: tp_b: tp of boxes. tp_m: tp of masks. other arguments see `func: ap_per_class`.
utils/segment/metrics.py:17
↓ 1 callersFunctionassociate_detections_to_trackers
Assigns detections to tracked object (both represented as bounding boxes) Returns 3 lists of 1. matches, 2. unmatched_detections
segment/sort_count.py:194
↓ 1 callersFunctionaugment_hsv
(im, hgain=0.5, sgain=0.5, vgain=0.5)
utils/augmentations.py:65
↓ 1 callersFunctionautobatch
(model, imgsz=640, fraction=0.9, batch_size=16)
utils/autobatch.py:21
↓ 1 callersFunctionbox_candidates
(box1, box2, wh_thr=2, ar_thr=100, area_thr=0.1, eps=1e-16)
utils/augmentations.py:297
↓ 1 callersMethodbuild_targets
(self, p, targets)
utils/loss.py:177
↓ 1 callersMethodbuild_targets
(self, p, targets)
utils/segment/loss.py:118
↓ 1 callersFunctionbutter_lowpass
(cutoff, fs, order)
utils/plots.py:204
↓ 1 callersMethodcache_labels
(self, path=Path('./labels.cache'), prefix='')
utils/dataloaders.py:551
↓ 1 callersMethodcache_labels
(self, path=Path('./labels.cache'), prefix='')
utils/datasets.py:470
↓ 1 callersFunctioncheck_imshow
()
utils/general.py:420
↓ 1 callersFunctioncheck_pil_font
(font=FONT, size=10)
utils/plots.py:54
↓ 1 callersFunctioncheck_python
(minimum='3.7.0')
utils/general.py:354
↓ 1 callersFunctioncheck_wandb_resume
(opt)
utils/wandb_logging/wandb_utils.py:42
↓ 1 callersMethodclass_result
(self, i)
utils/segment/metrics.py:168
↓ 1 callersFunctionclassify_albumentations
(augment=True, size=224, scale=(0.08, 1.0),
utils/augmentations.py:305
↓ 1 callersFunctionclassify_transforms
(size=224)
utils/augmentations.py:345
↓ 1 callersFunctionclip_segments
(boxes, shape)
utils/general.py:233
↓ 1 callersFunctioncompute_ap
Compute the average precision, given the recall and precision curves # Arguments recall: The recall curve (list) precision:
utils/metrics.py:98
↓ 1 callersFunctionconstruct_dataset
Load in a clearml dataset and fill the internal data_dict with its contents.
utils/loggers/clearml/clearml_utils.py:19
↓ 1 callersFunctioncopy_paste
(im, labels, segments, p=0.5)
utils/augmentations.py:238
↓ 1 callersFunctioncreate_dataset_artifact
(opt)
utils/wandb_logging/log_dataset.py:10
↓ 1 callersFunctioncreate_dataset_artifact
(opt)
utils/loggers/wandb/log_dataset.py:10
↓ 1 callersFunctioncreate_folder
(path='./new')
utils/datasets.py:1243
↓ 1 callersFunctiondenormalize
(x, mean=IMAGENET_MEAN, std=IMAGENET_STD)
utils/augmentations.py:58
↓ 1 callersFunctiondownload
(url, dir='.', unzip=True, delete=True, curl=False, threads=1, retry=3)
utils/general.py:595
↓ 1 callersMethoddownload_model_artifact
(self, opt)
utils/wandb_logging/wandb_utils.py:167
↓ 1 callersMethoddownload_model_artifact
download the model checkpoint artifact if the resume path starts with WANDB_ARTIFACT_PREFIX arguments: opt (namespace) -
utils/loggers/wandb/wandb_utils.py:287
↓ 1 callersMethoddraw_id
(self, bbox, identities=None, categories=None, names=None, offset=(0, 0))
utils/plots.py:124
↓ 1 callersMethoddraw_trk
(self,thickness,centroids)
utils/plots.py:117
↓ 1 callersMethodend_epoch
commit the log_dict, model artifacts and Tables to W&B and flush the log_dict. arguments: best_result (boolean): Boolean
utils/loggers/wandb/wandb_utils.py:526
↓ 1 callersFunctionexif_size
(img)
utils/dataloaders.py:58
↓ 1 callersFunctionexif_size
(img)
utils/datasets.py:50
↓ 1 callersFunctionexport_coreml
(model, im, file, int8, half, prefix=colorstr('CoreML:'))
export.py:199
↓ 1 callersFunctionexport_edgetpu
(file, prefix=colorstr('Edge TPU:'))
export.py:381
↓ 1 callersFunctionexport_engine
(model, im, file, half, dynamic, simplify, workspace=4, verbose=False, prefix=colorstr('TensorRT:'))
export.py:222
↓ 1 callersFunctionexport_openvino
(model, file, half, prefix=colorstr('OpenVINO:'))
export.py:183
↓ 1 callersFunctionexport_pb
(keras_model, file, prefix=colorstr('TensorFlow GraphDef:'))
export.py:333
↓ 1 callersFunctionexport_saved_model
(model, im, file, dynamic,
export.py:285
↓ 1 callersFunctionexport_tfjs
(file, prefix=colorstr('TensorFlow.js:'))
export.py:406
↓ 1 callersFunctionexport_tflite
(keras_model, im, file, int8, data, nms, agnostic_nms, prefix=colorstr('TensorFlow Lite:'))
export.py:350
↓ 1 callersFunctionexport_torchscript
(model, im, file, optimize, prefix=colorstr('TorchScript:'))
export.py:111
↓ 1 callersFunctionfeature_visualization
x: Features to be visualized module_type: Module type stage: Module stage within model n: M
utils/plots.py:162
↓ 1 callersFunctionfile_date
(path=__file__)
utils/general.py:289
↓ 1 callersMethodfinish_run
Log metrics if any and finish the current W&B run
utils/loggers/wandb/wandb_utils.py:561
↓ 1 callersMethodforward
(self, x)
models/common.py:67
↓ 1 callersMethodforward
(self, im, augment=False, visualize=False, val=False)
models/common.py:534
↓ 1 callersFunctionfuse_conv_and_bn
(conv, bn)
utils/torch_utils.py:247
↓ 1 callersMethodgetTrackers
(self,)
segment/sort_count.py:303
↓ 1 callersFunctionget_default_args
(func)
utils/general.py:266
↓ 1 callersFunctionget_hash
(files)
utils/datasets.py:45
↓ 1 callersMethodget_maps
(self, nc)
utils/segment/metrics.py:171
↓ 1 callersMethodget_state
Returns the current bounding box estimate # test arr1 = np.array([[1,2,3,4]]) arr2 = np.array([0]) arr3
segment/sort_count.py:177
↓ 1 callersFunctionget_token
(cookie="./cookie")
utils/google_utils.py:90
↓ 1 callersFunctionget_token
(cookie="./cookie")
utils/downloads.py:144
↓ 1 callersFunctiongit_describe
(path=ROOT)
utils/general.py:317
↓ 1 callersFunctiongsutil_getsize
(url='')
utils/downloads.py:30
↓ 1 callersMethodhex2rgb
(h)
utils/plots.py:47
↓ 1 callersFunctionhist2d
(x, y, n=100)
utils/plots.py:191
↓ 1 callersFunctioninitialize_weights
(model)
utils/torch_utils.py:211
↓ 1 callersFunctioniou_batch
From SORT: Computes IOU between two boxes in the form [x1,y1,x2,y2]
segment/sort_count.py:62
↓ 1 callersFunctionis_parallel
(model)
utils/torch_utils.py:201
↓ 1 callersFunctionis_writeable
(dir, test=False)
utils/general.py:91
↓ 1 callersFunctionkmean_anchors
Creates kmeans-evolved anchors from training dataset Arguments: dataset: path to data.yaml, or a loaded dataset
utils/autoanchor.py:68
↓ 1 callersFunctionlinear_assignment
(cost_matrix)
segment/sort_count.py:52
↓ 1 callersFunctionload_samples
(self, index)
utils/datasets.py:843
↓ 1 callersMethodlog_dataset_artifact
(self, data_file, single_cls, project, overwrite_config=False)
utils/wandb_logging/wandb_utils.py:193
↓ 1 callersMethodlog_dataset_artifact
Log the dataset as W&B artifact and return the new data file with W&B links arguments: data_file (str) -- the .yaml file
utils/loggers/wandb/wandb_utils.py:330
↓ 1 callersMethodlog_image_with_boxes
Draw the bounding boxes on a single image and report the result as a ClearML debug sample. arguments: image_path (PosixP
utils/loggers/clearml/clearml_utils.py:125
↓ 1 callersMethodlog_training_progress
Build evaluation Table. Uses reference from validation dataset table. arguments: predn (list): list of predictions in th
utils/loggers/wandb/wandb_utils.py:444
↓ 1 callersFunctionmain
(opt)
val.py:370
↓ 1 callersFunctionmain
(opt)
export.py:587
↓ 1 callersFunctionmain
(opt)
utils/benchmarks.py:151
↓ 1 callersFunctionmain
(opt)
segment/predict.py:277
↓ 1 callersFunctionmain
(opt)
segment/val.py:436
↓ 1 callersFunctionmain
(opt)
models/tf.py:568
↓ 1 callersMethodmap
Mean AP@0.5:0.95 of all classes. Return: float.
utils/segment/metrics.py:116
↓ 1 callersFunctionmask_iou
mask1: [N, n] m1 means number of predicted objects mask2: [M, n] m2 means number of gt objects Note: n means image_w x image_h
utils/segment/general.py:105
↓ 1 callersFunctionmasks2segments
(masks, strategy='largest')
utils/segment/general.py:131
↓ 1 callersFunctionmethods
(instance)
utils/general.py:198
↓ 1 callersFunctionmixup
(im, labels, im2, labels2)
utils/augmentations.py:289
↓ 1 callersFunctionmixup
(im, labels, segments, im2, labels2, segments2)
utils/segment/augmentations.py:16
↓ 1 callersFunctionmodel_info
(model, verbose=False, imgsz=640)
utils/torch_utils.py:270
↓ 1 callersMethodon_params_update
(self, params: dict)
utils/loggers/__init__.py:227
↓ 1 callersFunctionparse_args
Parse input arguments.
segment/sort_count.py:306
↓ 1 callersFunctionparse_model
(d, ch)
models/yolo.py:390
↓ 1 callersFunctionparse_model
(d, ch, model, imgsz)
models/tf.py:349
↓ 1 callersFunctionparse_opt
()
val.py:338
↓ 1 callersFunctionparse_opt
()
export.py:554
↓ 1 callersFunctionparse_opt
()
segment/predict.py:242
↓ 1 callersFunctionparse_opt
()
segment/val.py:404
↓ 1 callersFunctionparse_opt
()
models/tf.py:556
↓ 1 callersFunctionpastein
(image, labels, sample_labels, sample_images, sample_masks)
utils/datasets.py:1161
↓ 1 callersFunctionplot_masks
Args: img (tensor): img is in cuda, shape: [3, h, w], range: [0, 1] masks (tensor): predicted masks on cuda, shape: [n, h, w]
utils/segment/plots.py:16
↓ 1 callersFunctionplot_pr_curve
(px, py, ap, save_dir=Path('pr_curve.png'), names=())
utils/metrics.py:325
↓ 1 callersFunctionplot_results
(file='path/to/results.csv', dir='')
utils/plots.py:482
↓ 1 callersFunctionplot_results_with_masks
(file="path/to/results.csv", dir="", best=True)
utils/segment/plots.py:149
↓ 1 callersFunctionpolygons2masks
Args: img_size (tuple): The image size. polygons (list[np.ndarray]): each polygon is [N, M], N is the number of p
utils/segment/dataloaders.py:294
↓ 1 callersFunctionpolygons2masks_overlap
Return a (640, 640) overlap mask.
utils/segment/dataloaders.py:309
↓ 1 callersMethodpredict
Advances the state vector and returns the predicted bounding box estimate
segment/sort_count.py:160
← previousnext →201–300 of 646, ranked by callers