MCPcopy Create free account

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

Functions646 in github.com/RizwanMunawar/yolov7-segmentation

↓ 2 callersFunctionbbox_iou
(box1, box2, xywh=True, GIoU=False, DIoU=False, CIoU=False, eps=1e-7)
utils/metrics.py:224
↓ 2 callersFunctionbox_area
(box)
utils/metrics.py:265
↓ 2 callersFunctionbox_candidates
(box1, box2, wh_thr=2, ar_thr=20, area_thr=0.1, eps=1e-16)
utils/datasets.py:1106
↓ 2 callersFunctioncheck_amp
(model)
utils/general.py:549
↓ 2 callersFunctioncheck_anchor_order
(m)
utils/autoanchor.py:18
↓ 2 callersFunctioncheck_anchors
(dataset, model, thr=4.0, imgsz=640)
utils/autoanchor.py:28
↓ 2 callersMethodcheck_and_upload_dataset
(self, opt)
utils/wandb_logging/wandb_utils.py:115
↓ 2 callersMethodcheck_and_upload_dataset
Check if the dataset format is compatible and upload it as W&B artifact arguments: opt (namespace)-- Commandline argumen
utils/loggers/wandb/wandb_utils.py:198
↓ 2 callersFunctioncheck_font
(font=FONT, progress=False)
utils/general.py:479
↓ 2 callersFunctioncheck_train_batch_size
(model, imgsz=640, amp=True)
utils/autobatch.py:15
↓ 2 callersFunctioncheck_wandb_dataset
(data_file)
utils/loggers/wandb/wandb_utils.py:43
↓ 2 callersMethodclass_result
class-aware result, return p[i], r[i], ap50[i], ap[i]
utils/segment/metrics.py:127
↓ 2 callersFunctionclean_str
(s)
utils/general.py:651
↓ 2 callersFunctioncoco80_to_coco91_class
()
utils/general.py:713
↓ 2 callersFunctionconvert_bbox_to_z
Takes a bounding box in the form [x1,y1,x2,y2] and returns z in the form [x,y,s,r] where x,y is the center of the box and s is the scale/area an
segment/sort_count.py:80
↓ 2 callersFunctionconvert_x_to_bbox
Takes a bounding box in the centre form [x,y,s,r] and returns it in the form [x1,y1,x2,y2] where x1,y1 is the top left and x2,y2 is the bot
segment/sort_count.py:92
↓ 2 callersFunctioncopy_attr
(a, b, include=(), exclude=())
utils/torch_utils.py:307
↓ 2 callersMethodcreate_dataset_table
(self, dataset, class_to_id, name='dataset')
utils/wandb_logging/wandb_utils.py:228
↓ 2 callersMethodcreate_dataset_table
Create and return W&B artifact containing W&B Table of the dataset. arguments: dataset -- instance of LoadImagesAndLabel
utils/loggers/wandb/wandb_utils.py:398
↓ 2 callersMethoddownload_dataset_artifact
(self, path, alias)
utils/wandb_logging/wandb_utils.py:159
↓ 2 callersMethoddownload_dataset_artifact
download the model checkpoint artifact if the path starts with WANDB_ARTIFACT_PREFIX arguments: path -- path of the data
utils/loggers/wandb/wandb_utils.py:267
↓ 2 callersFunctiondownload_one
(url, dir)
utils/general.py:597
↓ 2 callersFunctionemojis
(str='')
utils/general.py:278
↓ 2 callersFunctionexif_transpose
Transpose a PIL image accordingly if it has an EXIF Orientation tag. Inplace version of https://github.com/python-pillow/Pillow/blob/master
utils/dataloaders.py:68
↓ 2 callersFunctionexport_formats
()
export.py:75
↓ 2 callersMethodforward
(self, x, augment=False, profile=False, visualize=False)
models/yolo.py:297
↓ 2 callersMethodfuse
(self)
models/yolo.py:231
↓ 2 callersFunctionget_hash
(paths)
utils/dataloaders.py:50
↓ 2 callersFunctionget_latest_run
(search_dir='.')
utils/general.py:272
↓ 2 callersMethodget_maps
(self, nc)
utils/segment/metrics.py:131
↓ 2 callersFunctionget_run_info
(run_path)
utils/wandb_logging/wandb_utils.py:34
↓ 2 callersFunctionget_run_info
(run_path)
utils/loggers/wandb/wandb_utils.py:62
↓ 2 callersFunctiongithub_assets
(repository, version='latest')
utils/downloads.py:61
↓ 2 callersMethodinfer
Sanitize the graph by cleaning any unconnected nodes, do a topological resort, and fold constant inputs values. When possible, run
utils/add_nms.py:27
↓ 2 callersFunctioninit_seeds
(seed=0, deterministic=False)
utils/general.py:243
↓ 2 callersFunctionintersect_dicts
(da, db, exclude=())
utils/general.py:261
↓ 2 callersFunctionis_docker
Check if the process runs inside a docker container.
utils/general.py:80
↓ 2 callersFunctionis_kaggle
()
utils/general.py:75
↓ 2 callersFunctionis_url
(url, check_online=True)
utils/downloads.py:19
↓ 2 callersFunctionlabels_to_class_weights
(labels, nc=80)
utils/general.py:687
↓ 2 callersFunctionlabels_to_image_weights
(labels, nc=80, class_weights=np.ones(80))
utils/general.py:706
↓ 2 callersFunctionload_mosaic
(self, index)
utils/datasets.py:708
↓ 2 callersMethodload_mosaic
(self, index)
utils/dataloaders.py:695
↓ 2 callersMethodload_mosaic
(self, index)
utils/segment/dataloaders.py:207
↓ 2 callersFunctionload_mosaic9
(self, index)
utils/datasets.py:767
↓ 2 callersMethodlog_debug_samples
Log files (images) as debug samples in the ClearML task. arguments: files (List(PosixPath)) a list of file paths in Posi
utils/loggers/clearml/clearml_utils.py:108
↓ 2 callersFunctionlog_tensorboard_graph
(tb, model, imgsz=(640, 640))
utils/loggers/__init__.py:308
↓ 2 callersFunctionmain
(opt, callbacks=Callbacks())
train.py:461
↓ 2 callersFunctionmain
(opt, callbacks=Callbacks())
segment/train.py:529
↓ 2 callersMethodmap_val_table_path
(self)
utils/wandb_logging/wandb_utils.py:222
↓ 2 callersMethodmap_val_table_path
Map the validation dataset Table like name of file -> it's id in the W&B Table. Useful for - referencing artifacts for evaluation.
utils/loggers/wandb/wandb_utils.py:388
↓ 2 callersMethodmean_results
Mean of results, return mp, mr, map50, map
utils/segment/metrics.py:123
↓ 2 callersMethodmean_results
(self)
utils/segment/metrics.py:165
↓ 2 callersMethodnew_video
(self, path)
utils/dataloaders.py:264
↓ 2 callersMethodnew_video
(self, path)
utils/datasets.py:199
↓ 2 callersFunctionnotebook_init
(verbose=True)
utils/__init__.py:34
↓ 2 callersFunctionone_cycle
(y1=0.0, y2=1.0, steps=100)
utils/general.py:656
↓ 2 callersFunctionoutput_to_target
(output, max_det=300)
utils/plots.py:213
↓ 2 callersFunctionparse_opt
(known=False)
segment/train.py:479
↓ 2 callersFunctionplot_evolve
(evolve_csv='path/to/evolve.csv')
utils/plots.py:455
↓ 2 callersFunctionplot_labels
(labels, names=(), save_dir=Path(''))
utils/plots.py:381
↓ 2 callersFunctionplot_val_study
(file='', dir='', x=None)
utils/plots.py:335
↓ 2 callersFunctionpolygon2mask
Args: img_size (tuple): The image size. polygons (np.ndarray): [N, M], N is the number of polygons, M is the numb
utils/segment/dataloaders.py:274
↓ 2 callersFunctionprint_mutation
(results, hyp, save_dir, bucket, prefix=colorstr('evolve: '))
utils/general.py:1070
↓ 2 callersFunctionprocess_batch
Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (array[M, 5]), c
segment/val.py:90
↓ 2 callersFunctionprofile
YOLOv5 speed/memory/FLOPs profiler Usage: input = torch.randn(16, 3, 640, 640) m1 = lambda x: x * torch.sigmoid(x) m2
utils/torch_utils.py:150
↓ 2 callersFunctionrandom_perspective
(im, targets=(), segments=(), degrees=
utils/segment/augmentations.py:25
↓ 2 callersMethodresult
(self)
utils/plots.py:157
↓ 2 callersFunctionsafe_download
(file, url, url2=None, min_bytes=1E0, error_msg='')
utils/downloads.py:36
↓ 2 callersFunctionsave_one_box
(xyxy, im, file=Path('im.jpg'), gain=1.02, pad=10, square=False, BGR=False, save=True)
utils/plots.py:539
↓ 2 callersFunctionscale_masks
img1_shape: model input shape, [h, w] img0_shape: origin pic shape, [h, w, 3] masks: [h, w, num] resize for the most time
utils/segment/general.py:69
↓ 2 callersFunctionsegments2boxes
(segments)
utils/general.py:783
↓ 2 callersFunctionsmart_DDP
(model)
utils/torch_utils.py:54
↓ 2 callersFunctionsmart_optimizer
(model, name='Adam', lr=0.001, momentum=0.9, decay=1e-5)
utils/torch_utils.py:316
↓ 2 callersFunctionsmart_resume
(ckpt, optimizer, ema=None, weights='yolov5s.pt', epochs=300, resume=True)
utils/torch_utils.py:370
↓ 2 callersFunctionsmooth
(y, f=0.05)
utils/metrics.py:23
↓ 2 callersFunctionsmooth_BCE
(eps=0.1)
utils/loss.py:13
↓ 2 callersFunctiontrain
(hyp, opt, device, callbacks)
segment/train.py:69
↓ 2 callersMethodupdate_attr
(self, model, include=(), exclude=('process_group', 'reducer'))
utils/torch_utils.py:439
↓ 2 callersFunctionxyxy2xywhn
(x, w=640, h=640, clip=False, eps=0.0)
utils/general.py:755
↓ 1 callersMethod__call__
(self, i, bgr=False)
utils/plots.py:42
↓ 1 callersMethod__init__
(self, path, img_size=640, stride=32)
utils/datasets.py:129
↓ 1 callersMethod__iter__
(self)
utils/dataloaders.py:223
↓ 1 callersMethod__iter__
(self)
utils/datasets.py:157
↓ 1 callersMethod_clip_augmented
(self, y)
models/yolo.py:333
↓ 1 callersMethod_descale_pred
(self, p, flips, scale, img_size)
models/yolo.py:316
↓ 1 callersMethod_find_yaml
(dir)
utils/dataloaders.py:1014
↓ 1 callersMethod_forward_augment
(self, x)
models/yolo.py:302
↓ 1 callersMethod_from_detection_model
(self, model, nc=1000, cutoff=10)
models/yolo.py:370
↓ 1 callersMethod_from_yaml
(self, cfg)
models/yolo.py:385
↓ 1 callersMethod_initialize_biases
(self, cf=None)
models/yolo.py:344
↓ 1 callersMethod_load_metadata
(f='path/to/meta.yaml')
models/common.py:624
↓ 1 callersMethod_make_grid
(self, nx=20, ny=20, i=0, torch_1_10=check_version(torch.__version__, '1.10.0'))
models/yolo.py:81
↓ 1 callersMethod_make_grid
(self, nx=20, ny=20, i=0, torch_1_10=check_version(torch.__version__, '1.10.0'))
models/yolo.py:138
↓ 1 callersMethod_make_grid
(nx=20, ny=20)
models/tf.py:316
↓ 1 callersMethod_model_type
(p='path/to/model.pt')
models/common.py:612
↓ 1 callersMethod_nms
(x, topk_all=100, iou_thres=0.45, conf_thres=0.25)
models/tf.py:480
↓ 1 callersMethod_profile_one_layer
(self, m, x, dt)
models/yolo.py:218
↓ 1 callersMethod_unzip
(self, path)
utils/dataloaders.py:1024
↓ 1 callersMethod_xywh2xyxy
(xywh)
models/tf.py:464
← previousnext →101–200 of 646, ranked by callers