SYMBOL INDEX (142 symbols across 21 files) FILE: hrsc_annotation.py function convert_annotation (line 45) | def convert_annotation(year, image_id, list_file): function printTable (line 134) | def printTable(List1, List2): FILE: kmeans_for_anchors.py function cas_ratio (line 14) | def cas_ratio(box,cluster): function avg_ratio (line 21) | def avg_ratio(box,cluster): function kmeans (line 24) | def kmeans(box,k): function load_data (line 77) | def load_data(path): FILE: nets/backbone.py function autopad (line 5) | def autopad(k, p=None): class SiLU (line 10) | class SiLU(nn.Module): method forward (line 12) | def forward(x): class Conv (line 15) | class Conv(nn.Module): method __init__ (line 16) | def __init__(self, c1, c2, k=1, s=1, p=None, g=1, act=SiLU()): # ch_i... method forward (line 22) | def forward(self, x): method fuseforward (line 25) | def fuseforward(self, x): class Multi_Concat_Block (line 28) | class Multi_Concat_Block(nn.Module): method __init__ (line 29) | def __init__(self, c1, c2, c3, n=4, e=1, ids=[0]): method forward (line 41) | def forward(self, x): class MP (line 54) | class MP(nn.Module): method __init__ (line 55) | def __init__(self, k=2): method forward (line 59) | def forward(self, x): class Transition_Block (line 62) | class Transition_Block(nn.Module): method __init__ (line 63) | def __init__(self, c1, c2): method forward (line 71) | def forward(self, x): class Backbone (line 83) | class Backbone(nn.Module): method __init__ (line 84) | def __init__(self, transition_channels, block_channels, n, phi, pretra... method forward (line 129) | def forward(self, x): FILE: nets/yolo.py class SPPCSPC (line 8) | class SPPCSPC(nn.Module): method __init__ (line 10) | def __init__(self, c1, c2, n=1, shortcut=False, g=1, e=0.5, k=(5, 9, 1... method forward (line 23) | def forward(self, x): class RepConv (line 29) | class RepConv(nn.Module): method __init__ (line 32) | def __init__(self, c1, c2, k=3, s=1, p=None, g=1, act=SiLU(), deploy=F... method forward (line 58) | def forward(self, inputs): method get_equivalent_kernel_bias (line 67) | def get_equivalent_kernel_bias(self): method _pad_1x1_to_3x3_tensor (line 76) | def _pad_1x1_to_3x3_tensor(self, kernel1x1): method _fuse_bn_tensor (line 82) | def _fuse_bn_tensor(self, branch): method repvgg_convert (line 112) | def repvgg_convert(self): method fuse_conv_bn (line 119) | def fuse_conv_bn(self, conv, bn): method fuse_repvgg_block (line 141) | def fuse_repvgg_block(self): function fuse_conv_and_bn (line 192) | def fuse_conv_and_bn(conv, bn): class YoloBody (line 215) | class YoloBody(nn.Module): method __init__ (line 216) | def __init__(self, anchors_mask, num_classes, phi, pretrained=False): method fuse (line 286) | def fuse(self): method forward (line 297) | def forward(self, x): FILE: nets/yolo_training.py function smooth_BCE (line 11) | def smooth_BCE(eps=0.1): # https://github.com/ultralytics/yolov3/issues... class YOLOLoss (line 15) | class YOLOLoss(nn.Module): method __init__ (line 16) | def __init__(self, anchors, num_classes, input_shape, anchors_mask = [... method bbox_iou (line 40) | def bbox_iou(self, box1, box2, x1y1x2y2=True, GIoU=False, DIoU=False, ... method __call__ (line 81) | def __call__(self, predictions, targets, imgs): method xywh2xyxy (line 185) | def xywh2xyxy(self, x): method box_iou (line 194) | def box_iou(self, box1, box2): method build_targets (line 217) | def build_targets(self, predictions, targets, imgs): method find_3_positive (line 419) | def find_3_positive(self, predictions, targets): function is_parallel (line 523) | def is_parallel(model): function de_parallel (line 527) | def de_parallel(model): function copy_attr (line 531) | def copy_attr(a, b, include=(), exclude=()): class ModelEMA (line 539) | class ModelEMA: method __init__ (line 545) | def __init__(self, model, decay=0.9999, tau=2000, updates=0): method update (line 555) | def update(self, model): method update_attr (line 567) | def update_attr(self, model, include=(), exclude=('process_group', 're... function weights_init (line 571) | def weights_init(net, init_type='normal', init_gain = 0.02): function get_lr_scheduler (line 591) | def get_lr_scheduler(lr_decay_type, lr, min_lr, total_iters, warmup_iter... function set_optimizer_lr (line 629) | def set_optimizer_lr(optimizer, lr_scheduler_func, epoch): FILE: utils/callbacks.py class LossHistory (line 21) | class LossHistory(): method __init__ (line 22) | def __init__(self, log_dir, model, input_shape): method append_loss (line 35) | def append_loss(self, epoch, loss, val_loss): method loss_plot (line 53) | def loss_plot(self): class EvalCallback (line 80) | class EvalCallback(): method __init__ (line 81) | def __init__(self, net, input_shape, anchors, anchors_mask, class_name... method get_map_txt (line 112) | def get_map_txt(self, image_id, image, class_names, map_out_path): method on_epoch_end (line 176) | def on_epoch_end(self, epoch, model_eval): FILE: utils/dataloader.py class YoloDataset (line 12) | class YoloDataset(Dataset): method __init__ (line 13) | def __init__(self, annotation_lines, input_shape, num_classes, anchors... method __len__ (line 34) | def __len__(self): method __getitem__ (line 37) | def __getitem__(self, index): method rand (line 81) | def rand(self, a=0, b=1): method get_random_data (line 84) | def get_random_data(self, annotation_line, input_shape, jitter=.3, hue... method merge_rboxes (line 212) | def merge_rboxes(self, rboxes, cutx, cuty): method get_random_data_with_Mosaic (line 227) | def get_random_data_with_Mosaic(self, annotation_line, input_shape, ji... method get_random_data_with_MixUp (line 369) | def get_random_data_with_MixUp(self, image_1, rbox_1, image_2, rbox_2): function yolo_dataset_collate (line 381) | def yolo_dataset_collate(batch): FILE: utils/kld_loss.py class KLDloss (line 11) | class KLDloss(nn.Module): method __init__ (line 13) | def __init__(self, taf=1.0, fun="sqrt"): method forward (line 19) | def forward(self, pred, target): # pred [[x,y,w,h,angle], ...] function compute_kld_loss (line 60) | def compute_kld_loss(targets, preds,taf=1.0,fun='sqrt'): function kld_loss (line 70) | def kld_loss(pred, target, taf=1.0, fun='sqrt'): # pred [[x,y,w,h,angle... FILE: utils/nms_rotated/nms_rotated_wrapper.py function obb_nms (line 6) | def obb_nms(dets, scores, iou_thr, device_id=None): function poly_nms (line 49) | def poly_nms(dets, iou_thr, device_id=None): FILE: utils/nms_rotated/setup.py function make_cuda_ext (line 10) | def make_cuda_ext(name, module, sources, sources_cuda=[]): FILE: utils/nms_rotated/src/nms_rotated_cpu.cpp function nms_rotated_cpu_kernel (line 9) | at::Tensor nms_rotated_cpu_kernel( function nms_rotated_cpu (line 63) | at::Tensor nms_rotated_cpu( FILE: utils/nms_rotated/src/nms_rotated_ext.cpp function nms_rotated (line 25) | inline at::Tensor nms_rotated( function nms_poly (line 42) | inline at::Tensor nms_poly( function PYBIND11_MODULE (line 57) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: utils/nms_rotated/src/poly_nms_cpu.cpp function poly_nms_cpu_kernel (line 4) | at::Tensor poly_nms_cpu_kernel(const at::Tensor& dets, const float thres... FILE: utils/utils.py function cvtColor (line 9) | def cvtColor(image): function resize_image (line 19) | def resize_image(image, size, letterbox_image): function get_classes (line 37) | def get_classes(classes_path): function get_anchors (line 46) | def get_anchors(anchors_path): function get_lr (line 57) | def get_lr(optimizer): function preprocess_input (line 61) | def preprocess_input(image): function show_config (line 65) | def show_config(**kwargs): function download_weights (line 74) | def download_weights(phi, model_dir="./model_data"): FILE: utils/utils_bbox.py class DecodeBox (line 7) | class DecodeBox(): method __init__ (line 8) | def __init__(self, anchors, num_classes, input_shape, anchors_mask = [... method decode_box (line 21) | def decode_box(self, inputs): method non_max_suppression (line 123) | def non_max_suppression(self, prediction, num_classes, input_shape, im... method yolo_correct_boxes (line 189) | def yolo_correct_boxes(self, output, input_shape, image_shape, letterb... function get_anchors_and_decode (line 228) | def get_anchors_and_decode(input, input_shape, anchors, anchors_mask, nu... FILE: utils/utils_fit.py function fit_one_epoch (line 8) | def fit_one_epoch(model_train, model, ema, yolo_loss, loss_history, eval... FILE: utils/utils_map.py function iou_rotate_calculate (line 32) | def iou_rotate_calculate(boxes1, boxes2): function log_average_miss_rate (line 50) | def log_average_miss_rate(precision, fp_cumsum, num_images): function error (line 91) | def error(msg): function is_float_between_0_and_1 (line 98) | def is_float_between_0_and_1(value): function voc_ap (line 114) | def voc_ap(rec, prec): function file_lines_to_list (line 161) | def file_lines_to_list(path): function draw_text_in_image (line 172) | def draw_text_in_image(img, text, pos, color, line_width): function adjust_axes (line 189) | def adjust_axes(r, t, fig, axes): function draw_plot_func (line 204) | def draw_plot_func(dictionary, n_classes, window_title, plot_title, x_la... function get_map (line 295) | def get_map(MINOVERLAP, draw_plot, score_threhold=0.5, path = './map_out'): function preprocess_gt (line 818) | def preprocess_gt(gt_path, class_names): function preprocess_dr (line 888) | def preprocess_dr(dr_path, class_names): function get_coco_map (line 912) | def get_coco_map(class_names, path): FILE: utils/utils_rbox.py function poly2rbox (line 15) | def poly2rbox(polys): function poly2obb_np_le90 (line 42) | def poly2obb_np_le90(poly): function poly2hbb (line 66) | def poly2hbb(polys): function rbox2poly (line 102) | def rbox2poly(obboxes): function cal_line_length (line 125) | def cal_line_length(point1, point2): function get_best_begin_point_single (line 138) | def get_best_begin_point_single(coordinate): function get_best_begin_point (line 171) | def get_best_begin_point(coordinates): function correct_rboxes (line 182) | def correct_rboxes(rboxes, image_shape): FILE: utils_coco/get_map_coco.py class mAP_YOLO (line 31) | class mAP_YOLO(YOLO): method detect_image (line 35) | def detect_image(self, image_id, image, results, clsid2catid): FILE: voc_annotation.py function convert_annotation (line 45) | def convert_annotation(year, image_id, list_file): function printTable (line 129) | def printTable(List1, List2): FILE: yolo.py class YOLO (line 18) | class YOLO(object): method get_defaults (line 67) | def get_defaults(cls, n): method __init__ (line 76) | def __init__(self, **kwargs): method generate (line 101) | def generate(self, onnx=False): method detect_image (line 118) | def detect_image(self, image, crop = False, count = False): method get_FPS (line 201) | def get_FPS(self, image, test_interval): method detect_heatmap (line 251) | def detect_heatmap(self, image, heatmap_save_path): method convert_to_onnx (line 302) | def convert_to_onnx(self, simplify, model_path): method get_map_txt (line 340) | def get_map_txt(self, image_id, image, class_names, map_out_path):