SYMBOL INDEX (4064 symbols across 564 files) FILE: DLTA_AI_app/__main__.py function main (line 18) | def main(): FILE: DLTA_AI_app/inferencing.py class models_inference (line 17) | class models_inference(): method __init__ (line 18) | def __init__(self): method full_points (line 22) | def full_points(bbox): method decode_file (line 26) | def decode_file(self, img, model, classdict, threshold=0.3, img_array_... method polegonise (line 126) | def polegonise(self, results0, results1, classdict, threshold=0.3, sho... method merge_masks (line 172) | def merge_masks(self): function count_instances (line 278) | def count_instances(annotating_models): FILE: DLTA_AI_app/labelme/app.py class MainWindow (line 67) | class MainWindow(QtWidgets.QMainWindow): method __init__ (line 73) | def __init__( method menu (line 1116) | def menu(self, title, actions=None): method toolbar (line 1122) | def toolbar(self, title, actions=None): method noShapes (line 1134) | def noShapes(self): method populateModeActions (line 1137) | def populateModeActions(self): method setDirty (line 1149) | def setDirty(self): method setClean (line 1170) | def setClean(self): method toggleActions (line 1184) | def toggleActions(self, value=True): method canvasShapeEdgeSelected (line 1191) | def canvasShapeEdgeSelected(self, selected, shape): method queueEvent (line 1196) | def queueEvent(self, function): method status (line 1199) | def status(self, message, delay=5000): method resetState (line 1202) | def resetState(self): method currentItem (line 1212) | def currentItem(self): method addRecentFile (line 1218) | def addRecentFile(self, filename): method Escape_clicked (line 1227) | def Escape_clicked(self): method undoShapeEdit (line 1241) | def undoShapeEdit(self): method toggleDrawingSensitive (line 1247) | def toggleDrawingSensitive(self, drawing=True): method toggleDrawMode (line 1256) | def toggleDrawMode(self, edit=True, createMode="polygon"): method setEditMode (line 1268) | def setEditMode(self): method updateFileMenu (line 1280) | def updateFileMenu(self): method update_models_menu (line 1297) | def update_models_menu(self): method add_tracking_models_menu (line 1319) | def add_tracking_models_menu(self): method add_certain_area_menu (line 1357) | def add_certain_area_menu(self): method update_tracking_method (line 1375) | def update_tracking_method(self, method='bytetrack'): method popLabelListMenu (line 1394) | def popLabelListMenu(self, point): method validateLabel (line 1397) | def validateLabel(self, label): method setCreateMode (line 1409) | def setCreateMode(self): method editLabel (line 1414) | def editLabel(self, item=None): method mark_as_key (line 1507) | def mark_as_key(self): method remove_all_keyframes (line 1537) | def remove_all_keyframes(self): method rec_frame_for_id (line 1545) | def rec_frame_for_id(self, id, frame, type_='add'): method interpolateMENU (line 1573) | def interpolateMENU(self, item=None): method interpolate (line 1630) | def interpolate(self, id, only_edited=False): method interpolate_with_sam (line 1725) | def interpolate_with_sam(self, idsLISTX, only_edited=False): method get_frame_by_idx (line 1854) | def get_frame_by_idx(self, frameIDX): method scaleMENU (line 1859) | def scaleMENU(self): method ctrlCopy (line 1879) | def ctrlCopy(self): method ctrlPaste (line 1890) | def ctrlPaste(self): method fileSearchChanged (line 1918) | def fileSearchChanged(self): method fileSelectionChanged (line 1925) | def fileSelectionChanged(self): method shapeSelectionChanged (line 1942) | def shapeSelectionChanged(self, selected_shapes): method addLabel (line 1962) | def addLabel(self, shape): method _get_rgb_by_label (line 1993) | def _get_rgb_by_label(self, label): method remLabels (line 2010) | def remLabels(self, shapes): method loadShapes (line 2015) | def loadShapes(self, shapes, replace=True): method loadLabels (line 2029) | def loadLabels(self, shapes, replace=True): method loadFlags (line 2064) | def loadFlags(self, flags): method saveLabels (line 2072) | def saveLabels(self, filename): method copySelectedShape (line 2129) | def copySelectedShape(self): method labelSelectionChanged (line 2136) | def labelSelectionChanged(self): method labelItemChanged (line 2148) | def labelItemChanged(self, item): method labelOrderChanged (line 2152) | def labelOrderChanged(self): method newShape (line 2158) | def newShape(self): method scrollRequest (line 2229) | def scrollRequest(self, delta, orientation): method setScroll (line 2235) | def setScroll(self, orientation, value): method setZoom (line 2239) | def setZoom(self, value): method addZoom (line 2246) | def addZoom(self, increment=1.1): method zoomRequest (line 2254) | def zoomRequest(self, delta, pos): method setFitWindow (line 2277) | def setFitWindow(self, value=True): method setFitWidth (line 2283) | def setFitWidth(self, value=True): method onNewBrightnessContrast (line 2289) | def onNewBrightnessContrast(self, qimage): method enable_show_cross_line (line 2294) | def enable_show_cross_line(self, enabled): method brightnessContrast (line 2299) | def brightnessContrast(self, value): method togglePolygons (line 2318) | def togglePolygons(self, value): method loadFile (line 2322) | def loadFile(self, filename=None): method resizeEvent (line 2464) | def resizeEvent(self, event): method paintCanvas (line 2473) | def paintCanvas(self): method adjustScale (line 2479) | def adjustScale(self, initial=False): method scaleFitWindow (line 2485) | def scaleFitWindow(self): method scaleFitWidth (line 2497) | def scaleFitWidth(self): method enableSaveImageWithData (line 2502) | def enableSaveImageWithData(self, enabled): method closeEvent (line 2506) | def closeEvent(self, event): method dragEnterEvent (line 2521) | def dragEnterEvent(self, event): method dropEvent (line 2533) | def dropEvent(self, event): method loadRecent (line 2542) | def loadRecent(self, filename): method change_curr_model (line 2546) | def change_curr_model(self, model_name): method model_explorer (line 2562) | def model_explorer(self): method openNextImg (line 2595) | def openNextImg(self, _value=False, load=True): method openFile (line 2621) | def openFile(self, _value=False): method changeOutputDirDialog (line 2663) | def changeOutputDirDialog(self, _value=False): method saveFile (line 2700) | def saveFile(self, _value=False): method exportData (line 2716) | def exportData(self): method saveFileAs (line 2853) | def saveFileAs(self, _value=False): method saveFileDialog (line 2859) | def saveFileDialog(self): method _saveFile (line 2893) | def _saveFile(self, filename): method closeFile (line 2898) | def closeFile(self, _value=False): method getLabelFile (line 2917) | def getLabelFile(self): method deleteFile (line 2925) | def deleteFile(self): method hasLabels (line 2946) | def hasLabels(self): method hasLabelFile (line 2955) | def hasLabelFile(self): method mayContinue (line 2962) | def mayContinue(self): method errorMessage (line 2984) | def errorMessage(self, title, message): method currentPath (line 2989) | def currentPath(self): method toggleKeepPrevMode (line 2992) | def toggleKeepPrevMode(self): method removeSelectedPoint (line 2995) | def removeSelectedPoint(self): method deleteSelectedShape (line 3005) | def deleteSelectedShape(self): method delete_ids_from_all_frames (line 3043) | def delete_ids_from_all_frames(self, deleted_ids, from_frame, to_frame): method copyShape (line 3070) | def copyShape(self): method moveShape (line 3123) | def moveShape(self): method openDirDialog (line 3129) | def openDirDialog(self, _value=False, dirpath=None): method imageList (line 3163) | def imageList(self): method importDroppedImageFiles (line 3170) | def importDroppedImageFiles(self, imageFiles): method importDirImages (line 3198) | def importDirImages(self, dirpath, pattern=None, load=True): method scanAllImages (line 3230) | def scanAllImages(self, folderPath): method refresh_image_MODE (line 3245) | def refresh_image_MODE(self, fromSignal=False): method annotate_one (line 3259) | def annotate_one(self, called_from_tracking=False): method annotate_batch (line 3308) | def annotate_batch(self): method setConfThreshold (line 3320) | def setConfThreshold(self): method setIOUThreshold (line 3329) | def setIOUThreshold(self): method selectClasses (line 3338) | def selectClasses(self): method mergeSegModels (line 3342) | def mergeSegModels(self): method Segment_anything (line 3351) | def Segment_anything(self): method calculate_trajectories (line 3360) | def calculate_trajectories(self, frames=None): method right_click_menu (line 3414) | def right_click_menu(self): method reset_for_new_mode (line 3465) | def reset_for_new_mode(self, mode): method openVideo (line 3487) | def openVideo(self): method openVideoFrames (line 3551) | def openVideoFrames(self): method load_shapes_for_video_frame (line 3571) | def load_shapes_for_video_frame(self, json_file_name, index): method loadFramefromVideo (line 3600) | def loadFramefromVideo(self, frame_array, index=1): method nextFrame_buttonClicked (line 3660) | def nextFrame_buttonClicked(self): method next_1_Frame_buttonClicked (line 3668) | def next_1_Frame_buttonClicked(self): method previousFrame_buttonClicked (line 3676) | def previousFrame_buttonClicked(self): method previous_1_Frame_buttonclicked (line 3683) | def previous_1_Frame_buttonclicked(self): method frames_to_skip_slider_changed (line 3690) | def frames_to_skip_slider_changed(self): method playPauseButtonClicked (line 3696) | def playPauseButtonClicked(self): method move_frame_by_frame (line 3727) | def move_frame_by_frame(self): method main_video_frames_slider_changed (line 3731) | def main_video_frames_slider_changed(self): method frames_to_track_input_changed (line 3775) | def frames_to_track_input_changed(self, text): method frames_to_track_slider_changed (line 3788) | def frames_to_track_slider_changed(self, value): method track_assigned_objects_button_clicked (line 3792) | def track_assigned_objects_button_clicked(self): method update_gui_after_tracking (line 3805) | def update_gui_after_tracking(self, index): method certain_area_clicked (line 3811) | def certain_area_clicked(self, index): method track_dropdown_changed (line 3824) | def track_dropdown_changed(self, index): method start_tracking_button_clicked (line 3827) | def start_tracking_button_clicked(self): method track_buttonClicked (line 3841) | def track_buttonClicked(self): method track_full_video_button_clicked (line 4005) | def track_full_video_button_clicked(self): method set_video_controls_visibility (line 4010) | def set_video_controls_visibility(self, visible=False): method traj_checkBox_changed (line 4025) | def traj_checkBox_changed(self): method mask_checkBox_changed (line 4034) | def mask_checkBox_changed(self): method class_checkBox_changed (line 4044) | def class_checkBox_changed(self): method conf_checkBox_changed (line 4054) | def conf_checkBox_changed(self): method id_checkBox_changed (line 4064) | def id_checkBox_changed(self): method bbox_checkBox_changed (line 4072) | def bbox_checkBox_changed(self): method polygons_visable_checkBox_changed (line 4082) | def polygons_visable_checkBox_changed(self): method export_as_video_button_clicked (line 4093) | def export_as_video_button_clicked(self, output_filename=None): method clear_video_annotations_button_clicked (line 4162) | def clear_video_annotations_button_clicked(self): method update_current_frame_annotation_button_clicked (line 4187) | def update_current_frame_annotation_button_clicked(self): method update_current_frame_annotation (line 4199) | def update_current_frame_annotation(self): method trajectory_length_lineEdit_changed (line 4239) | def trajectory_length_lineEdit_changed(self): method addVideoControls (line 4248) | def addVideoControls(self): method draw_bb_on_image (line 4542) | def draw_bb_on_image(self, image, shapes, image_qt_flag=True): method waitWindow (line 4549) | def waitWindow(self, visible=False, text=None): method set_sam_toolbar_enable (line 4560) | def set_sam_toolbar_enable(self, enable=False): method set_sam_toolbar_visibility (line 4568) | def set_sam_toolbar_visibility(self, visible=False): method addSamControls (line 4582) | def addSamControls(self): method updateSamControls (line 4750) | def updateSamControls(self): method sam_reset_button_clicked (line 4757) | def sam_reset_button_clicked(self): method sam_enhance_annotation_button_clicked (line 4761) | def sam_enhance_annotation_button_clicked(self): method sam_models (line 4798) | def sam_models(self): method sam_model_comboBox_changed (line 4810) | def sam_model_comboBox_changed(self): method sam_buttons_colors (line 4848) | def sam_buttons_colors(self, mode): method set_sam_toolbar_enable (line 4859) | def set_sam_toolbar_enable(self, setEnabled): method set_sam_toolbar_colors (line 4866) | def set_sam_toolbar_colors(self, mode): method sam_add_point_button_clicked (line 4897) | def sam_add_point_button_clicked(self): method sam_remove_point_button_clicked (line 4913) | def sam_remove_point_button_clicked(self): method sam_select_rect_button_clicked (line 4928) | def sam_select_rect_button_clicked(self): method sam_clear_annotation_button_clicked (line 4944) | def sam_clear_annotation_button_clicked(self): method sam_finish_annotation_button_clicked (line 4964) | def sam_finish_annotation_button_clicked(self): method check_sam_instance_in_shapes (line 5019) | def check_sam_instance_in_shapes(self, shapes): method run_sam_model (line 5028) | def run_sam_model(self): method turnOFF_SAM (line 5065) | def turnOFF_SAM(self): method turnON_SAM (line 5076) | def turnON_SAM(self): method sam_enhanced_bbox_segment (line 5087) | def sam_enhanced_bbox_segment(self, frameIMAGE, cur_bbox, thresh, max_... method load_objects_from_json__json (line 5119) | def load_objects_from_json__json(self): method load_objects_to_json__json (line 5125) | def load_objects_to_json__json(self, listObj): method load_objects_from_json__orjson (line 5130) | def load_objects_from_json__orjson(self): method load_objects_to_json__orjson (line 5136) | def load_objects_to_json__orjson(self, listObj): FILE: DLTA_AI_app/labelme/cli/draw_json.py function main (line 16) | def main(): FILE: DLTA_AI_app/labelme/cli/draw_label_png.py function main (line 11) | def main(): FILE: DLTA_AI_app/labelme/cli/json_to_dataset.py function main (line 14) | def main(): FILE: DLTA_AI_app/labelme/cli/on_docker.py function get_ip (line 16) | def get_ip(): function labelme_on_docker (line 36) | def labelme_on_docker(in_file, out_file): function main (line 82) | def main(): FILE: DLTA_AI_app/labelme/config/__init__.py function update_dict (line 12) | def update_dict(target_dict, new_dict, validate_item=None): function get_default_config (line 28) | def get_default_config(): function validate_config_item (line 44) | def validate_config_item(key, value): function get_config (line 61) | def get_config(config_file_or_yaml=None, config_from_args=None): FILE: DLTA_AI_app/labelme/intelligence.py class IntelligenceWorker (line 44) | class IntelligenceWorker(QThread): method __init__ (line 47) | def __init__(self, parent, images, source,multi_model_flag=False): method run (line 55) | def run(self): class Intelligence (line 85) | class Intelligence(): method __init__ (line 86) | def __init__(self, parent): method make_mm_model (line 107) | def make_mm_model(self, selected_model_name): method make_mm_model_more (line 149) | def make_mm_model_more(self, selected_model_name, config, checkpoint): method get_shapes_of_one (line 176) | def get_shapes_of_one(self, image, img_array_flag=False, multi_model_f... method get_shapes_of_batch (line 261) | def get_shapes_of_batch(self, images, multi_model_flag=False, notif = ... method updateDialog (line 268) | def updateDialog(self, completed, total): method startOperationDialog (line 276) | def startOperationDialog(self): method onProgressDialogCanceledOrCompleted (line 289) | def onProgressDialogCanceledOrCompleted(self): method clear_annotating_models (line 302) | def clear_annotating_models(self): method saveLabelFile (line 305) | def saveLabelFile(self, filename, detectedShapes): FILE: DLTA_AI_app/labelme/label_file.py function open (line 20) | def open(name, mode): class LabelFileError (line 31) | class LabelFileError(Exception): class LabelFile (line 35) | class LabelFile(object): method __init__ (line 39) | def __init__(self, filename=None): method load_image_file (line 48) | def load_image_file(filename): method load (line 70) | def load(self, filename): method _check_image_height_and_width (line 155) | def _check_image_height_and_width(imageData, imageHeight, imageWidth): method save (line 171) | def save( method is_label_file (line 211) | def is_label_file(filename): FILE: DLTA_AI_app/labelme/logger.py class ColoredFormatter (line 24) | class ColoredFormatter(logging.Formatter): method __init__ (line 25) | def __init__(self, fmt, use_color=True): method format (line 29) | def format(self, record): class ColoredLogger (line 52) | class ColoredLogger(logging.Logger): method __init__ (line 58) | def __init__(self, name): FILE: DLTA_AI_app/labelme/shape.py class Shape (line 22) | class Shape(object): method __init__ (line 47) | def __init__( method shape_type (line 85) | def shape_type(self): method shape_type (line 89) | def shape_type(self, value): method close (line 103) | def close(self): method addPoint (line 106) | def addPoint(self, point): method canAddPoint (line 112) | def canAddPoint(self): method popPoint (line 115) | def popPoint(self): method insertPoint (line 120) | def insertPoint(self, i, point): method removePoint (line 123) | def removePoint(self, i): method isClosed (line 126) | def isClosed(self): method setOpen (line 129) | def setOpen(self): method getRectFromLine (line 132) | def getRectFromLine(self, pt1, pt2): method paint (line 137) | def paint(self, painter): method drawVertex (line 193) | def drawVertex(self, path, i): method nearestVertex (line 211) | def nearestVertex(self, point, epsilon): method nearestEdge (line 221) | def nearestEdge(self, point, epsilon): method containsPoint (line 232) | def containsPoint(self, point): method getCircleRectFromLine (line 235) | def getCircleRectFromLine(self, line): method makePath (line 245) | def makePath(self): method boundingRect (line 262) | def boundingRect(self): method moveBy (line 265) | def moveBy(self, offset): method moveVertexBy (line 268) | def moveVertexBy(self, i, offset): method highlightVertex (line 271) | def highlightVertex(self, i, action): method highlightClear (line 282) | def highlightClear(self): method copy (line 286) | def copy(self): method __len__ (line 289) | def __len__(self): method __getitem__ (line 292) | def __getitem__(self, key): method __setitem__ (line 295) | def __setitem__(self, key, value): FILE: DLTA_AI_app/labelme/testing.py function assert_labelfile_sanity (line 8) | def assert_labelfile_sanity(filename): FILE: DLTA_AI_app/labelme/utils/_io.py function lblsave (line 7) | def lblsave(filename, lbl): FILE: DLTA_AI_app/labelme/utils/custom_exports.py class CustomExport (line 6) | class CustomExport: method __init__ (line 20) | def __init__(self, file_name, button_name, format, function, mode = "v... method __call__ (line 39) | def __call__(self, *args): function foo (line 88) | def foo(): function bar (line 91) | def bar(results_file, vid_width, vid_height, annotation_path): function baz (line 98) | def baz(json_paths, annotation_path): function count_objects (line 106) | def count_objects(json_paths, annotation_path): FILE: DLTA_AI_app/labelme/utils/export.py function center_of_polygon (line 11) | def center_of_polygon(polygon): function get_bbox (line 46) | def get_bbox(segmentation): function get_area_from_polygon (line 82) | def get_area_from_polygon(polygon, mode="segmentation"): function parse_img_export (line 114) | def parse_img_export(target_directory, save_path): function exportCOCO (line 138) | def exportCOCO(json_paths, annotation_path): function exportCOCOvid (line 249) | def exportCOCOvid(results_file, vid_width, vid_height, annotation_path): function exportMOT (line 353) | def exportMOT(results_file, annotation_path): class FolderDialog (line 378) | class FolderDialog(QFileDialog): method __init__ (line 388) | def __init__(self, default_file_name, default_format): FILE: DLTA_AI_app/labelme/utils/helpers/mathOps.py class ColorGen (line 30) | class ColorGen: method __init__ (line 41) | def __init__(self): method generateColors (line 44) | def generateColors(self, num, lightness, saturation): function get_bbox_xyxy (line 70) | def get_bbox_xyxy(segment): function addPoints (line 90) | def addPoints(shape, n): function reducePoints (line 137) | def reducePoints(polygon, n): function handlePoints (line 202) | def handlePoints(polygon, n): function handleTwoSegments (line 228) | def handleTwoSegments(segment1, segment2): function allign (line 250) | def allign(shape1, shape2): function centerOFmass (line 282) | def centerOFmass(points): function flattener (line 299) | def flattener(list_2d): function mapFrameToTime (line 316) | def mapFrameToTime(frameNumber, fps): function class_name_to_id (line 344) | def class_name_to_id(class_name): function compute_iou (line 364) | def compute_iou(box1, box2): function compute_iou_exact (line 400) | def compute_iou_exact(shape1, shape2): function match_detections_with_tracks (line 425) | def match_detections_with_tracks(detections, tracks, iou_threshold=0.5): function get_boxes_conf_classids_segments (line 471) | def get_boxes_conf_classids_segments(shapes): function convert_qt_shapes_to_shapes (line 511) | def convert_qt_shapes_to_shapes(qt_shapes): function convert_shapes_to_qt_shapes (line 538) | def convert_shapes_to_qt_shapes(shapes): function convert_QT_to_cv (line 566) | def convert_QT_to_cv(incomingImage): function convert_cv_to_qt (line 588) | def convert_cv_to_qt(cv_img): function SAM_rects_to_boxes (line 608) | def SAM_rects_to_boxes(rects): function SAM_points_and_labels_from_coordinates (line 633) | def SAM_points_and_labels_from_coordinates(coordinates): function load_objects_from_json__json (line 662) | def load_objects_from_json__json(json_file_name, nTotalFrames): function load_objects_to_json__json (line 689) | def load_objects_to_json__json(json_file_name, listObj): function load_objects_from_json__orjson (line 709) | def load_objects_from_json__orjson(json_file_name, nTotalFrames): function load_objects_to_json__orjson (line 734) | def load_objects_to_json__orjson(json_file_name, listObj): function scaleQTshape (line 752) | def scaleQTshape(self, originalshape, center, ratioX, ratioY): function is_id_repeated (line 786) | def is_id_repeated(self, group_id, frameIdex=-1): function checkKeyFrames (line 812) | def checkKeyFrames(ids, keyFrames): function getInterpolated (line 842) | def getInterpolated(baseObject, baseObjectFrame, nextObject, nextObjectF... function update_saved_models_json (line 877) | def update_saved_models_json(cwd): function delete_id_from_rec_and_traj (line 904) | def delete_id_from_rec_and_traj(id, id_frames_rec, trajectories, frames): function adjust_shapes_to_original_image (line 926) | def adjust_shapes_to_original_image(shapes, x1, y1, area_points): function track_area_adjustedBboex (line 945) | def track_area_adjustedBboex(area_points, dims, ratio = 0.1): function get_contour_length (line 956) | def get_contour_length(contour): function mask_to_polygons (line 961) | def mask_to_polygons(mask, n_points=25, resize_factors=[1.0, 1.0]): function polygon_to_shape (line 981) | def polygon_to_shape(polygon, score, className="SAM instance"): function OURnms_confidenceBased (line 998) | def OURnms_confidenceBased(shapes, iou_threshold=0.5): function OURnms_areaBased_fromSAM (line 1051) | def OURnms_areaBased_fromSAM(self, sam_result, iou_threshold=0.5): FILE: DLTA_AI_app/labelme/utils/helpers/visualizations.py function draw_bb_id (line 21) | def draw_bb_id(flags, image, x, y, w, h, id, conf, label, color=(0, 0, 2... function draw_trajectories (line 104) | def draw_trajectories(trajectories, CurrentFrameIndex, flags, img, shapes): function draw_bb_on_image (line 160) | def draw_bb_on_image(trajectories, CurrentFrameIndex, flags, nTotalFrame... function draw_bb_on_image_MODE (line 237) | def draw_bb_on_image_MODE(flags, image, shapes): function draw_bb_label_on_image_MODE (line 290) | def draw_bb_label_on_image_MODE(flags, image, x, y, w, h, label, conf, c... FILE: DLTA_AI_app/labelme/utils/image.py function img_data_to_pil (line 10) | def img_data_to_pil(img_data): function img_data_to_arr (line 17) | def img_data_to_arr(img_data): function img_b64_to_arr (line 23) | def img_b64_to_arr(img_b64): function img_pil_to_data (line 29) | def img_pil_to_data(img_pil): function img_arr_to_b64 (line 36) | def img_arr_to_b64(img_arr): function img_data_to_png_data (line 48) | def img_data_to_png_data(img_data): function apply_exif_orientation (line 59) | def apply_exif_orientation(image): FILE: DLTA_AI_app/labelme/utils/model_explorer.py class ModelExplorerDialog (line 15) | class ModelExplorerDialog(QDialog): method __init__ (line 25) | def __init__(self, main_window=None, mute=None, notification=None): method populate_table (line 122) | def populate_table(self): method search (line 195) | def search(self): method select_model (line 232) | def select_model(self): method download_model (line 250) | def download_model(self, id): method cancel_download (line 345) | def cancel_download(self): method create_download_callback (line 355) | def create_download_callback(self, model_id): method check_availability (line 368) | def check_availability(self): method open_checkpoints_dir (line 383) | def open_checkpoints_dir(self): FILE: DLTA_AI_app/labelme/utils/qt.py function newIcon (line 14) | def newIcon(icon): function newButton (line 19) | def newButton(text, icon=None, slot=None): function newAction (line 28) | def newAction( function addActions (line 61) | def addActions(widget, actions): function labelValidator (line 71) | def labelValidator(): class struct (line 75) | class struct(object): method __init__ (line 76) | def __init__(self, **kwargs): function distance (line 80) | def distance(p): function distancetoline (line 84) | def distancetoline(point, line): function fmtShortcut (line 98) | def fmtShortcut(text): FILE: DLTA_AI_app/labelme/utils/sam.py class Sam_Predictor (line 10) | class Sam_Predictor(): method __init__ (line 11) | def __init__(self, model_type, checkpoint_path, device): method set_new_image (line 22) | def set_new_image(self, image): method clear_logit (line 26) | def clear_logit(self): method predict (line 30) | def predict(self, point_coords=None, point_labels=None, box=None, mult... method predict_batch (line 77) | def predict_batch(self, boxes=None, image=None): method check_image (line 90) | def check_image(self , new_image): method get_all_shapes (line 100) | def get_all_shapes(self, image, iou_threshold): FILE: DLTA_AI_app/labelme/utils/shape.py function polygons_to_mask (line 11) | def polygons_to_mask(img_shape, polygons, shape_type=None): function shape_to_mask (line 19) | def shape_to_mask( function shapes_to_label (line 51) | def shapes_to_label(img_shape, shapes, label_name_to_value): function labelme_shapes_to_label (line 78) | def labelme_shapes_to_label(img_shape, shapes): function masks_to_bboxes (line 97) | def masks_to_bboxes(masks): FILE: DLTA_AI_app/labelme/utils/vid_to_frames.py class VideoFrameExtractor (line 11) | class VideoFrameExtractor(QDialog): method __init__ (line 12) | def __init__(self, mute = None, notification = None): method select_file (line 166) | def select_file(self): method update_sampling_rate (line 214) | def update_sampling_rate(self, value): method update_sampling_slider (line 219) | def update_sampling_slider(self, text): method update_start_frame (line 236) | def update_start_frame(self, value): method update_start_slider (line 241) | def update_start_slider(self, text): method update_end_frame (line 259) | def update_end_frame(self, value): method update_end_slider (line 264) | def update_end_slider(self, text): method extract_frames (line 279) | def extract_frames(self): method stop_extraction (line 290) | def stop_extraction(self): method get_time_string (line 294) | def get_time_string(self, seconds, separator=":"): method vid_to_frames (line 301) | def vid_to_frames(self, vid_path, sampling_rate, start_frame, end_frame): FILE: DLTA_AI_app/labelme/widgets/ClassesWidget.py class Classeswidget (line 7) | class Classeswidget(QtWidgets.QDialog): method __init__ (line 8) | def __init__(self): method _createQComboBox (line 15) | def _createQComboBox(self): method onNewValue (line 21) | def onNewValue(self, value): method getValue (line 24) | def getValue(self): method setValue (line 27) | def setValue(self, value): method exec (line 30) | def exec(self): FILE: DLTA_AI_app/labelme/widgets/MsgBox.py function OKmsgBox (line 4) | def OKmsgBox(title, text, type = "info", turnResult = False): FILE: DLTA_AI_app/labelme/widgets/ThresholdWidget.py class ThresholdWidget (line 6) | class ThresholdWidget(QtWidgets.QDialog): method __init__ (line 7) | def __init__(self): method _createQLineEdit (line 14) | def _createQLineEdit(self): FILE: DLTA_AI_app/labelme/widgets/brightness_contrast_dialog.py class BrightnessContrastDialog (line 10) | class BrightnessContrastDialog(QtWidgets.QDialog): method __init__ (line 11) | def __init__(self, img, callback, parent=None): method onNewValue (line 28) | def onNewValue(self, value): method _create_slider (line 40) | def _create_slider(self): FILE: DLTA_AI_app/labelme/widgets/canvas.py class Canvas (line 22) | class Canvas(QtWidgets.QWidget): method __init__ (line 48) | def __init__(self, *args, **kwargs): method fillDrawing (line 120) | def fillDrawing(self): method setFillDrawing (line 123) | def setFillDrawing(self, value): method createMode (line 127) | def createMode(self): method createMode (line 131) | def createMode(self, value): method storeShapes (line 138) | def storeShapes(self): method isShapeRestorable (line 147) | def isShapeRestorable(self): method restoreShape (line 155) | def restoreShape(self): method enterEvent (line 172) | def enterEvent(self, ev): method leaveEvent (line 175) | def leaveEvent(self, ev): method focusOutEvent (line 179) | def focusOutEvent(self, ev): method isVisible (line 182) | def isVisible(self, shape): method drawing (line 185) | def drawing(self): method editing (line 188) | def editing(self): method setEditing (line 191) | def setEditing(self, value=True): method unHighlight (line 197) | def unHighlight(self): method selectedVertex (line 206) | def selectedVertex(self): method set_show_cross_line (line 209) | def set_show_cross_line(self, enabled): method mouseMoveEvent (line 214) | def mouseMoveEvent(self, ev): method addPointToEdge (line 329) | def addPointToEdge(self): method removeSelectedPoint (line 342) | def removeSelectedPoint(self): method corrected_pos_into_pixmap (line 354) | def corrected_pos_into_pixmap(self, pos): method mousePressEvent (line 362) | def mousePressEvent(self, ev): method handle_right_click (line 418) | def handle_right_click(self, menu): method mouseReleaseEvent (line 429) | def mouseReleaseEvent(self, ev): method endMove (line 478) | def endMove(self, copy): method hideBackroundShapes (line 494) | def hideBackroundShapes(self, value): method setHiding (line 502) | def setHiding(self, enable=True): method canCloseShape (line 505) | def canCloseShape(self): method mouseDoubleClickEvent (line 508) | def mouseDoubleClickEvent(self, ev): method selectShapes (line 523) | def selectShapes(self, shapes): method selectShapePoint (line 528) | def selectShapePoint(self, point, multiple_selection_mode): method calculateOffsets (line 548) | def calculateOffsets(self, shape, point): method boundedMoveVertex (line 556) | def boundedMoveVertex(self, pos): method boundedMoveShapes (line 565) | def boundedMoveShapes(self, shapes, pos): method deSelectShape (line 590) | def deSelectShape(self): method deleteSelected (line 596) | def deleteSelected(self): method deleteShape (line 607) | def deleteShape(self, shape): method copySelectedShapes (line 615) | def copySelectedShapes(self): method boundedShiftShapes (line 622) | def boundedShiftShapes(self, shapes): method paintEvent (line 632) | def paintEvent(self, event): method transformPos (line 806) | def transformPos(self, point): method offsetToCenter (line 811) | def offsetToCenter(self): method outOfPixmap (line 820) | def outOfPixmap(self, p): method finalise (line 824) | def finalise(self, SAM_SHAPE=False): method closeEnough (line 843) | def closeEnough(self, p1, p2): method intersectionPoint (line 850) | def intersectionPoint(self, p1, p2): method intersectingEdges (line 876) | def intersectingEdges(self, point1, point2, points): method sizeHint (line 907) | def sizeHint(self): method minimumSizeHint (line 910) | def minimumSizeHint(self): method wheelEvent (line 915) | def wheelEvent(self, ev): method keyPressEvent (line 928) | def keyPressEvent(self, ev): method cancelManualDrawing (line 939) | def cancelManualDrawing(self): method setLastLabel (line 944) | def setLastLabel(self, text, flags): method undoLastLine (line 952) | def undoLastLine(self): method undoLastPoint (line 960) | def undoLastPoint(self): method loadPixmap (line 971) | def loadPixmap(self, pixmap, clear_shapes=True): method loadShapes (line 977) | def loadShapes(self, shapes, replace=True): method setShapeVisible (line 989) | def setShapeVisible(self, shape, value): method overrideCursor (line 993) | def overrideCursor(self, cursor): method restoreCursor (line 998) | def restoreCursor(self): method resetState (line 1001) | def resetState(self): FILE: DLTA_AI_app/labelme/widgets/check_updates_UI.py function PopUp (line 11) | def PopUp(): FILE: DLTA_AI_app/labelme/widgets/color_dialog.py class ColorDialog (line 4) | class ColorDialog(QtWidgets.QColorDialog): method __init__ (line 5) | def __init__(self, parent=None): method getColor (line 18) | def getColor(self, value=None, title=None, default=None): method checkRestore (line 26) | def checkRestore(self, button): FILE: DLTA_AI_app/labelme/widgets/deleteSelectedShape_UI.py function PopUp (line 6) | def PopUp(TOTAL_VIDEO_FRAMES, INDEX_OF_CURRENT_FRAME, config): FILE: DLTA_AI_app/labelme/widgets/editLabel_videoMode.py function editLabel_idChanged_UI (line 8) | def editLabel_idChanged_UI(config, old_group_id, new_group_id, id_frames... function check_duplicates_editLabel (line 55) | def check_duplicates_editLabel(id_frames_rec, old_group_id, new_group_id... function editLabel_handle_data (line 110) | def editLabel_handle_data(currFrame, listObj, function update_id_in_listObjframe (line 165) | def update_id_in_listObjframe(listObj, frame, shape, old_id, new_id = No... function update_id_in_listObjframes (line 196) | def update_id_in_listObjframes(listObj, frames, shape, old_id, new_id = ... function transfer_rec_and_traj (line 219) | def transfer_rec_and_traj(id, id_frames_rec, trajectories, frames, new_id): function reducing_Intersection (line 266) | def reducing_Intersection(Intersection): FILE: DLTA_AI_app/labelme/widgets/escapable_qlist_widget.py class EscapableQListWidget (line 5) | class EscapableQListWidget(QtWidgets.QListWidget): method keyPressEvent (line 6) | def keyPressEvent(self, event): FILE: DLTA_AI_app/labelme/widgets/exportData_UI.py function PopUp (line 15) | def PopUp(mode = "video"): FILE: DLTA_AI_app/labelme/widgets/feedback_UI.py function PopUp (line 6) | def PopUp(): FILE: DLTA_AI_app/labelme/widgets/getIDfromUser_UI.py function PopUp (line 7) | def PopUp(self, group_id, text): FILE: DLTA_AI_app/labelme/widgets/interpolation_UI.py function PopUp (line 8) | def PopUp(config): FILE: DLTA_AI_app/labelme/widgets/label_dialog.py class LabelQLineEdit (line 19) | class LabelQLineEdit(QtWidgets.QLineEdit): method setListWidget (line 20) | def setListWidget(self, list_widget): method keyPressEvent (line 23) | def keyPressEvent(self, e): class LabelDialog (line 30) | class LabelDialog(QtWidgets.QDialog): method __init__ (line 31) | def __init__( method addLabelHistory (line 178) | def addLabelHistory(self, label): method labelSelected (line 185) | def labelSelected(self, item): method validate (line 188) | def validate(self): method labelDoubleClicked (line 197) | def labelDoubleClicked(self, item): method postProcess (line 200) | def postProcess(self): method updateFlags (line 208) | def updateFlags(self, label_new): method deleteFlags (line 219) | def deleteFlags(self): method resetFlags (line 225) | def resetFlags(self, label=""): method setFlags (line 233) | def setFlags(self, flags): method getFlags (line 241) | def getFlags(self): method getGroupId (line 249) | def getGroupId(self): method getContent (line 255) | def getContent(self): method setContent (line 261) | def setContent(self, content): method popUp (line 266) | def popUp(self, text=None, move=True, flags=None, group_id=None, conte... FILE: DLTA_AI_app/labelme/widgets/label_list_widget.py class HTMLDelegate (line 10) | class HTMLDelegate(QtWidgets.QStyledItemDelegate): method __init__ (line 11) | def __init__(self, parent=None): method paint (line 15) | def paint(self, painter, option, index): method sizeHint (line 62) | def sizeHint(self, option, index): class LabelListWidgetItem (line 70) | class LabelListWidgetItem(QtGui.QStandardItem): method __init__ (line 71) | def __init__(self, text=None, shape=None): method clone (line 84) | def clone(self): method setShape (line 87) | def setShape(self, shape): method shape (line 90) | def shape(self): method __hash__ (line 93) | def __hash__(self): method __repr__ (line 96) | def __repr__(self): class StandardItemModel (line 100) | class StandardItemModel(QtGui.QStandardItemModel): method removeRows (line 104) | def removeRows(self, *args, **kwargs): class LabelListWidget (line 110) | class LabelListWidget(QtWidgets.QListView): method __init__ (line 115) | def __init__(self): method __len__ (line 132) | def __len__(self): method __getitem__ (line 135) | def __getitem__(self, i): method __iter__ (line 138) | def __iter__(self): method itemDropped (line 143) | def itemDropped(self): method itemChanged (line 147) | def itemChanged(self): method itemSelectionChangedEvent (line 150) | def itemSelectionChangedEvent(self, selected, deselected): method itemDoubleClickedEvent (line 157) | def itemDoubleClickedEvent(self, index): method selectedItems (line 160) | def selectedItems(self): method scrollToItem (line 163) | def scrollToItem(self, item): method addItem (line 166) | def addItem(self, item): method removeItem (line 172) | def removeItem(self, item): method selectItem (line 176) | def selectItem(self, item): method findItemByShape (line 180) | def findItemByShape(self, shape): method clear (line 187) | def clear(self): FILE: DLTA_AI_app/labelme/widgets/links.py function open_git_hub (line 3) | def open_git_hub(): function open_issue (line 17) | def open_issue(): function open_license (line 31) | def open_license(): function open_guide (line 45) | def open_guide(): function open_release (line 59) | def open_release(link = None): FILE: DLTA_AI_app/labelme/widgets/merge_feature_UI.py class MergeFeatureUI (line 7) | class MergeFeatureUI(): method __init__ (line 8) | def __init__(self, parent): method mergeSegModels (line 13) | def mergeSegModels(self): FILE: DLTA_AI_app/labelme/widgets/notification.py function PopUp (line 3) | def PopUp(text): FILE: DLTA_AI_app/labelme/widgets/open_file.py function PopUp (line 8) | def PopUp(): FILE: DLTA_AI_app/labelme/widgets/preferences_UI.py function PopUp (line 8) | def PopUp(): FILE: DLTA_AI_app/labelme/widgets/runtime_data_UI.py function PopUp (line 9) | def PopUp(): FILE: DLTA_AI_app/labelme/widgets/scaleObject_UI.py function PopUp (line 9) | def PopUp(self): FILE: DLTA_AI_app/labelme/widgets/segmentation_options_UI.py class SegmentationOptionsUI (line 22) | class SegmentationOptionsUI(): method __init__ (line 23) | def __init__(self, parent): method setConfThreshold (line 43) | def setConfThreshold(self, prev_threshold=0.3): method setIOUThreshold (line 97) | def setIOUThreshold(self, prev_threshold=0.5): method selectClasses (line 152) | def selectClasses(self): method saveClasses (line 251) | def saveClasses(self, dialog, is_default=False): method selectAll (line 282) | def selectAll(self): method deselectAll (line 292) | def deselectAll(self): FILE: DLTA_AI_app/labelme/widgets/shortcut_selector_UI.py function PopUp (line 5) | def PopUp(): FILE: DLTA_AI_app/labelme/widgets/tool_bar.py class ToolBar (line 5) | class ToolBar(QtWidgets.QToolBar): method __init__ (line 6) | def __init__(self, title): method addAction (line 15) | def addAction(self, action): FILE: DLTA_AI_app/labelme/widgets/unique_label_qlist_widget.py class UniqueLabelQListWidget (line 9) | class UniqueLabelQListWidget(EscapableQListWidget): method mousePressEvent (line 10) | def mousePressEvent(self, event): method findItemsByLabel (line 15) | def findItemsByLabel(self, label): method createItemFromLabel (line 23) | def createItemFromLabel(self, label): method setItemLabel (line 28) | def setItemLabel(self, item, label, color=None): FILE: DLTA_AI_app/labelme/widgets/zoom_widget.py class ZoomWidget (line 6) | class ZoomWidget(QtWidgets.QSpinBox): method __init__ (line 7) | def __init__(self, value=100): method minimumSizeHint (line 17) | def minimumSizeHint(self): FILE: DLTA_AI_app/mmdetection/.dev_scripts/benchmark_filter.py function parse_args (line 7) | def parse_args(): function main (line 132) | def main(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/benchmark_inference_fps.py function parse_args (line 14) | def parse_args(): function results2markdown (line 62) | def results2markdown(result_dict): FILE: DLTA_AI_app/mmdetection/.dev_scripts/benchmark_test_image.py function parse_args (line 12) | def parse_args(): function inference_model (line 33) | def inference_model(config_name, checkpoint, args, logger=None): function main (line 60) | def main(args): FILE: DLTA_AI_app/mmdetection/.dev_scripts/check_links.py function parse_args (line 17) | def parse_args(): class MatchTuple (line 47) | class MatchTuple(NamedTuple): function check_link (line 53) | def check_link( function check_url (line 69) | def check_url(match_tuple: MatchTuple, function check_path (line 83) | def check_path(match_tuple: MatchTuple) -> bool: function main (line 91) | def main(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/convert_test_benchmark_script.py function parse_args (line 9) | def parse_args(): function process_model_info (line 27) | def process_model_info(model_info, work_dir): function create_test_bash_info (line 46) | def create_test_bash_info(commands, model_test_dict, port, script_name, function main (line 74) | def main(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/convert_train_benchmark_script.py function parse_args (line 7) | def parse_args(): function main (line 31) | def main(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/gather_models.py function ordered_yaml_dump (line 15) | def ordered_yaml_dump(data, stream=None, Dumper=yaml.SafeDumper, **kwds): function process_checkpoint (line 28) | def process_checkpoint(in_file, out_file): function is_by_epoch (line 51) | def is_by_epoch(config): function get_final_epoch_or_iter (line 56) | def get_final_epoch_or_iter(config): function get_best_epoch_or_iter (line 64) | def get_best_epoch_or_iter(exp_dir): function get_real_epoch_or_iter (line 73) | def get_real_epoch_or_iter(config): function get_final_results (line 84) | def get_final_results(log_json_path, function get_dataset_name (line 132) | def get_dataset_name(config): function convert_model_info_to_pwc (line 149) | def convert_model_info_to_pwc(model_infos): function parse_args (line 208) | def parse_args(): function main (line 225) | def main(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/gather_test_benchmark_metric.py function parse_args (line 10) | def parse_args(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/gather_train_benchmark_metric.py function parse_args (line 20) | def parse_args(): FILE: DLTA_AI_app/mmdetection/.dev_scripts/test_init_backbone.py function _get_config_directory (line 14) | def _get_config_directory(): function _get_config_module (line 29) | def _get_config_module(fname): function _get_detector_cfg (line 38) | def _get_detector_cfg(fname): function _traversed_config_file (line 49) | def _traversed_config_file(): function _check_backbone (line 90) | def _check_backbone(config, print_cfg=True): function test_load_pretrained (line 152) | def test_load_pretrained(config): function _test_load_pretrained (line 161) | def _test_load_pretrained(): FILE: DLTA_AI_app/mmdetection/docs/en/conf.py function get_version (line 29) | def get_version(): function builder_inited_handler (line 111) | def builder_inited_handler(app): function setup (line 115) | def setup(app): FILE: DLTA_AI_app/mmdetection/docs/zh_cn/conf.py function get_version (line 29) | def get_version(): function builder_inited_handler (line 113) | def builder_inited_handler(app): function setup (line 117) | def setup(app): FILE: DLTA_AI_app/mmdetection/mmdet/__init__.py function digit_version (line 7) | def digit_version(version_str): FILE: DLTA_AI_app/mmdetection/mmdet/apis/inference.py function init_detector (line 18) | def init_detector(config, checkpoint=None, device='cuda:0', cfg_options=... class LoadImage (line 66) | class LoadImage: method __call__ (line 72) | def __call__(self, results): function inference_detector (line 99) | def inference_detector(model, imgs): function async_inference_detector (line 165) | async def async_inference_detector(model, imgs): function show_result_pyplot (line 222) | def show_result_pyplot(model, FILE: DLTA_AI_app/mmdetection/mmdet/apis/test.py function single_gpu_test (line 17) | def single_gpu_test(model, function multi_gpu_test (line 81) | def multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=False): function collect_results_cpu (line 136) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 179) | def collect_results_gpu(result_part, size): FILE: DLTA_AI_app/mmdetection/mmdet/apis/train.py function init_random_seed (line 19) | def init_random_seed(seed=None, device='cuda'): function set_random_seed (line 52) | def set_random_seed(seed, deterministic=False): function auto_scale_lr (line 71) | def auto_scale_lr(cfg, distributed, logger): function train_detector (line 117) | def train_detector(model, FILE: DLTA_AI_app/mmdetection/mmdet/core/anchor/anchor_generator.py class AnchorGenerator (line 13) | class AnchorGenerator: method __init__ (line 61) | def __init__(self, method num_base_anchors (line 116) | def num_base_anchors(self): method num_base_priors (line 121) | def num_base_priors(self): method num_levels (line 127) | def num_levels(self): method gen_base_anchors (line 131) | def gen_base_anchors(self): method gen_single_level_base_anchors (line 151) | def gen_single_level_base_anchors(self, method _meshgrid (line 196) | def _meshgrid(self, x, y, row_major=True): method grid_priors (line 216) | def grid_priors(self, featmap_sizes, dtype=torch.float32, device='cuda'): method single_level_grid_priors (line 241) | def single_level_grid_priors(self, method sparse_priors (line 283) | def sparse_priors(self, method grid_anchors (line 318) | def grid_anchors(self, featmap_sizes, device='cuda'): method single_level_grid_anchors (line 347) | def single_level_grid_anchors(self, method valid_flags (line 392) | def valid_flags(self, featmap_sizes, pad_shape, device='cuda'): method single_level_valid_flags (line 419) | def single_level_valid_flags(self, method __repr__ (line 451) | def __repr__(self): class SSDAnchorGenerator (line 471) | class SSDAnchorGenerator(AnchorGenerator): method __init__ (line 492) | def __init__(self, method gen_base_anchors (line 571) | def gen_base_anchors(self): method __repr__ (line 592) | def __repr__(self): class LegacyAnchorGenerator (line 610) | class LegacyAnchorGenerator(AnchorGenerator): method gen_single_level_base_anchors (line 658) | def gen_single_level_base_anchors(self, class LegacySSDAnchorGenerator (line 709) | class LegacySSDAnchorGenerator(SSDAnchorGenerator, LegacyAnchorGenerator): method __init__ (line 716) | def __init__(self, class YOLOAnchorGenerator (line 734) | class YOLOAnchorGenerator(AnchorGenerator): method __init__ (line 744) | def __init__(self, strides, base_sizes): method num_levels (line 757) | def num_levels(self): method gen_base_anchors (line 761) | def gen_base_anchors(self): method gen_single_level_base_anchors (line 778) | def gen_single_level_base_anchors(self, base_sizes_per_level, center=N... method responsible_flags (line 806) | def responsible_flags(self, featmap_sizes, gt_bboxes, device='cuda'): method single_level_responsible_flags (line 831) | def single_level_responsible_flags(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/anchor/builder.py function build_prior_generator (line 11) | def build_prior_generator(cfg, default_args=None): function build_anchor_generator (line 15) | def build_anchor_generator(cfg, default_args=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/anchor/point_generator.py class PointGenerator (line 10) | class PointGenerator: method _meshgrid (line 12) | def _meshgrid(self, x, y, row_major=True): method grid_points (line 20) | def grid_points(self, featmap_size, stride=16, device='cuda'): method valid_flags (line 30) | def valid_flags(self, featmap_size, valid_size, device='cuda'): class MlvlPointGenerator (line 44) | class MlvlPointGenerator: method __init__ (line 55) | def __init__(self, strides, offset=0.5): method num_levels (line 60) | def num_levels(self): method num_base_priors (line 65) | def num_base_priors(self): method _meshgrid (line 70) | def _meshgrid(self, x, y, row_major=True): method grid_priors (line 80) | def grid_priors(self, method single_level_grid_priors (line 119) | def single_level_grid_priors(self, method valid_flags (line 177) | def valid_flags(self, featmap_sizes, pad_shape, device='cuda'): method single_level_valid_flags (line 205) | def single_level_valid_flags(self, method sparse_priors (line 234) | def sparse_priors(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/anchor/utils.py function images_to_levels (line 5) | def images_to_levels(target, num_levels): function anchor_inside_flags (line 21) | def anchor_inside_flags(flat_anchors, function calc_region (line 50) | def calc_region(bbox, ratio, featmap_size=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/approx_max_iou_assigner.py class ApproxMaxIoUAssigner (line 10) | class ApproxMaxIoUAssigner(MaxIoUAssigner): method __init__ (line 40) | def __init__(self, method assign (line 60) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/assign_result.py class AssignResult (line 7) | class AssignResult(util_mixins.NiceRepr): method __init__ (line 43) | def __init__(self, num_gts, gt_inds, max_overlaps, labels=None): method num_preds (line 52) | def num_preds(self): method set_extra_property (line 56) | def set_extra_property(self, key, value): method get_extra_property (line 61) | def get_extra_property(self, key): method info (line 66) | def info(self): method __nice__ (line 78) | def __nice__(self): method random (line 98) | def random(cls, **kwargs): method add_gt_ (line 192) | def add_gt_(self, gt_labels): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/atss_assigner.py class ATSSAssigner (line 13) | class ATSSAssigner(BaseAssigner): method __init__ (line 29) | def __init__(self, method assign (line 52) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/base_assigner.py class BaseAssigner (line 5) | class BaseAssigner(metaclass=ABCMeta): method assign (line 9) | def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=N... FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/center_region_assigner.py function scale_boxes (line 10) | def scale_boxes(bboxes, scale): function is_located_in (line 37) | def is_located_in(points, bboxes): function bboxes_area (line 55) | def bboxes_area(bboxes): class CenterRegionAssigner (line 72) | class CenterRegionAssigner(BaseAssigner): method __init__ (line 94) | def __init__(self, method get_gt_priorities (line 108) | def get_gt_priorities(self, gt_bboxes): method assign (line 126) | def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=N... method assign_one_hot_gt_indices (line 257) | def assign_one_hot_gt_indices(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/grid_assigner.py class GridAssigner (line 11) | class GridAssigner(BaseAssigner): method __init__ (line 31) | def __init__(self, method assign (line 43) | def assign(self, bboxes, box_responsible_flags, gt_bboxes, gt_labels=N... FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/hungarian_assigner.py class HungarianAssigner (line 13) | class HungarianAssigner(BaseAssigner): method __init__ (line 41) | def __init__(self, method assign (line 49) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/mask_hungarian_assigner.py class MaskHungarianAssigner (line 12) | class MaskHungarianAssigner(BaseAssigner): method __init__ (line 33) | def __init__(self, method assign (line 42) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/max_iou_assigner.py class MaxIoUAssigner (line 11) | class MaxIoUAssigner(BaseAssigner): method __init__ (line 46) | def __init__(self, method assign (line 66) | def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=N... method assign_wrt_overlaps (line 133) | def assign_wrt_overlaps(self, overlaps, gt_labels=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/point_assigner.py class PointAssigner (line 10) | class PointAssigner(BaseAssigner): method __init__ (line 20) | def __init__(self, scale=4, pos_num=3): method assign (line 24) | def assign(self, points, gt_bboxes, gt_bboxes_ignore=None, gt_labels=N... FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/region_assigner.py function calc_region (line 10) | def calc_region(bbox, ratio, stride, featmap_size=None): function anchor_ctr_inside_region_flags (line 27) | def anchor_ctr_inside_region_flags(anchors, stride, region): class RegionAssigner (line 38) | class RegionAssigner(BaseAssigner): method __init__ (line 54) | def __init__(self, center_ratio=0.2, ignore_ratio=0.5): method assign (line 58) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/sim_ota_assigner.py class SimOTAAssigner (line 14) | class SimOTAAssigner(BaseAssigner): method __init__ (line 28) | def __init__(self, method assign (line 38) | def assign(self, method _assign (line 95) | def _assign(self, method get_in_gt_and_in_center_info (line 186) | def get_in_gt_and_in_center_info(self, priors, gt_bboxes): method dynamic_k_matching (line 230) | def dynamic_k_matching(self, cost, pairwise_ious, num_gt, valid_mask): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/task_aligned_assigner.py class TaskAlignedAssigner (line 13) | class TaskAlignedAssigner(BaseAssigner): method __init__ (line 31) | def __init__(self, topk, iou_calculator=dict(type='BboxOverlaps2D')): method assign (line 36) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/assigners/uniform_assigner.py class UniformAssigner (line 12) | class UniformAssigner(BaseAssigner): method __init__ (line 25) | def __init__(self, method assign (line 35) | def assign(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/builder.py function build_assigner (line 9) | def build_assigner(cfg, **default_args): function build_sampler (line 14) | def build_sampler(cfg, **default_args): function build_bbox_coder (line 19) | def build_bbox_coder(cfg, **default_args): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/base_bbox_coder.py class BaseBBoxCoder (line 5) | class BaseBBoxCoder(metaclass=ABCMeta): method __init__ (line 8) | def __init__(self, **kwargs): method encode (line 12) | def encode(self, bboxes, gt_bboxes): method decode (line 16) | def decode(self, bboxes, bboxes_pred): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/bucketing_bbox_coder.py class BucketingBBoxCoder (line 13) | class BucketingBBoxCoder(BaseBBoxCoder): method __init__ (line 35) | def __init__(self, method encode (line 50) | def encode(self, bboxes, gt_bboxes): method decode (line 72) | def decode(self, bboxes, pred_bboxes, max_shape=None): function generat_buckets (line 96) | def generat_buckets(proposals, num_buckets, scale_factor=1.0): function bbox2bucket (line 145) | def bbox2bucket(proposals, function bucket2bbox (line 269) | def bucket2bbox(proposals, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/delta_xywh_bbox_coder.py class DeltaXYWHBBoxCoder (line 13) | class DeltaXYWHBBoxCoder(BaseBBoxCoder): method __init__ (line 34) | def __init__(self, method encode (line 47) | def encode(self, bboxes, gt_bboxes): method decode (line 65) | def decode(self, function bbox2delta (line 118) | def bbox2delta(proposals, gt, means=(0., 0., 0., 0.), stds=(1., 1., 1., ... function delta2bbox (line 164) | def delta2bbox(rois, function onnx_delta2bbox (line 263) | def onnx_delta2bbox(rois, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/distance_point_bbox_coder.py class DistancePointBBoxCoder (line 8) | class DistancePointBBoxCoder(BaseBBoxCoder): method __init__ (line 19) | def __init__(self, clip_border=True): method encode (line 23) | def encode(self, points, gt_bboxes, max_dis=None, eps=0.1): method decode (line 41) | def decode(self, points, pred_bboxes, max_shape=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/legacy_delta_xywh_bbox_coder.py class LegacyDeltaXYWHBBoxCoder (line 11) | class LegacyDeltaXYWHBBoxCoder(BaseBBoxCoder): method __init__ (line 34) | def __init__(self, method encode (line 41) | def encode(self, bboxes, gt_bboxes): method decode (line 59) | def decode(self, function legacy_bbox2delta (line 85) | def legacy_bbox2delta(proposals, function legacy_delta2bbox (line 134) | def legacy_delta2bbox(rois, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/pseudo_bbox_coder.py class PseudoBBoxCoder (line 7) | class PseudoBBoxCoder(BaseBBoxCoder): method __init__ (line 10) | def __init__(self, **kwargs): method encode (line 13) | def encode(self, bboxes, gt_bboxes): method decode (line 17) | def decode(self, bboxes, pred_bboxes): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/tblr_bbox_coder.py class TBLRBBoxCoder (line 10) | class TBLRBBoxCoder(BaseBBoxCoder): method __init__ (line 26) | def __init__(self, normalizer=4.0, clip_border=True): method encode (line 31) | def encode(self, bboxes, gt_bboxes): method decode (line 50) | def decode(self, bboxes, pred_bboxes, max_shape=None): function bboxes2tblr (line 77) | def bboxes2tblr(priors, gts, normalizer=4.0, normalize_by_wh=True): function tblr2bboxes (line 124) | def tblr2bboxes(priors, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/coder/yolo_bbox_coder.py class YOLOBBoxCoder (line 10) | class YOLOBBoxCoder(BaseBBoxCoder): method __init__ (line 22) | def __init__(self, eps=1e-6): method encode (line 27) | def encode(self, bboxes, gt_bboxes, stride): method decode (line 62) | def decode(self, bboxes, pred_bboxes, stride): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/demodata.py function random_boxes (line 8) | def random_boxes(num=1, scale=1, rng=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/iou_calculators/builder.py function build_iou_calculator (line 7) | def build_iou_calculator(cfg, default_args=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/iou_calculators/iou2d_calculator.py function cast_tensor_type (line 7) | def cast_tensor_type(x, scale=1., dtype=None): function fp16_clamp (line 14) | def fp16_clamp(x, min=None, max=None): class BboxOverlaps2D (line 23) | class BboxOverlaps2D: method __init__ (line 26) | def __init__(self, scale=1., dtype=None): method __call__ (line 30) | def __call__(self, bboxes1, bboxes2, mode='iou', is_aligned=False): method __repr__ (line 67) | def __repr__(self): function bbox_overlaps (line 74) | def bbox_overlaps(bboxes1, bboxes2, mode='iou', is_aligned=False, eps=1e... FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/match_costs/builder.py function build_match_cost (line 7) | def build_match_cost(cfg, default_args=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/match_costs/match_cost.py class BBoxL1Cost (line 11) | class BBoxL1Cost: method __init__ (line 29) | def __init__(self, weight=1., box_format='xyxy'): method __call__ (line 34) | def __call__(self, bbox_pred, gt_bboxes): class FocalLossCost (line 55) | class FocalLossCost: method __init__ (line 80) | def __init__(self, method _focal_loss_cost (line 92) | def _focal_loss_cost(self, cls_pred, gt_labels): method _mask_focal_loss_cost (line 111) | def _mask_focal_loss_cost(self, cls_pred, gt_labels): method __call__ (line 136) | def __call__(self, cls_pred, gt_labels): class ClassificationCost (line 153) | class ClassificationCost: method __init__ (line 174) | def __init__(self, weight=1.): method __call__ (line 177) | def __call__(self, cls_pred, gt_labels): class IoUCost (line 197) | class IoUCost: method __init__ (line 215) | def __init__(self, iou_mode='giou', weight=1.): method __call__ (line 219) | def __call__(self, bboxes, gt_bboxes): class DiceCost (line 239) | class DiceCost: method __init__ (line 254) | def __init__(self, weight=1., pred_act=False, eps=1e-3, naive_dice=True): method binary_mask_dice_loss (line 260) | def binary_mask_dice_loss(self, mask_preds, gt_masks): method __call__ (line 283) | def __call__(self, mask_preds, gt_masks): class CrossEntropyLossCost (line 299) | class CrossEntropyLossCost: method __init__ (line 315) | def __init__(self, weight=1., use_sigmoid=True): method _binary_cross_entropy (line 320) | def _binary_cross_entropy(self, cls_pred, gt_labels): method __call__ (line 344) | def __call__(self, cls_pred, gt_labels): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/base_sampler.py class BaseSampler (line 9) | class BaseSampler(metaclass=ABCMeta): method __init__ (line 12) | def __init__(self, method _sample_pos (line 26) | def _sample_pos(self, assign_result, num_expected, **kwargs): method _sample_neg (line 31) | def _sample_neg(self, assign_result, num_expected, **kwargs): method sample (line 35) | def sample(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/combined_sampler.py class CombinedSampler (line 7) | class CombinedSampler(BaseSampler): method __init__ (line 10) | def __init__(self, pos_sampler, neg_sampler, **kwargs): method _sample_pos (line 15) | def _sample_pos(self, **kwargs): method _sample_neg (line 19) | def _sample_neg(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/instance_balanced_pos_sampler.py class InstanceBalancedPosSampler (line 10) | class InstanceBalancedPosSampler(RandomSampler): method _sample_pos (line 14) | def _sample_pos(self, assign_result, num_expected, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/iou_balanced_neg_sampler.py class IoUBalancedNegSampler (line 10) | class IoUBalancedNegSampler(RandomSampler): method __init__ (line 30) | def __init__(self, method sample_via_interval (line 47) | def sample_via_interval(self, max_overlaps, full_set, num_expected): method _sample_neg (line 89) | def _sample_neg(self, assign_result, num_expected, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/mask_pseudo_sampler.py class MaskPseudoSampler (line 13) | class MaskPseudoSampler(BaseSampler): method __init__ (line 16) | def __init__(self, **kwargs): method _sample_pos (line 19) | def _sample_pos(self, **kwargs): method _sample_neg (line 23) | def _sample_neg(self, **kwargs): method sample (line 27) | def sample(self, assign_result, masks, gt_masks, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/mask_sampling_result.py class MaskSamplingResult (line 10) | class MaskSamplingResult(SamplingResult): method __init__ (line 13) | def __init__(self, pos_inds, neg_inds, masks, gt_masks, assign_result, method masks (line 37) | def masks(self): method __nice__ (line 41) | def __nice__(self): method info (line 50) | def info(self): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/ohem_sampler.py class OHEMSampler (line 10) | class OHEMSampler(BaseSampler): method __init__ (line 16) | def __init__(self, method hard_mining (line 34) | def hard_mining(self, inds, num_expected, bboxes, labels, feats): method _sample_pos (line 55) | def _sample_pos(self, method _sample_neg (line 83) | def _sample_neg(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/pseudo_sampler.py class PseudoSampler (line 10) | class PseudoSampler(BaseSampler): method __init__ (line 13) | def __init__(self, **kwargs): method _sample_pos (line 16) | def _sample_pos(self, **kwargs): method _sample_neg (line 20) | def _sample_neg(self, **kwargs): method sample (line 24) | def sample(self, assign_result, bboxes, gt_bboxes, *args, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/random_sampler.py class RandomSampler (line 9) | class RandomSampler(BaseSampler): method __init__ (line 21) | def __init__(self, method random_choice (line 32) | def random_choice(self, gallery, num): method _sample_pos (line 64) | def _sample_pos(self, assign_result, num_expected, **kwargs): method _sample_neg (line 74) | def _sample_neg(self, assign_result, num_expected, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/sampling_result.py class SamplingResult (line 7) | class SamplingResult(util_mixins.NiceRepr): method __init__ (line 26) | def __init__(self, pos_inds, neg_inds, bboxes, gt_bboxes, assign_result, method bboxes (line 53) | def bboxes(self): method to (line 57) | def to(self, device): method __nice__ (line 72) | def __nice__(self): method info (line 81) | def info(self): method random (line 94) | def random(cls, rng=None, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/samplers/score_hlr_sampler.py class ScoreHLRSampler (line 12) | class ScoreHLRSampler(BaseSampler): method __init__ (line 33) | def __init__(self, method random_choice (line 63) | def random_choice(gallery, num): method _sample_pos (line 92) | def _sample_pos(self, assign_result, num_expected, **kwargs): method _sample_neg (line 100) | def _sample_neg(self, method sample (line 216) | def sample(self, FILE: DLTA_AI_app/mmdetection/mmdet/core/bbox/transforms.py function find_inside_bboxes (line 6) | def find_inside_bboxes(bboxes, img_h, img_w): function bbox_flip (line 22) | def bbox_flip(bboxes, img_shape, direction='horizontal'): function bbox_mapping (line 51) | def bbox_mapping(bboxes, function bbox_mapping_back (line 63) | def bbox_mapping_back(bboxes, function bbox2roi (line 75) | def bbox2roi(bbox_list): function roi2bbox (line 97) | def roi2bbox(rois): function bbox2result (line 116) | def bbox2result(bboxes, labels, num_classes): function distance2bbox (line 136) | def distance2bbox(points, distance, max_shape=None): function bbox2distance (line 189) | def bbox2distance(points, bbox, max_dis=None, eps=0.1): function bbox_rescale (line 213) | def bbox_rescale(bboxes, scale_factor=1.0): function bbox_cxcywh_to_xyxy (line 245) | def bbox_cxcywh_to_xyxy(bbox): function bbox_xyxy_to_cxcywh (line 259) | def bbox_xyxy_to_cxcywh(bbox): FILE: DLTA_AI_app/mmdetection/mmdet/core/data_structures/general_data.py class GeneralData (line 10) | class GeneralData(NiceRepr): method __init__ (line 87) | def __init__(self, meta_info=None, data=None): method set_meta_info (line 97) | def set_meta_info(self, meta_info): method set_data (line 129) | def set_data(self, data): method new (line 141) | def new(self, meta_info=None, data=None): method keys (line 159) | def keys(self): method meta_info_keys (line 166) | def meta_info_keys(self): method values (line 173) | def values(self): method meta_info_values (line 180) | def meta_info_values(self): method items (line 187) | def items(self): method meta_info_items (line 191) | def meta_info_items(self): method __setattr__ (line 195) | def __setattr__(self, name, val): method __delattr__ (line 211) | def __delattr__(self, item): method __getitem__ (line 228) | def __getitem__(self, name): method get (line 231) | def get(self, *args): method pop (line 235) | def pop(self, *args): method __contains__ (line 252) | def __contains__(self, item): method to (line 257) | def to(self, *args, **kwargs): method cpu (line 267) | def cpu(self): method npu (line 277) | def npu(self): method mlu (line 287) | def mlu(self): method cuda (line 297) | def cuda(self): method detach (line 307) | def detach(self): method numpy (line 317) | def numpy(self): method __nice__ (line 326) | def __nice__(self): FILE: DLTA_AI_app/mmdetection/mmdet/core/data_structures/instance_data.py class InstanceData (line 10) | class InstanceData(GeneralData): method __setattr__ (line 66) | def __setattr__(self, name, value): method __getitem__ (line 90) | def __getitem__(self, item): method cat (line 151) | def cat(instances_list): method __len__ (line 183) | def __len__(self): FILE: DLTA_AI_app/mmdetection/mmdet/core/evaluation/bbox_overlaps.py function bbox_overlaps (line 5) | def bbox_overlaps(bboxes1, FILE: DLTA_AI_app/mmdetection/mmdet/core/evaluation/class_names.py function wider_face_classes (line 5) | def wider_face_classes(): function voc_classes (line 9) | def voc_classes(): function imagenet_det_classes (line 17) | def imagenet_det_classes(): function imagenet_vid_classes (line 58) | def imagenet_vid_classes(): function coco_classes (line 68) | def coco_classes(): function cityscapes_classes (line 86) | def cityscapes_classes(): function oid_challenge_classes (line 93) | def oid_challenge_classes(): function oid_v6_classes (line 188) | def oid_v6_classes(): function get_classes (line 318) | def get_classes(dataset): FILE: DLTA_AI_app/mmdetection/mmdet/core/evaluation/eval_hooks.py function _calc_dynamic_intervals (line 12) | def _calc_dynamic_intervals(start_interval, dynamic_interval_list): class EvalHook (line 24) | class EvalHook(BaseEvalHook): method __init__ (line 26) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 35) | def _decide_interval(self, runner): method before_train_epoch (line 42) | def before_train_epoch(self, runner): method before_train_iter (line 47) | def before_train_iter(self, runner): method _do_evaluate (line 51) | def _do_evaluate(self, runner): class DistEvalHook (line 73) | class DistEvalHook(BaseDistEvalHook): method __init__ (line 75) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 84) | def _decide_interval(self, runner): method before_train_epoch (line 91) | def before_train_epoch(self, runner): method before_train_iter (line 96) | def before_train_iter(self, runner): method _do_evaluate (line 100) | def _do_evaluate(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/evaluation/mean_ap.py function average_precision (line 13) | def average_precision(recalls, precisions, mode='area'): function tpfp_imagenet (line 60) | def tpfp_imagenet(det_bboxes, function tpfp_default (line 169) | def tpfp_default(det_bboxes, function tpfp_openimages (line 272) | def tpfp_openimages(det_bboxes, function get_cls_results (line 477) | def get_cls_results(det_results, annotations, class_id): function get_cls_group_ofs (line 504) | def get_cls_group_ofs(annotations, class_id): function eval_map (line 525) | def eval_map(det_results, function print_map_summary (line 717) | def print_map_summary(mean_ap, FILE: DLTA_AI_app/mmdetection/mmdet/core/evaluation/recall.py function _recalls (line 11) | def _recalls(all_ious, proposal_nums, thrs): function set_recall_param (line 44) | def set_recall_param(proposal_nums, iou_thrs): function eval_recalls (line 65) | def eval_recalls(gts, function print_recall_summary (line 117) | def print_recall_summary(recalls, function plot_num_recall (line 150) | def plot_num_recall(recalls, proposal_nums): function plot_iou_recall (line 175) | def plot_iou_recall(recalls, iou_thrs): FILE: DLTA_AI_app/mmdetection/mmdet/core/export/model_wrappers.py class DeployBaseDetector (line 12) | class DeployBaseDetector(BaseDetector): method __init__ (line 15) | def __init__(self, class_names, device_id): method simple_test (line 20) | def simple_test(self, img, img_metas, **kwargs): method aug_test (line 23) | def aug_test(self, imgs, img_metas, **kwargs): method extract_feat (line 26) | def extract_feat(self, imgs): method forward_train (line 29) | def forward_train(self, imgs, img_metas, **kwargs): method val_step (line 32) | def val_step(self, data, optimizer): method train_step (line 35) | def train_step(self, data, optimizer): method forward_test (line 38) | def forward_test(self, *, img, img_metas, **kwargs): method async_simple_test (line 41) | def async_simple_test(self, img, img_metas, **kwargs): method forward (line 44) | def forward(self, img, img_metas, return_loss=True, **kwargs): class ONNXRuntimeDetector (line 96) | class ONNXRuntimeDetector(DeployBaseDetector): method __init__ (line 99) | def __init__(self, onnx_file, class_names, device_id): method forward_test (line 130) | def forward_test(self, imgs, img_metas, **kwargs): class TensorRTDetector (line 152) | class TensorRTDetector(DeployBaseDetector): method __init__ (line 155) | def __init__(self, engine_file, class_names, device_id, output_names=N... method forward_test (line 177) | def forward_test(self, imgs, img_metas, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/export/onnx_helper.py function dynamic_clip_for_onnx (line 7) | def dynamic_clip_for_onnx(x1, y1, x2, y2, max_shape): function get_k_for_topk (line 46) | def get_k_for_topk(k, size): function add_dummy_nms_for_onnx (line 82) | def add_dummy_nms_for_onnx(boxes, class DummyONNXNMSop (line 201) | class DummyONNXNMSop(torch.autograd.Function): method forward (line 208) | def forward(ctx, boxes, scores, max_output_boxes_per_class, iou_thresh... method symbolic (line 214) | def symbolic(g, boxes, scores, max_output_boxes_per_class, iou_threshold, FILE: DLTA_AI_app/mmdetection/mmdet/core/export/pytorch2onnx.py function generate_inputs_and_wrap_model (line 10) | def generate_inputs_and_wrap_model(config_path, function build_model_from_cfg (line 65) | def build_model_from_cfg(config_path, checkpoint_path, cfg_options=None): function preprocess_example_input (line 102) | def preprocess_example_input(input_config): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/checkloss_hook.py class CheckInvalidLossHook (line 7) | class CheckInvalidLossHook(Hook): method __init__ (line 18) | def __init__(self, interval=50): method after_train_iter (line 21) | def after_train_iter(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/ema.py class BaseEMAHook (line 8) | class BaseEMAHook(Hook): method __init__ (line 32) | def __init__(self, method before_run (line 45) | def before_run(self, runner): method get_momentum (line 67) | def get_momentum(self, runner): method after_train_iter (line 71) | def after_train_iter(self, runner): method after_train_epoch (line 84) | def after_train_epoch(self, runner): method before_train_epoch (line 89) | def before_train_epoch(self, runner): method _swap_ema_parameters (line 94) | def _swap_ema_parameters(self): class ExpMomentumEMAHook (line 104) | class ExpMomentumEMAHook(BaseEMAHook): method __init__ (line 112) | def __init__(self, total_iter=2000, **kwargs): class LinearMomentumEMAHook (line 119) | class LinearMomentumEMAHook(BaseEMAHook): method __init__ (line 127) | def __init__(self, warm_up=100, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/memory_profiler_hook.py class MemoryProfilerHook (line 6) | class MemoryProfilerHook(Hook): method __init__ (line 15) | def __init__(self, interval=50): method after_iter (line 34) | def after_iter(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/set_epoch_info_hook.py class SetEpochInfoHook (line 7) | class SetEpochInfoHook(Hook): method before_train_epoch (line 10) | def before_train_epoch(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/sync_norm_hook.py function get_norm_states (line 11) | def get_norm_states(module): class SyncNormHook (line 21) | class SyncNormHook(Hook): method __init__ (line 30) | def __init__(self, num_last_epochs=15, interval=1): method before_train_epoch (line 34) | def before_train_epoch(self, runner): method after_train_epoch (line 40) | def after_train_epoch(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/sync_random_size_hook.py class SyncRandomSizeHook (line 12) | class SyncRandomSizeHook(Hook): method __init__ (line 33) | def __init__(self, method after_train_epoch (line 52) | def after_train_epoch(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/wandblogger_hook.py class MMDetWandbHook (line 21) | class MMDetWandbHook(WandbLoggerHook): method __init__ (line 95) | def __init__(self, method import_wandb (line 114) | def import_wandb(self): method before_run (line 134) | def before_run(self, runner): method after_train_epoch (line 206) | def after_train_epoch(self, runner): method after_train_iter (line 239) | def after_train_iter(self, runner): method after_run (line 279) | def after_run(self, runner): method _update_wandb_config (line 282) | def _update_wandb_config(self, runner): method _log_ckpt_as_artifact (line 294) | def _log_ckpt_as_artifact(self, model_path, aliases, metadata=None): method _get_eval_results (line 307) | def _get_eval_results(self): method _init_data_table (line 314) | def _init_data_table(self): method _init_pred_table (line 319) | def _init_pred_table(self): method _add_ground_truth (line 324) | def _add_ground_truth(self, runner): method _log_predictions (line 399) | def _log_predictions(self, results): method _get_wandb_bboxes (line 459) | def _get_wandb_bboxes(self, bboxes, labels, log_gt=True): method _get_wandb_masks (line 511) | def _get_wandb_masks(self, method _log_data_table (line 559) | def _log_data_table(self): method _log_eval_table (line 576) | def _log_eval_table(self, idx): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/yolox_lrupdater_hook.py class YOLOXLrUpdaterHook (line 8) | class YOLOXLrUpdaterHook(CosineAnnealingLrUpdaterHook): method __init__ (line 23) | def __init__(self, num_last_epochs, **kwargs): method get_warmup_lr (line 27) | def get_warmup_lr(self, cur_iters): method get_lr (line 44) | def get_lr(self, runner, base_lr): FILE: DLTA_AI_app/mmdetection/mmdet/core/hook/yolox_mode_switch_hook.py class YOLOXModeSwitchHook (line 7) | class YOLOXModeSwitchHook(Hook): method __init__ (line 21) | def __init__(self, method before_train_epoch (line 28) | def before_train_epoch(self, runner): FILE: DLTA_AI_app/mmdetection/mmdet/core/mask/mask_target.py function mask_target (line 7) | def mask_target(pos_proposals_list, pos_assigned_gt_inds_list, gt_masks_... function mask_target_single (line 67) | def mask_target_single(pos_proposals, pos_assigned_gt_inds, gt_masks, cfg): FILE: DLTA_AI_app/mmdetection/mmdet/core/mask/structures.py class BaseInstanceMasks (line 12) | class BaseInstanceMasks(metaclass=ABCMeta): method rescale (line 16) | def rescale(self, scale, interpolation='nearest'): method resize (line 29) | def resize(self, out_shape, interpolation='nearest'): method flip (line 41) | def flip(self, flip_direction='horizontal'): method pad (line 52) | def pad(self, out_shape, pad_val): method crop (line 64) | def crop(self, bbox): method crop_and_resize (line 75) | def crop_and_resize(self, method expand (line 104) | def expand(self, expanded_h, expanded_w, top, left): method areas (line 109) | def areas(self): method to_ndarray (line 113) | def to_ndarray(self): method to_tensor (line 121) | def to_tensor(self, dtype, device): method translate (line 133) | def translate(self, method shear (line 153) | def shear(self, method rotate (line 175) | def rotate(self, out_shape, angle, center=None, scale=1.0, fill_val=0): class BitmapMasks (line 193) | class BitmapMasks(BaseInstanceMasks): method __init__ (line 222) | def __init__(self, masks, height, width): method __getitem__ (line 239) | def __getitem__(self, index): method __iter__ (line 251) | def __iter__(self): method __repr__ (line 254) | def __repr__(self): method __len__ (line 261) | def __len__(self): method rescale (line 265) | def rescale(self, scale, interpolation='nearest'): method resize (line 278) | def resize(self, out_shape, interpolation='nearest'): method flip (line 290) | def flip(self, flip_direction='horizontal'): method pad (line 303) | def pad(self, out_shape, pad_val=0): method crop (line 314) | def crop(self, bbox): method crop_and_resize (line 333) | def crop_and_resize(self, method expand (line 369) | def expand(self, expanded_h, expanded_w, top, left): method translate (line 381) | def translate(self, method shear (line 431) | def shear(self, method rotate (line 466) | def rotate(self, out_shape, angle, center=None, scale=1.0, fill_val=0): method areas (line 499) | def areas(self): method to_ndarray (line 503) | def to_ndarray(self): method to_tensor (line 507) | def to_tensor(self, dtype, device): method random (line 512) | def random(cls, method get_bboxes (line 532) | def get_bboxes(self): class PolygonMasks (line 548) | class PolygonMasks(BaseInstanceMasks): method __init__ (line 588) | def __init__(self, masks, height, width): method __getitem__ (line 598) | def __getitem__(self, index): method __iter__ (line 621) | def __iter__(self): method __repr__ (line 624) | def __repr__(self): method __len__ (line 631) | def __len__(self): method rescale (line 635) | def rescale(self, scale, interpolation=None): method resize (line 644) | def resize(self, out_shape, interpolation=None): method flip (line 663) | def flip(self, flip_direction='horizontal'): method crop (line 687) | def crop(self, bbox): method pad (line 716) | def pad(self, out_shape, pad_val=0): method expand (line 720) | def expand(self, *args, **kwargs): method crop_and_resize (line 724) | def crop_and_resize(self, method translate (line 765) | def translate(self, method shear (line 799) | def shear(self, method rotate (line 831) | def rotate(self, out_shape, angle, center=None, scale=1.0, fill_val=0): method to_bitmap (line 860) | def to_bitmap(self): method areas (line 866) | def areas(self): method _polygon_area (line 884) | def _polygon_area(self, x, y): method to_ndarray (line 900) | def to_ndarray(self): method to_tensor (line 910) | def to_tensor(self, dtype, device): method random (line 920) | def random(cls, method get_bboxes (line 1039) | def get_bboxes(self): function polygon_to_bitmap (line 1058) | def polygon_to_bitmap(polygons, height, width): function bitmap_to_polygon (line 1075) | def bitmap_to_polygon(bitmap): FILE: DLTA_AI_app/mmdetection/mmdet/core/mask/utils.py function split_combined_polys (line 8) | def split_combined_polys(polys, poly_lens, polys_per_mask): function encode_mask_results (line 38) | def encode_mask_results(mask_results): function mask2bbox (line 68) | def mask2bbox(masks): FILE: DLTA_AI_app/mmdetection/mmdet/core/optimizers/builder.py function build_optimizer_constructor (line 11) | def build_optimizer_constructor(cfg): function build_optimizer (line 22) | def build_optimizer(model, cfg): FILE: DLTA_AI_app/mmdetection/mmdet/core/optimizers/layer_decay_optimizer_constructor.py function get_layer_id_for_convnext (line 10) | def get_layer_id_for_convnext(var_name, max_layer_id): function get_stage_id_for_convnext (line 53) | def get_stage_id_for_convnext(var_name, max_stage_id): class LearningRateDecayOptimizerConstructor (line 79) | class LearningRateDecayOptimizerConstructor(DefaultOptimizerConstructor): method add_params (line 83) | def add_params(self, params, module, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/core/post_processing/bbox_nms.py function multiclass_nms (line 8) | def multiclass_nms(multi_bboxes, function fast_nms (line 98) | def fast_nms(multi_bboxes, FILE: DLTA_AI_app/mmdetection/mmdet/core/post_processing/matrix_nms.py function mask_matrix_nms (line 5) | def mask_matrix_nms(masks, FILE: DLTA_AI_app/mmdetection/mmdet/core/post_processing/merge_augs.py function merge_aug_proposals (line 13) | def merge_aug_proposals(aug_proposals, img_metas, cfg): function merge_aug_bboxes (line 84) | def merge_aug_bboxes(aug_bboxes, aug_scores, img_metas, rcnn_test_cfg): function merge_aug_scores (line 113) | def merge_aug_scores(aug_scores): function merge_aug_masks (line 121) | def merge_aug_masks(aug_masks, img_metas, rcnn_test_cfg, weights=None): FILE: DLTA_AI_app/mmdetection/mmdet/core/utils/dist_utils.py function _allreduce_coalesced (line 15) | def _allreduce_coalesced(tensors, world_size, bucket_size_mb=-1): function allreduce_grads (line 37) | def allreduce_grads(params, coalesce=True, bucket_size_mb=-1): class DistOptimizerHook (line 59) | class DistOptimizerHook(OptimizerHook): method __init__ (line 62) | def __init__(self, *args, **kwargs): function reduce_mean (line 68) | def reduce_mean(tensor): function obj2tensor (line 77) | def obj2tensor(pyobj, device='cuda'): function tensor2obj (line 83) | def tensor2obj(tensor): function _get_global_gloo_group (line 89) | def _get_global_gloo_group(): function all_reduce_dict (line 98) | def all_reduce_dict(py_dict, op='sum', group=None, to_float=True): function sync_random_seed (line 157) | def sync_random_seed(seed=None, device='cuda'): FILE: DLTA_AI_app/mmdetection/mmdet/core/utils/misc.py function multi_apply (line 11) | def multi_apply(func, *args, **kwargs): function unmap (line 33) | def unmap(data, count, inds, fill=0): function mask2ndarray (line 46) | def mask2ndarray(mask): function flip_tensor (line 65) | def flip_tensor(src_tensor, flip_direction): function select_single_mlvl (line 88) | def select_single_mlvl(mlvl_tensors, batch_id, detach=True): function filter_scores_and_topk (line 119) | def filter_scores_and_topk(scores, score_thr, topk, results=None): function center_of_mass (line 168) | def center_of_mass(mask, esp=1e-6): function generate_coordinate (line 190) | def generate_coordinate(featmap_sizes, device='cuda'): FILE: DLTA_AI_app/mmdetection/mmdet/core/visualization/image.py function color_val_matplotlib (line 25) | def color_val_matplotlib(color): function _get_adaptive_scales (line 40) | def _get_adaptive_scales(areas, min_area=800, max_area=30000): function _get_bias_color (line 63) | def _get_bias_color(base, max_dist=30): function draw_bboxes (line 81) | def draw_bboxes(ax, bboxes, color='g', alpha=0.8, thickness=2): function draw_labels (line 114) | def draw_labels(ax, function draw_masks (line 166) | def draw_masks(ax, img, masks, color=None, with_edge=True, alpha=0.8): function imshow_det_bboxes (line 208) | def imshow_det_bboxes(img, function imshow_gt_det_bboxes (line 380) | def imshow_gt_det_bboxes(img, FILE: DLTA_AI_app/mmdetection/mmdet/core/visualization/palette.py function palette_val (line 6) | def palette_val(palette): function get_palette (line 22) | def get_palette(palette, num_classes): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/csp_darknet.py class Focus (line 14) | class Focus(nn.Module): method __init__ (line 30) | def __init__(self, method forward (line 49) | def forward(self, x): class SPPBottleneck (line 67) | class SPPBottleneck(BaseModule): method __init__ (line 85) | def __init__(self, method forward (line 116) | def forward(self, x): class CSPDarknet (line 124) | class CSPDarknet(BaseModule): method __init__ (line 177) | def __init__(self, method _freeze_stages (line 261) | def _freeze_stages(self): method train (line 269) | def train(self, mode=True): method forward (line 277) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/darknet.py class ResBlock (line 14) | class ResBlock(BaseModule): method __init__ (line 33) | def __init__(self, method forward (line 50) | def forward(self, x): class Darknet (line 60) | class Darknet(BaseModule): method __init__ (line 101) | def __init__(self, method forward (line 153) | def forward(self, x): method _freeze_stages (line 163) | def _freeze_stages(self): method train (line 171) | def train(self, mode=True): method make_conv_res_block (line 180) | def make_conv_res_block(in_channels, FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/detectors_resnet.py class Bottleneck (line 16) | class Bottleneck(_Bottleneck): method __init__ (line 36) | def __init__(self, method rfp_forward (line 73) | def rfp_forward(self, x, rfp_feat): class ResLayer (line 120) | class ResLayer(Sequential): method __init__ (line 146) | def __init__(self, class DetectoRS_ResNet (line 212) | class DetectoRS_ResNet(ResNet): method __init__ (line 234) | def __init__(self, method init_weights (line 296) | def init_weights(self): method make_res_layer (line 325) | def make_res_layer(self, **kwargs): method forward (line 329) | def forward(self, x): method rfp_forward (line 336) | def rfp_forward(self, x, rfp_feats): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/detectors_resnext.py class Bottleneck (line 11) | class Bottleneck(_Bottleneck): method __init__ (line 14) | def __init__(self, class DetectoRS_ResNeXt (line 99) | class DetectoRS_ResNeXt(DetectoRS_ResNet): method __init__ (line 113) | def __init__(self, groups=1, base_width=4, **kwargs): method make_res_layer (line 118) | def make_res_layer(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/efficientnet.py class EdgeResidual (line 16) | class EdgeResidual(BaseModule): method __init__ (line 41) | def __init__(self, method forward (line 91) | def forward(self, x): function model_scaling (line 115) | def model_scaling(layer_setting, arch_setting): class EfficientNet (line 159) | class EfficientNet(BaseModule): method __init__ (line 254) | def __init__(self, method make_layer (line 327) | def make_layer(self): method forward (line 395) | def forward(self, x): method _freeze_stages (line 404) | def _freeze_stages(self): method train (line 411) | def train(self, mode=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/hourglass.py class HourglassModule (line 12) | class HourglassModule(BaseModule): method __init__ (line 30) | def __init__(self, method forward (line 80) | def forward(self, x): class HourglassNet (line 97) | class HourglassNet(BaseModule): method __init__ (line 131) | def __init__(self, method init_weights (line 195) | def init_weights(self): method forward (line 203) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/hrnet.py class HRModule (line 13) | class HRModule(BaseModule): method __init__ (line 20) | def __init__(self, method _check_branches (line 49) | def _check_branches(self, num_branches, num_blocks, in_channels, method _make_one_branch (line 66) | def _make_one_branch(self, method _make_branches (line 112) | def _make_branches(self, num_branches, block, num_blocks, num_channels): method _make_fuse_layers (line 121) | def _make_fuse_layers(self): method forward (line 183) | def forward(self, x): class HRNet (line 204) | class HRNet(BaseModule): method __init__ (line 281) | def __init__(self, method norm1 (line 403) | def norm1(self): method norm2 (line 408) | def norm2(self): method _make_transition_layer (line 412) | def _make_transition_layer(self, num_channels_pre_layer, method _make_layer (line 458) | def _make_layer(self, block, inplanes, planes, blocks, stride=1): method _make_stage (line 505) | def _make_stage(self, layer_config, in_channels, multiscale_output=True): method forward (line 545) | def forward(self, x): method train (line 581) | def train(self, mode=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/mobilenet_v2.py class MobileNetV2 (line 14) | class MobileNetV2(BaseModule): method __init__ (line 46) | def __init__(self, method make_layer (line 138) | def make_layer(self, out_channels, num_blocks, stride, expand_ratio): method _freeze_stages (line 167) | def _freeze_stages(self): method forward (line 177) | def forward(self, x): method train (line 188) | def train(self, mode=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/pvt.py class MixFFN (line 23) | class MixFFN(BaseModule): method __init__ (line 47) | def __init__(self, method forward (line 93) | def forward(self, x, hw_shape, identity=None): class SpatialReductionAttention (line 102) | class SpatialReductionAttention(MultiheadAttention): method __init__ (line 129) | def __init__(self, method forward (line 169) | def forward(self, x, hw_shape, identity=None): method legacy_forward (line 200) | def legacy_forward(self, x, hw_shape, identity=None): class PVTEncoderLayer (line 219) | class PVTEncoderLayer(BaseModule): method __init__ (line 245) | def __init__(self, method forward (line 284) | def forward(self, x, hw_shape): class AbsolutePositionEmbedding (line 291) | class AbsolutePositionEmbedding(BaseModule): method __init__ (line 301) | def __init__(self, pos_shape, pos_dim, drop_rate=0., init_cfg=None): method init_weights (line 319) | def init_weights(self): method resize_pos_embed (line 322) | def resize_pos_embed(self, pos_embed, input_shape, mode='bilinear'): method forward (line 351) | def forward(self, x, hw_shape, mode='bilinear'): class PyramidVisionTransformer (line 357) | class PyramidVisionTransformer(BaseModule): method __init__ (line 410) | def __init__(self, method init_weights (line 523) | def init_weights(self): method forward (line 563) | def forward(self, x): class PyramidVisionTransformerV2 (line 580) | class PyramidVisionTransformerV2(PyramidVisionTransformer): method __init__ (line 584) | def __init__(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/regnet.py class RegNet (line 14) | class RegNet(ResNet): method __init__ (line 90) | def __init__(self, method _make_stem_layer (line 238) | def _make_stem_layer(self, in_channels, base_channels): method generate_regnet (line 252) | def generate_regnet(self, method quantize_float (line 285) | def quantize_float(number, divisor): method adjust_width_group (line 297) | def adjust_width_group(self, widths, bottleneck_ratio, groups): method get_stages_from_blocks (line 322) | def get_stages_from_blocks(self, widths): method forward (line 344) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/res2net.py class Bottle2neck (line 15) | class Bottle2neck(_Bottleneck): method __init__ (line 18) | def __init__(self, method forward (line 106) | def forward(self, x): class Res2Layer (line 163) | class Res2Layer(Sequential): method __init__ (line 182) | def __init__(self, class Res2Net (line 243) | class Res2Net(ResNet): method __init__ (line 303) | def __init__(self, method make_res_layer (line 322) | def make_res_layer(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/resnest.py class RSoftmax (line 17) | class RSoftmax(nn.Module): method __init__ (line 25) | def __init__(self, radix, groups): method forward (line 30) | def forward(self, x): class SplitAttentionConv2d (line 41) | class SplitAttentionConv2d(BaseModule): method __init__ (line 64) | def __init__(self, method norm0 (line 116) | def norm0(self): method norm1 (line 121) | def norm1(self): method forward (line 125) | def forward(self, x): class Bottleneck (line 154) | class Bottleneck(_Bottleneck): method __init__ (line 173) | def __init__(self, method forward (line 234) | def forward(self, x): class ResNeSt (line 278) | class ResNeSt(ResNetV1d): method __init__ (line 299) | def __init__(self, method make_res_layer (line 313) | def make_res_layer(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/resnet.py class BasicBlock (line 14) | class BasicBlock(BaseModule): method __init__ (line 17) | def __init__(self, method norm1 (line 58) | def norm1(self): method norm2 (line 63) | def norm2(self): method forward (line 67) | def forward(self, x): class Bottleneck (line 97) | class Bottleneck(BaseModule): method __init__ (line 100) | def __init__(self, method make_block_plugins (line 219) | def make_block_plugins(self, in_channels, plugins): method forward_plugin (line 242) | def forward_plugin(self, x, plugin_names): method norm1 (line 249) | def norm1(self): method norm2 (line 254) | def norm2(self): method norm3 (line 259) | def norm3(self): method forward (line 263) | def forward(self, x): class ResNet (line 306) | class ResNet(BaseModule): method __init__ (line 369) | def __init__(self, method make_stage_plugins (line 494) | def make_stage_plugins(self, plugins, stage_idx): method make_res_layer (line 556) | def make_res_layer(self, **kwargs): method norm1 (line 561) | def norm1(self): method _make_stem_layer (line 565) | def _make_stem_layer(self, in_channels, stem_channels): method _freeze_stages (line 613) | def _freeze_stages(self): method forward (line 631) | def forward(self, x): method train (line 648) | def train(self, mode=True): class ResNetV1d (line 661) | class ResNetV1d(ResNet): method __init__ (line 670) | def __init__(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/resnext.py class Bottleneck (line 12) | class Bottleneck(_Bottleneck): method __init__ (line 15) | def __init__(self, method _del_block_plugins (line 98) | def _del_block_plugins(self, plugin_names): class ResNeXt (line 110) | class ResNeXt(ResNet): method __init__ (line 143) | def __init__(self, groups=1, base_width=4, **kwargs): method make_res_layer (line 148) | def make_res_layer(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/ssd_vgg.py class SSDVGG (line 13) | class SSDVGG(VGG, BaseModule): method __init__ (line 50) | def __init__(self, method init_weights (line 105) | def init_weights(self, pretrained=None): method forward (line 108) | def forward(self, x): class L2Norm (line 122) | class L2Norm(ssd_neck.L2Norm): method __init__ (line 124) | def __init__(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/swin.py class WindowMSA (line 22) | class WindowMSA(BaseModule): method __init__ (line 41) | def __init__(self, method init_weights (line 78) | def init_weights(self): method forward (line 81) | def forward(self, x, mask=None): method double_step_seq (line 122) | def double_step_seq(step1, len1, step2, len2): class ShiftWindowMSA (line 128) | class ShiftWindowMSA(BaseModule): method __init__ (line 151) | def __init__(self, method forward (line 180) | def forward(self, query, hw_shape): method window_reverse (line 256) | def window_reverse(self, windows, H, W): method window_partition (line 272) | def window_partition(self, x): class SwinBlock (line 288) | class SwinBlock(BaseModule): method __init__ (line 313) | def __init__(self, method forward (line 358) | def forward(self, x, hw_shape): class SwinBlockSequence (line 381) | class SwinBlockSequence(BaseModule): method __init__ (line 410) | def __init__(self, method forward (line 455) | def forward(self, x, hw_shape): class SwinTransformer (line 467) | class SwinTransformer(BaseModule): method __init__ (line 524) | def __init__(self, method train (line 642) | def train(self, mode=True): method _freeze_stages (line 647) | def _freeze_stages(self): method init_weights (line 669) | def init_weights(self): method forward (line 744) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/backbones/trident_resnet.py class TridentConv (line 14) | class TridentConv(BaseModule): method __init__ (line 33) | def __init__(self, method extra_repr (line 61) | def extra_repr(self): method forward (line 73) | def forward(self, inputs): class TridentBottleneck (line 93) | class TridentBottleneck(Bottleneck): method __init__ (line 106) | def __init__(self, trident_dilations, test_branch_idx, concat_output, method forward (line 128) | def forward(self, x): function make_trident_res_layer (line 182) | def make_trident_res_layer(block, class TridentResNet (line 235) | class TridentResNet(ResNet): method __init__ (line 256) | def __init__(self, depth, num_branch, test_branch_idx, trident_dilations, FILE: DLTA_AI_app/mmdetection/mmdet/models/builder.py function build_backbone (line 18) | def build_backbone(cfg): function build_neck (line 23) | def build_neck(cfg): function build_roi_extractor (line 28) | def build_roi_extractor(cfg): function build_shared_head (line 33) | def build_shared_head(cfg): function build_head (line 38) | def build_head(cfg): function build_loss (line 43) | def build_loss(cfg): function build_detector (line 48) | def build_detector(cfg, train_cfg=None, test_cfg=None): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/anchor_free_head.py class AnchorFreeHead (line 18) | class AnchorFreeHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 46) | def __init__(self, method _init_layers (line 107) | def _init_layers(self): method _init_cls_convs (line 113) | def _init_cls_convs(self): method _init_reg_convs (line 133) | def _init_reg_convs(self): method _init_predictor (line 153) | def _init_predictor(self): method _load_from_state_dict (line 159) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... method forward (line 197) | def forward(self, feats): method forward_single (line 215) | def forward_single(self, x): method loss (line 240) | def loss(self, method get_targets (line 268) | def get_targets(self, points, gt_bboxes_list, gt_labels_list): method _get_points_single (line 282) | def _get_points_single(self, method get_points (line 310) | def get_points(self, featmap_sizes, dtype, device, flatten=False): method aug_test (line 334) | def aug_test(self, feats, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/anchor_head.py class AnchorHead (line 17) | class AnchorHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 39) | def __init__(self, method num_anchors (line 115) | def num_anchors(self): method anchor_generator (line 122) | def anchor_generator(self): method _init_layers (line 127) | def _init_layers(self): method forward_single (line 135) | def forward_single(self, x): method forward (line 152) | def forward(self, feats): method get_anchors (line 171) | def get_anchors(self, featmap_sizes, img_metas, device='cuda'): method _get_targets_single (line 201) | def _get_targets_single(self, method get_targets (line 299) | def get_targets(self, method loss_single (line 402) | def loss_single(self, cls_score, bbox_pred, anchors, labels, label_wei... method loss (line 453) | def loss(self, method aug_test (line 522) | def aug_test(self, feats, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/atss_head.py class ATSSHead (line 14) | class ATSSHead(AnchorHead): method __init__ (line 24) | def __init__(self, method _init_layers (line 65) | def _init_layers(self): method forward (line 109) | def forward(self, feats): method forward_single (line 127) | def forward_single(self, x, scale): method loss_single (line 156) | def loss_single(self, anchors, cls_score, bbox_pred, centerness, labels, method loss (line 230) | def loss(self, method centerness_target (line 305) | def centerness_target(self, anchors, gts): method get_targets (line 322) | def get_targets(self, method _get_target_single (line 386) | def _get_target_single(self, method get_num_level_anchors_inside (line 496) | def get_num_level_anchors_inside(self, num_level_anchors, inside_flags): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/autoassign_head.py class CenterPrior (line 21) | class CenterPrior(nn.Module): method __init__ (line 37) | def __init__(self, method forward (line 49) | def forward(self, anchor_points_list, gt_bboxes, labels, class AutoAssignHead (line 128) | class AutoAssignHead(FCOSHead): method __init__ (line 148) | def __init__(self, method init_weights (line 167) | def init_weights(self): method forward_single (line 179) | def forward_single(self, x, scale, stride): method get_pos_loss_single (line 207) | def get_pos_loss_single(self, cls_score, objectness, reg_loss, gt_labels, method get_neg_loss_single (line 251) | def get_neg_loss_single(self, cls_score, objectness, gt_labels, ious, method loss (line 307) | def loss(self, method get_targets (line 439) | def get_targets(self, points, gt_bboxes_list): method _get_target_single (line 468) | def _get_target_single(self, gt_bboxes, points): method _get_points_single (line 506) | def _get_points_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/base_dense_head.py class BaseDenseHead (line 12) | class BaseDenseHead(BaseModule, metaclass=ABCMeta): method __init__ (line 15) | def __init__(self, init_cfg=None): method init_weights (line 18) | def init_weights(self): method loss (line 27) | def loss(self, **kwargs): method get_bboxes (line 32) | def get_bboxes(self, method _get_bboxes_single (line 109) | def _get_bboxes_single(self, method _bbox_post_process (line 226) | def _bbox_post_process(self, method forward_train (line 303) | def forward_train(self, method simple_test (line 343) | def simple_test(self, feats, img_metas, rescale=False): method onnx_export (line 363) | def onnx_export(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/base_mask_head.py class BaseMaskHead (line 7) | class BaseMaskHead(BaseModule, metaclass=ABCMeta): method __init__ (line 10) | def __init__(self, init_cfg): method loss (line 14) | def loss(self, **kwargs): method get_results (line 18) | def get_results(self, **kwargs): method forward_train (line 22) | def forward_train(self, method simple_test (line 73) | def simple_test(self, method onnx_export (line 114) | def onnx_export(self, img, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/cascade_rpn_head.py class AdaptiveConv (line 20) | class AdaptiveConv(BaseModule): method __init__ (line 42) | def __init__(self, method forward (line 79) | def forward(self, x, offset): class StageCascadeRPNHead (line 96) | class StageCascadeRPNHead(RPNHead): method __init__ (line 112) | def __init__(self, method _init_layers (line 153) | def _init_layers(self): method forward_single (line 164) | def forward_single(self, x, offset): method forward (line 174) | def forward(self, feats, offset_list=None): method _region_targets_single (line 180) | def _region_targets_single(self, method region_targets (line 236) | def region_targets(self, method get_targets (line 286) | def get_targets(self, method anchor_offset (line 328) | def anchor_offset(self, anchor_list, anchor_strides, featmap_sizes): method loss_single (line 406) | def loss_single(self, cls_score, bbox_pred, anchors, labels, label_wei... method loss (line 436) | def loss(self, method get_bboxes (line 505) | def get_bboxes(self, method _get_bboxes_single (line 547) | def _get_bboxes_single(self, method refine_bboxes (line 672) | def refine_bboxes(self, anchor_list, bbox_preds, img_metas): class CascadeRPNHead (line 690) | class CascadeRPNHead(BaseDenseHead): method __init__ (line 705) | def __init__(self, num_stages, stages, train_cfg, test_cfg, init_cfg=N... method loss (line 720) | def loss(self): method get_bboxes (line 724) | def get_bboxes(self): method forward_train (line 728) | def forward_train(self, method simple_test_rpn (line 773) | def simple_test_rpn(self, x, img_metas): method aug_test_rpn (line 798) | def aug_test_rpn(self, x, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/centernet_head.py class CenterNetHead (line 18) | class CenterNetHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 38) | def __init__(self, method _build_head (line 64) | def _build_head(self, in_channel, feat_channel, out_channel): method init_weights (line 72) | def init_weights(self): method forward (line 81) | def forward(self, feats): method forward_single (line 98) | def forward_single(self, feat): method loss (line 116) | def loss(self, method get_targets (line 181) | def get_targets(self, gt_bboxes, gt_labels, feat_shape, img_shape): method get_bboxes (line 252) | def get_bboxes(self, method _get_bboxes_single (line 297) | def _get_bboxes_single(self, method decode_heatmap (line 351) | def decode_heatmap(self, method _bboxes_nms (line 402) | def _bboxes_nms(self, bboxes, labels, cfg): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/centripetal_head.py class CentripetalHead (line 13) | class CentripetalHead(CornerHead): method __init__ (line 48) | def __init__(self, method _init_centripetal_layers (line 73) | def _init_centripetal_layers(self): method _init_layers (line 133) | def _init_layers(self): method init_weights (line 141) | def init_weights(self): method forward_single (line 157) | def forward_single(self, x, lvl_ind): method loss (line 208) | def loss(self, method loss_single (line 284) | def loss_single(self, tl_hmp, br_hmp, tl_off, br_off, tl_guiding_shift, method get_bboxes (line 367) | def get_bboxes(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/corner_head.py class BiCornerPool (line 21) | class BiCornerPool(BaseModule): method __init__ (line 34) | def __init__(self, method forward (line 64) | def forward(self, x): class CornerHead (line 85) | class CornerHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 118) | def __init__(self, method _make_layers (line 158) | def _make_layers(self, out_channels, in_channels=256, feat_channels=256): method _init_corner_kpt_layers (line 165) | def _init_corner_kpt_layers(self): method _init_corner_emb_layers (line 203) | def _init_corner_emb_layers(self): method _init_layers (line 221) | def _init_layers(self): method init_weights (line 230) | def init_weights(self): method forward (line 248) | def forward(self, feats): method forward_single (line 280) | def forward_single(self, x, lvl_ind, return_pool=False): method get_targets (line 325) | def get_targets(self, method loss (line 514) | def loss(self, method loss_single (line 576) | def loss_single(self, tl_hmp, br_hmp, tl_emb, br_emb, tl_off, br_off, method get_bboxes (line 655) | def get_bboxes(self, method _get_bboxes_single (line 704) | def _get_bboxes_single(self, method _bboxes_nms (line 777) | def _bboxes_nms(self, bboxes, labels, cfg): method decode_heatmap (line 795) | def decode_heatmap(self, method onnx_export (line 1031) | def onnx_export(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/ddod_head.py class DDODHead (line 17) | class DDODHead(AnchorHead): method __init__ (line 37) | def __init__(self, method _init_layers (line 63) | def _init_layers(self): method init_weights (line 110) | def init_weights(self): method forward (line 121) | def forward(self, feats): method forward_single (line 142) | def forward_single(self, x, scale): method loss_cls_single (line 171) | def loss_cls_single(self, cls_score, labels, label_weights, method loss_reg_single (line 198) | def loss_reg_single(self, anchors, bbox_pred, iou_pred, labels, method calc_reweight_factor (line 275) | def calc_reweight_factor(self, labels_list): method loss (line 295) | def loss(self, method process_predictions_and_anchors (line 413) | def process_predictions_and_anchors(self, anchor_list, valid_flag_list, method get_cls_targets (line 483) | def get_cls_targets(self, method get_reg_targets (line 561) | def get_reg_targets(self, method _get_target_single (line 634) | def _get_target_single(self, method get_num_level_anchors_inside (line 761) | def get_num_level_anchors_inside(self, num_level_anchors, inside_flags): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/deformable_detr_head.py class DeformableDETRHead (line 17) | class DeformableDETRHead(DETRHead): method __init__ (line 36) | def __init__(self, method _init_layers (line 50) | def _init_layers(self): method init_weights (line 83) | def init_weights(self): method forward (line 97) | def forward(self, mlvl_feats, img_metas): method loss (line 184) | def loss(self, method get_bboxes (line 269) | def get_bboxes(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/dense_test_mixins.py class BBoxTestMixin (line 14) | class BBoxTestMixin(object): method simple_test_bboxes (line 17) | def simple_test_bboxes(self, feats, img_metas, rescale=False): method aug_test_bboxes (line 41) | def aug_test_bboxes(self, feats, img_metas, rescale=False): method simple_test_rpn (line 116) | def simple_test_rpn(self, x, img_metas): method aug_test_rpn (line 133) | def aug_test_rpn(self, feats, img_metas): method async_simple_test_rpn (line 169) | async def async_simple_test_rpn(self, x, img_metas): method merge_aug_bboxes (line 179) | def merge_aug_bboxes(self, aug_bboxes, aug_scores, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/detr_head.py class DETRHead (line 18) | class DETRHead(AnchorFreeHead): method __init__ (line 52) | def __init__(self, method _init_layers (line 152) | def _init_layers(self): method init_weights (line 167) | def init_weights(self): method _load_from_state_dict (line 172) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... method forward (line 202) | def forward(self, feats, img_metas): method forward_single (line 226) | def forward_single(self, x, img_metas): method loss (line 268) | def loss(self, method loss_single (line 334) | def loss_single(self, method get_targets (line 419) | def get_targets(self, method _get_target_single (line 476) | def _get_target_single(self, method forward_train (line 547) | def forward_train(self, method get_bboxes (line 583) | def get_bboxes(self, method _get_bboxes_single (line 628) | def _get_bboxes_single(self, method simple_test_bboxes (line 685) | def simple_test_bboxes(self, feats, img_metas, rescale=False): method forward_onnx (line 707) | def forward_onnx(self, feats, img_metas): method forward_single_onnx (line 735) | def forward_single_onnx(self, x, img_metas): method onnx_export (line 775) | def onnx_export(self, all_cls_scores_list, all_bbox_preds_list, img_me... FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/embedding_rpn_head.py class EmbeddingRPNHead (line 11) | class EmbeddingRPNHead(BaseModule): method __init__ (line 26) | def __init__(self, method _init_layers (line 38) | def _init_layers(self): method init_weights (line 44) | def init_weights(self): method _decode_init_proposals (line 54) | def _decode_init_proposals(self, imgs, img_metas): method forward_dummy (line 95) | def forward_dummy(self, img, img_metas): method forward_train (line 102) | def forward_train(self, img, img_metas): method simple_test_rpn (line 106) | def simple_test_rpn(self, img, img_metas): method simple_test (line 110) | def simple_test(self, img, img_metas): method aug_test_rpn (line 114) | def aug_test_rpn(self, feats, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/fcos_head.py class FCOSHead (line 17) | class FCOSHead(AnchorFreeHead): method __init__ (line 60) | def __init__(self, method _init_layers (line 106) | def _init_layers(self): method forward (line 112) | def forward(self, feats): method forward_single (line 133) | def forward_single(self, x, scale, stride): method loss (line 168) | def loss(self, method get_targets (line 270) | def get_targets(self, points, gt_bboxes_list, gt_labels_list): method _get_target_single (line 331) | def _get_target_single(self, gt_bboxes, gt_labels, points, regress_ran... method centerness_target (line 415) | def centerness_target(self, pos_bbox_targets): method _get_points_single (line 436) | def _get_points_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/fovea_head.py class FeatureAlign (line 18) | class FeatureAlign(BaseModule): method __init__ (line 20) | def __init__(self, method forward (line 43) | def forward(self, x, shape): class FoveaHead (line 50) | class FoveaHead(AnchorFreeHead): method __init__ (line 55) | def __init__(self, method _init_layers (line 81) | def _init_layers(self): method forward_single (line 121) | def forward_single(self, x): method loss (line 134) | def loss(self, method get_targets (line 186) | def get_targets(self, gt_bbox_list, gt_label_list, featmap_sizes, poin... method _get_target_single (line 208) | def _get_target_single(self, method _get_bboxes_single (line 272) | def _get_bboxes_single(self, method _bbox_decode (line 358) | def _bbox_decode(self, priors, bbox_pred, base_len, max_shape): method _get_points_single (line 374) | def _get_points_single(self, *args, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/free_anchor_retina_head.py class FreeAnchorRetinaHead (line 13) | class FreeAnchorRetinaHead(RetinaHead): method __init__ (line 34) | def __init__(self, method loss (line 54) | def loss(self, method positive_bag_loss (line 221) | def positive_bag_loss(self, matched_cls_prob, matched_box_prob): method negative_bag_loss (line 248) | def negative_bag_loss(self, cls_prob, box_prob): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/fsaf_head.py class FSAFHead (line 15) | class FSAFHead(RetinaHead): method __init__ (line 43) | def __init__(self, *args, score_threshold=None, init_cfg=None, **kwargs): method forward_single (line 63) | def forward_single(self, x): method _get_targets_single (line 80) | def _get_targets_single(self, method loss (line 188) | def loss(self, method calculate_pos_recall (line 317) | def calculate_pos_recall(self, cls_scores, labels_list, pos_inds): method collect_loss_level_single (line 351) | def collect_loss_level_single(self, cls_loss, reg_loss, assigned_gt_inds, method reweight_loss_single (line 382) | def reweight_loss_single(self, cls_loss, reg_loss, assigned_gt_inds, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/ga_retina_head.py class GARetinaHead (line 11) | class GARetinaHead(GuidedAnchorHead): method __init__ (line 14) | def __init__(self, method _init_layers (line 45) | def _init_layers(self): method forward_single (line 92) | def forward_single(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/ga_rpn_head.py class GARPNHead (line 16) | class GARPNHead(GuidedAnchorHead): method __init__ (line 19) | def __init__(self, method _init_layers (line 34) | def _init_layers(self): method forward_single (line 40) | def forward_single(self, x): method loss (line 49) | def loss(self, method _get_bboxes_single (line 72) | def _get_bboxes_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/gfl_head.py class Integral (line 16) | class Integral(nn.Module): method __init__ (line 29) | def __init__(self, reg_max=16): method forward (line 35) | def forward(self, x): class GFLHead (line 53) | class GFLHead(AnchorHead): method __init__ (line 88) | def __init__(self, method _init_layers (line 128) | def _init_layers(self): method forward (line 161) | def forward(self, feats): method forward_single (line 179) | def forward_single(self, x, scale): method anchor_center (line 205) | def anchor_center(self, anchors): method loss_single (line 218) | def loss_single(self, anchors, cls_score, bbox_pred, labels, label_wei... method loss (line 307) | def loss(self, method _get_bboxes_single (line 380) | def _get_bboxes_single(self, method get_targets (line 473) | def get_targets(self, method _get_target_single (line 537) | def _get_target_single(self, method get_num_level_anchors_inside (line 643) | def get_num_level_anchors_inside(self, num_level_anchors, inside_flags): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/guided_anchor_head.py class FeatureAdaption (line 16) | class FeatureAdaption(BaseModule): method __init__ (line 31) | def __init__(self, method forward (line 54) | def forward(self, x, shape): class GuidedAnchorHead (line 61) | class GuidedAnchorHead(AnchorHead): method __init__ (line 97) | def __init__( method num_anchors (line 212) | def num_anchors(self): method _init_layers (line 217) | def _init_layers(self): method forward_single (line 233) | def forward_single(self, x): method forward (line 246) | def forward(self, feats): method get_sampled_approxs (line 249) | def get_sampled_approxs(self, featmap_sizes, img_metas, device='cuda'): method get_anchors (line 299) | def get_anchors(self, method _get_guided_anchors_single (line 350) | def _get_guided_anchors_single(self, method ga_loc_targets (line 384) | def ga_loc_targets(self, gt_bboxes_list, featmap_sizes): method _ga_shape_target_single (line 486) | def _ga_shape_target_single(self, method ga_shape_targets (line 549) | def ga_shape_targets(self, method loss_shape_single (line 615) | def loss_shape_single(self, shape_pred, bbox_anchors, bbox_gts, method loss_loc_single (line 639) | def loss_loc_single(self, loc_pred, loc_target, loc_weight, method loss (line 650) | def loss(self, method get_bboxes (line 756) | def get_bboxes(self, method _get_bboxes_single (line 800) | def _get_bboxes_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/lad_head.py class LADHead (line 11) | class LADHead(PAAHead): method get_label_assignment (line 16) | def get_label_assignment(self, method forward_train (line 121) | def forward_train(self, method loss (line 160) | def loss(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/ld_head.py class LDHead (line 11) | class LDHead(GFLHead): method __init__ (line 26) | def __init__(self, method loss_single (line 38) | def loss_single(self, anchors, cls_score, bbox_pred, labels, label_wei... method forward_train (line 142) | def forward_train(self, method loss (line 185) | def loss(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/mask2former_head.py class Mask2FormerHead (line 21) | class Mask2FormerHead(MaskFormerHead): method __init__ (line 58) | def __init__(self, method init_weights (line 137) | def init_weights(self): method _get_target_single (line 148) | def _get_target_single(self, cls_score, mask_pred, gt_labels, gt_masks, method loss_single (line 218) | def loss_single(self, cls_scores, mask_preds, gt_labels_list, method forward_head (line 309) | def forward_head(self, decoder_out, mask_feature, attn_mask_target_size): method forward (line 351) | def forward(self, feats, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/maskformer_head.py class MaskFormerHead (line 17) | class MaskFormerHead(AnchorFreeHead): method __init__ (line 53) | def __init__(self, method init_weights (line 128) | def init_weights(self): method preprocess_gt (line 138) | def preprocess_gt(self, gt_labels_list, gt_masks_list, gt_semantic_segs, method get_targets (line 174) | def get_targets(self, cls_scores_list, mask_preds_list, gt_labels_list, method _get_target_single (line 218) | def _get_target_single(self, cls_score, mask_pred, gt_labels, gt_masks, method loss (line 279) | def loss(self, all_cls_scores, all_mask_preds, gt_labels_list, method loss_single (line 323) | def loss_single(self, cls_scores, mask_preds, gt_labels_list, method forward (line 415) | def forward(self, feats, img_metas): method forward_train (line 480) | def forward_train(self, method simple_test (line 527) | def simple_test(self, feats, img_metas, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/nasfcos_head.py class NASFCOSHead (line 12) | class NASFCOSHead(FCOSHead): method __init__ (line 20) | def __init__(self, *args, init_cfg=None, **kwargs): method _init_layers (line 39) | def _init_layers(self): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/paa_head.py function levels_to_images (line 18) | def levels_to_images(mlvl_tensor): class PAAHead (line 46) | class PAAHead(ATSSHead): method __init__ (line 74) | def __init__(self, method loss (line 87) | def loss(self, method get_pos_loss (line 202) | def get_pos_loss(self, anchors, cls_score, bbox_pred, label, label_wei... method paa_reassign (line 258) | def paa_reassign(self, pos_losses, label, label_weight, bbox_weight, method gmm_separation_scheme (line 367) | def gmm_separation_scheme(self, gmm_assignment, scores, pos_inds_gmm): method get_targets (line 402) | def get_targets( method _get_targets_single (line 494) | def _get_targets_single(self, method get_bboxes (line 521) | def get_bboxes(self, method _get_bboxes_single (line 537) | def _get_bboxes_single(self, method _bbox_post_process (line 620) | def _bbox_post_process(self, method score_voting (line 693) | def score_voting(self, det_bboxes, det_labels, mlvl_bboxes, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/pisa_retinanet_head.py class PISARetinaHead (line 12) | class PISARetinaHead(RetinaHead): method loss (line 23) | def loss(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/pisa_ssd_head.py class PISASSDHead (line 12) | class PISASSDHead(SSDHead): method loss (line 14) | def loss(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/reppoints_head.py class RepPointsHead (line 17) | class RepPointsHead(AnchorFreeHead): method __init__ (line 36) | def __init__(self, method _init_layers (line 126) | def _init_layers(self): method points2bbox (line 170) | def points2bbox(self, pts, y_first=True): method gen_grid_from_reg (line 221) | def gen_grid_from_reg(self, reg, previous_boxes): method forward (line 255) | def forward(self, feats): method forward_single (line 258) | def forward_single(self, x): method get_points (line 304) | def get_points(self, featmap_sizes, img_metas, device): method centers_to_bboxes (line 332) | def centers_to_bboxes(self, point_list): method offset_to_pts (line 350) | def offset_to_pts(self, center_list, pred_list): method _point_target_single (line 371) | def _point_target_single(self, method get_targets (line 442) | def get_targets(self, method loss_single (line 525) | def loss_single(self, cls_score, pts_pred_init, pts_pred_refine, labels, method loss (line 563) | def loss(self, method _get_bboxes_single (line 659) | def _get_bboxes_single(self, method _bbox_decode (line 756) | def _bbox_decode(self, points, bbox_pred, stride, max_shape): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/retina_head.py class RetinaHead (line 10) | class RetinaHead(AnchorHead): method __init__ (line 29) | def __init__(self, method _init_layers (line 61) | def _init_layers(self): method forward_single (line 94) | def forward_single(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/retina_sepbn_head.py class RetinaSepBNHead (line 10) | class RetinaSepBNHead(AnchorHead): method __init__ (line 18) | def __init__(self, method _init_layers (line 36) | def _init_layers(self): method init_weights (line 78) | def init_weights(self): method forward (line 89) | def forward(self, feats): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/rpn_head.py class RPNHead (line 15) | class RPNHead(AnchorHead): method __init__ (line 24) | def __init__(self, method _init_layers (line 33) | def _init_layers(self): method forward_single (line 62) | def forward_single(self, x): method loss (line 70) | def loss(self, method _get_bboxes_single (line 103) | def _get_bboxes_single(self, method _bbox_post_process (line 189) | def _bbox_post_process(self, mlvl_scores, mlvl_bboxes, mlvl_valid_anch... method onnx_export (line 237) | def onnx_export(self, x, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/sabl_retina_head.py class SABLRetinaHead (line 21) | class SABLRetinaHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 54) | def __init__(self, method num_anchors (line 158) | def num_anchors(self): method _init_layers (line 163) | def _init_layers(self): method forward_single (line 194) | def forward_single(self, x): method forward (line 207) | def forward(self, feats): method get_anchors (line 210) | def get_anchors(self, featmap_sizes, img_metas, device='cuda'): method get_target (line 231) | def get_target(self, method _get_target_single (line 331) | def _get_target_single(self, method loss_single (line 448) | def loss_single(self, cls_score, bbox_pred, labels, label_weights, method loss (line 481) | def loss(self, method get_bboxes (line 535) | def get_bboxes(self, method _get_bboxes_single (line 567) | def _get_bboxes_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/solo_head.py class SOLOHead (line 17) | class SOLOHead(BaseMaskHead): method __init__ (line 50) | def __init__( method _init_layers (line 103) | def _init_layers(self): method resize_feats (line 133) | def resize_feats(self, feats): method forward (line 155) | def forward(self, feats): method loss (line 201) | def loss(self, method _get_targets_single (line 291) | def _get_targets_single(self, method get_results (line 439) | def get_results(self, mlvl_mask_preds, mlvl_cls_scores, img_metas, method _get_results_single (line 488) | def _get_results_single(self, cls_scores, mask_preds, img_meta, cfg=No... class DecoupledSOLOHead (line 590) | class DecoupledSOLOHead(SOLOHead): method __init__ (line 599) | def __init__(self, method _init_layers (line 623) | def _init_layers(self): method forward (line 667) | def forward(self, feats): method loss (line 728) | def loss(self, method _get_targets_single (line 831) | def _get_targets_single(self, method get_results (line 874) | def get_results(self, method _get_results_single (line 939) | def _get_results_single(self, cls_scores, mask_preds_x, mask_preds_y, class DecoupledSOLOLightHead (line 1063) | class DecoupledSOLOLightHead(DecoupledSOLOHead): method __init__ (line 1073) | def __init__(self, method _init_layers (line 1100) | def _init_layers(self): method forward (line 1143) | def forward(self, feats): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/solov2_head.py class MaskFeatModule (line 19) | class MaskFeatModule(BaseModule): method __init__ (line 42) | def __init__(self, method _init_layers (line 66) | def _init_layers(self): method forward (line 134) | def forward(self, feats): class SOLOV2Head (line 154) | class SOLOV2Head(SOLOHead): method __init__ (line 170) | def __init__(self, method _init_layers (line 211) | def _init_layers(self): method forward (line 254) | def forward(self, feats): method _get_targets_single (line 294) | def _get_targets_single(self, method loss (line 462) | def loss(self, method get_results (line 584) | def get_results(self, mlvl_kernel_preds, mlvl_cls_scores, mask_feats, method _get_results_single (line 645) | def _get_results_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/ssd_head.py class SSDHead (line 19) | class SSDHead(AnchorHead): method __init__ (line 50) | def __init__(self, method num_anchors (line 116) | def num_anchors(self): method _init_layers (line 125) | def _init_layers(self): method forward (line 196) | def forward(self, feats): method loss_single (line 220) | def loss_single(self, cls_score, bbox_pred, anchor, labels, label_weig... method loss (line 279) | def loss(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/tood_head.py class TaskDecomposition (line 17) | class TaskDecomposition(nn.Module): method __init__ (line 28) | def __init__(self, method init_weights (line 58) | def init_weights(self): method forward (line 64) | def forward(self, feat, avg_feat=None): class TOODHead (line 90) | class TOODHead(ATSSHead): method __init__ (line 113) | def __init__(self, method _init_layers (line 142) | def _init_layers(self): method init_weights (line 191) | def init_weights(self): method forward (line 210) | def forward(self, feats): method deform_sampling (line 284) | def deform_sampling(self, feat, offset): method anchor_center (line 297) | def anchor_center(self, anchors): method loss_single (line 310) | def loss_single(self, anchors, cls_score, bbox_pred, labels, label_wei... method loss (line 383) | def loss(self, method _get_bboxes_single (line 462) | def _get_bboxes_single(self, method get_targets (line 549) | def get_targets(self, method _get_target_single (line 664) | def _get_target_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/vfnet_head.py class VFNetHead (line 22) | class VFNetHead(ATSSHead, FCOSHead): method __init__ (line 68) | def __init__(self, method num_anchors (line 176) | def num_anchors(self): method anchor_generator (line 186) | def anchor_generator(self): method _init_layers (line 191) | def _init_layers(self): method forward (line 226) | def forward(self, feats): method forward_single (line 248) | def forward_single(self, x, scale, scale_refine, stride, reg_denom): method star_dcn_offset (line 309) | def star_dcn_offset(self, bbox_pred, gradient_mul, stride): method loss (line 351) | def loss(self, method get_targets (line 500) | def get_targets(self, cls_scores, mlvl_points, gt_bboxes, gt_labels, method _get_target_single (line 535) | def _get_target_single(self, *args, **kwargs): method get_fcos_targets (line 542) | def get_fcos_targets(self, points, gt_bboxes_list, gt_labels_list): method get_anchors (line 568) | def get_anchors(self, featmap_sizes, img_metas, device='cuda'): method get_atss_targets (line 598) | def get_atss_targets(self, method transform_bbox_targets (line 677) | def transform_bbox_targets(self, decoded_bboxes, mlvl_points, num_imgs): method _load_from_state_dict (line 703) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... method _get_points_single (line 709) | def _get_points_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/yolact_head.py class YOLACTHead (line 16) | class YOLACTHead(AnchorHead): method __init__ (line 44) | def __init__(self, method _init_layers (line 89) | def _init_layers(self): method forward_single (line 117) | def forward_single(self, x): method loss (line 140) | def loss(self, method loss_single_OHEM (line 261) | def loss_single_OHEM(self, cls_score, bbox_pred, anchors, labels, method get_bboxes (line 297) | def get_bboxes(self, method _get_bboxes_single (line 358) | def _get_bboxes_single(self, class YOLACTSegmHead (line 457) | class YOLACTSegmHead(BaseModule): method __init__ (line 472) | def __init__(self, method _init_layers (line 490) | def _init_layers(self): method forward (line 495) | def forward(self, x): method loss (line 509) | def loss(self, segm_pred, gt_masks, gt_labels): method get_targets (line 542) | def get_targets(self, segm_pred, gt_masks, gt_labels): method simple_test (line 572) | def simple_test(self, feats, img_metas, rescale=False): class YOLACTProtonet (line 580) | class YOLACTProtonet(BaseModule): method __init__ (line 599) | def __init__(self, method _init_layers (line 625) | def _init_layers(self): method forward_dummy (line 662) | def forward_dummy(self, x): method forward (line 666) | def forward(self, x, coeff_pred, bboxes, img_meta, sampling_results=No... method loss (line 743) | def loss(self, mask_pred, gt_masks, gt_bboxes, img_meta, sampling_resu... method get_targets (line 816) | def get_targets(self, mask_pred, gt_masks, pos_assigned_gt_inds): method get_seg_masks (line 841) | def get_seg_masks(self, mask_pred, label_pred, img_meta, rescale): method crop (line 876) | def crop(self, masks, boxes, padding=1): method sanitize_coordinates (line 910) | def sanitize_coordinates(self, x1, x2, img_size, padding=0, cast=True): method simple_test (line 941) | def simple_test(self, class InterpolateModule (line 1004) | class InterpolateModule(BaseModule): method __init__ (line 1010) | def __init__(self, *args, init_cfg=None, **kwargs): method forward (line 1016) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/yolo_head.py class YOLOV3Head (line 23) | class YOLOV3Head(BaseDenseHead, BBoxTestMixin): method __init__ (line 51) | def __init__(self, method anchor_generator (line 125) | def anchor_generator(self): method num_anchors (line 132) | def num_anchors(self): method num_levels (line 142) | def num_levels(self): method num_attrib (line 146) | def num_attrib(self): method _init_layers (line 152) | def _init_layers(self): method init_weights (line 170) | def init_weights(self): method forward (line 186) | def forward(self, feats): method get_bboxes (line 209) | def get_bboxes(self, method loss (line 301) | def loss(self, method loss_single (line 352) | def loss_single(self, pred_map, target_map, neg_map): method get_targets (line 397) | def get_targets(self, anchor_list, responsible_flag_list, gt_bboxes_list, method _get_targets_single (line 433) | def _get_targets_single(self, anchors, responsible_flags, gt_bboxes, method aug_test (line 494) | def aug_test(self, feats, img_metas, rescale=False): method onnx_export (line 513) | def onnx_export(self, pred_maps, img_metas, with_nms=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/yolof_head.py function levels_to_images (line 15) | def levels_to_images(mlvl_tensor): class YOLOFHead (line 43) | class YOLOFHead(AnchorHead): method __init__ (line 56) | def __init__(self, method _init_layers (line 68) | def _init_layers(self): method init_weights (line 108) | def init_weights(self): method forward_single (line 119) | def forward_single(self, feature): method loss (line 137) | def loss(self, method get_targets (line 224) | def get_targets(self, method _get_targets_single (line 311) | def _get_targets_single(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/dense_heads/yolox_head.py class YOLOXHead (line 22) | class YOLOXHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 53) | def __init__(self, method _init_layers (line 131) | def _init_layers(self): method _build_stacked_convs (line 145) | def _build_stacked_convs(self): method _build_predictor (line 169) | def _build_predictor(self): method init_weights (line 176) | def init_weights(self): method forward_single (line 185) | def forward_single(self, x, cls_convs, reg_convs, conv_cls, conv_reg, method forward (line 198) | def forward(self, feats): method get_bboxes (line 217) | def get_bboxes(self, method _bbox_decode (line 301) | def _bbox_decode(self, priors, bbox_preds): method _bboxes_nms (line 313) | def _bboxes_nms(self, cls_scores, bboxes, score_factor, cfg): method loss (line 328) | def loss(self, method _get_target_single (line 426) | def _get_target_single(self, cls_preds, objectness, priors, decoded_bb... method _get_l1_target (line 488) | def _get_l1_target(self, l1_target, gt_bboxes, priors, eps=1e-8): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/atss.py class ATSS (line 7) | class ATSS(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/autoassign.py class AutoAssign (line 7) | class AutoAssign(SingleStageDetector): method __init__ (line 11) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/base.py class BaseDetector (line 14) | class BaseDetector(BaseModule, metaclass=ABCMeta): method __init__ (line 17) | def __init__(self, init_cfg=None): method with_neck (line 22) | def with_neck(self): method with_shared_head (line 29) | def with_shared_head(self): method with_bbox (line 34) | def with_bbox(self): method with_mask (line 40) | def with_mask(self): method extract_feat (line 46) | def extract_feat(self, imgs): method extract_feats (line 50) | def extract_feats(self, imgs): method forward_train (line 63) | def forward_train(self, imgs, img_metas, **kwargs): method async_simple_test (line 82) | async def async_simple_test(self, img, img_metas, **kwargs): method simple_test (line 86) | def simple_test(self, img, img_metas, **kwargs): method aug_test (line 90) | def aug_test(self, imgs, img_metas, **kwargs): method aforward_test (line 94) | async def aforward_test(self, *, img, img_metas, **kwargs): method forward_test (line 112) | def forward_test(self, imgs, img_metas, **kwargs): method forward (line 157) | def forward(self, img, img_metas, return_loss=True, **kwargs): method _parse_losses (line 176) | def _parse_losses(self, losses): method train_step (line 221) | def train_step(self, data, optimizer): method val_step (line 256) | def val_step(self, data, optimizer=None): method show_result (line 271) | def show_result(self, method onnx_export (line 358) | def onnx_export(self, img, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/cascade_rcnn.py class CascadeRCNN (line 7) | class CascadeRCNN(TwoStageDetector): method __init__ (line 11) | def __init__(self, method show_result (line 30) | def show_result(self, data, result, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/centernet.py class CenterNet (line 11) | class CenterNet(SingleStageDetector): method __init__ (line 17) | def __init__(self, method merge_aug_results (line 28) | def merge_aug_results(self, aug_results, with_nms): method aug_test (line 54) | def aug_test(self, imgs, img_metas, rescale=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/cornernet.py class CornerNet (line 10) | class CornerNet(SingleStageDetector): method __init__ (line 17) | def __init__(self, method merge_aug_results (line 28) | def merge_aug_results(self, aug_results, img_metas): method aug_test (line 62) | def aug_test(self, imgs, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/ddod.py class DDOD (line 7) | class DDOD(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/deformable_detr.py class DeformableDETR (line 7) | class DeformableDETR(DETR): method __init__ (line 9) | def __init__(self, *args, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/detr.py class DETR (line 11) | class DETR(SingleStageDetector): method __init__ (line 15) | def __init__(self, method forward_dummy (line 27) | def forward_dummy(self, img): method onnx_export (line 50) | def onnx_export(self, img, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/fast_rcnn.py class FastRCNN (line 7) | class FastRCNN(TwoStageDetector): method __init__ (line 10) | def __init__(self, method forward_test (line 27) | def forward_test(self, imgs, img_metas, proposals, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/faster_rcnn.py class FasterRCNN (line 7) | class FasterRCNN(TwoStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/fcos.py class FCOS (line 7) | class FCOS(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/fovea.py class FOVEA (line 7) | class FOVEA(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/fsaf.py class FSAF (line 7) | class FSAF(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/gfl.py class GFL (line 7) | class GFL(SingleStageDetector): method __init__ (line 9) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/grid_rcnn.py class GridRCNN (line 7) | class GridRCNN(TwoStageDetector): method __init__ (line 15) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/htc.py class HybridTaskCascade (line 7) | class HybridTaskCascade(CascadeRCNN): method __init__ (line 10) | def __init__(self, **kwargs): method with_semantic (line 14) | def with_semantic(self): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/kd_one_stage.py class KnowledgeDistillationSingleStageDetector (line 14) | class KnowledgeDistillationSingleStageDetector(SingleStageDetector): method __init__ (line 25) | def __init__(self, method forward_train (line 46) | def forward_train(self, method cuda (line 78) | def cuda(self, device=None): method train (line 84) | def train(self, mode=True): method __setattr__ (line 92) | def __setattr__(self, name, value): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/lad.py class LAD (line 11) | class LAD(KnowledgeDistillationSingleStageDetector): method __init__ (line 14) | def __init__(self, method with_teacher_neck (line 42) | def with_teacher_neck(self): method extract_teacher_feat (line 47) | def extract_teacher_feat(self, img): method forward_train (line 54) | def forward_train(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/mask2former.py class Mask2Former (line 7) | class Mask2Former(MaskFormer): method __init__ (line 12) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/mask_rcnn.py class MaskRCNN (line 7) | class MaskRCNN(TwoStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/mask_scoring_rcnn.py class MaskScoringRCNN (line 7) | class MaskScoringRCNN(TwoStageDetector): method __init__ (line 13) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/maskformer.py class MaskFormer (line 14) | class MaskFormer(SingleStageDetector): method __init__ (line 19) | def __init__(self, method forward_dummy (line 52) | def forward_dummy(self, img, img_metas): method forward_train (line 70) | def forward_train(self, method simple_test (line 113) | def simple_test(self, imgs, img_metas, **kwargs): method aug_test (line 181) | def aug_test(self, imgs, img_metas, **kwargs): method onnx_export (line 184) | def onnx_export(self, img, img_metas): method _show_pan_result (line 187) | def _show_pan_result(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/nasfcos.py class NASFCOS (line 7) | class NASFCOS(SingleStageDetector): method __init__ (line 13) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/paa.py class PAA (line 7) | class PAA(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/panoptic_fpn.py class PanopticFPN (line 7) | class PanopticFPN(TwoStagePanopticSegmentor): method __init__ (line 11) | def __init__( FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/panoptic_two_stage_segmentor.py class TwoStagePanopticSegmentor (line 14) | class TwoStagePanopticSegmentor(TwoStageDetector): method __init__ (line 21) | def __init__( method with_semantic_head (line 52) | def with_semantic_head(self): method with_panoptic_fusion_head (line 57) | def with_panoptic_fusion_head(self): method forward_dummy (line 61) | def forward_dummy(self, img): method forward_train (line 69) | def forward_train(self, method simple_test_mask (line 108) | def simple_test_mask(self, method simple_test (line 169) | def simple_test(self, img, img_metas, proposals=None, rescale=False): method show_result (line 208) | def show_result(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/point_rend.py class PointRend (line 7) | class PointRend(TwoStageDetector): method __init__ (line 15) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/queryinst.py class QueryInst (line 7) | class QueryInst(SparseRCNN): method __init__ (line 11) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/reppoints_detector.py class RepPointsDetector (line 7) | class RepPointsDetector(SingleStageDetector): method __init__ (line 14) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/retinanet.py class RetinaNet (line 7) | class RetinaNet(SingleStageDetector): method __init__ (line 10) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/rpn.py class RPN (line 15) | class RPN(BaseDetector): method __init__ (line 18) | def __init__(self, method extract_feat (line 40) | def extract_feat(self, img): method forward_dummy (line 55) | def forward_dummy(self, img): method forward_train (line 61) | def forward_train(self, method simple_test (line 92) | def simple_test(self, img, img_metas, rescale=False): method aug_test (line 118) | def aug_test(self, imgs, img_metas, rescale=False): method show_result (line 143) | def show_result(self, data, result, top_k=20, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/scnet.py class SCNet (line 7) | class SCNet(CascadeRCNN): method __init__ (line 10) | def __init__(self, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/single_stage.py class SingleStageDetector (line 12) | class SingleStageDetector(BaseDetector): method __init__ (line 19) | def __init__(self, method extract_feat (line 41) | def extract_feat(self, img): method forward_dummy (line 48) | def forward_dummy(self, img): method forward_train (line 57) | def forward_train(self, method simple_test (line 87) | def simple_test(self, img, img_metas, rescale=False): method aug_test (line 110) | def aug_test(self, imgs, img_metas, rescale=False): method onnx_export (line 141) | def onnx_export(self, img, img_metas, with_nms=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/single_stage_instance_seg.py class SingleStageInstanceSegmentor (line 17) | class SingleStageInstanceSegmentor(BaseDetector): method __init__ (line 20) | def __init__(self, method extract_feat (line 56) | def extract_feat(self, img): method forward_dummy (line 63) | def forward_dummy(self, img): method forward_train (line 71) | def forward_train(self, method simple_test (line 142) | def simple_test(self, img, img_metas, rescale=False): method format_results (line 184) | def format_results(self, results): method aug_test (line 252) | def aug_test(self, imgs, img_metas, rescale=False): method show_result (line 255) | def show_result(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/solo.py class SOLO (line 7) | class SOLO(SingleStageInstanceSegmentor): method __init__ (line 13) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/solov2.py class SOLOv2 (line 7) | class SOLOv2(SingleStageInstanceSegmentor): method __init__ (line 13) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/sparse_rcnn.py class SparseRCNN (line 7) | class SparseRCNN(TwoStageDetector): method __init__ (line 11) | def __init__(self, *args, **kwargs): method forward_train (line 16) | def forward_train(self, method simple_test (line 67) | def simple_test(self, img, img_metas, rescale=False): method forward_dummy (line 93) | def forward_dummy(self, img): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/tood.py class TOOD (line 7) | class TOOD(SingleStageDetector): method __init__ (line 11) | def __init__(self, method set_epoch (line 22) | def set_epoch(self, epoch): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/trident_faster_rcnn.py class TridentFasterRCNN (line 7) | class TridentFasterRCNN(FasterRCNN): method __init__ (line 10) | def __init__(self, method simple_test (line 34) | def simple_test(self, img, img_metas, proposals=None, rescale=False): method aug_test (line 49) | def aug_test(self, imgs, img_metas, rescale=False): method forward_train (line 62) | def forward_train(self, img, img_metas, gt_bboxes, gt_labels, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/two_stage.py class TwoStageDetector (line 11) | class TwoStageDetector(BaseDetector): method __init__ (line 18) | def __init__(self, method with_rpn (line 56) | def with_rpn(self): method with_roi_head (line 61) | def with_roi_head(self): method extract_feat (line 65) | def extract_feat(self, img): method forward_dummy (line 72) | def forward_dummy(self, img): method forward_train (line 90) | def forward_train(self, method async_simple_test (line 155) | async def async_simple_test(self, method simple_test (line 173) | def simple_test(self, img, img_metas, proposals=None, rescale=False): method aug_test (line 186) | def aug_test(self, imgs, img_metas, rescale=False): method onnx_export (line 197) | def onnx_export(self, img, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/vfnet.py class VFNet (line 7) | class VFNet(SingleStageDetector): method __init__ (line 11) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/yolact.py class YOLACT (line 10) | class YOLACT(SingleStageDetector): method __init__ (line 13) | def __init__(self, method forward_dummy (line 28) | def forward_dummy(self, img): method forward_train (line 38) | def forward_train(self, method simple_test (line 97) | def simple_test(self, img, img_metas, rescale=False): method aug_test (line 117) | def aug_test(self, imgs, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/yolo.py class YOLOV3 (line 10) | class YOLOV3(SingleStageDetector): method __init__ (line 12) | def __init__(self, method onnx_export (line 23) | def onnx_export(self, img, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/yolof.py class YOLOF (line 7) | class YOLOF(SingleStageDetector): method __init__ (line 11) | def __init__(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/detectors/yolox.py class YOLOX (line 15) | class YOLOX(SingleStageDetector): method __init__ (line 46) | def __init__(self, method forward_train (line 69) | def forward_train(self, method _preprocess (line 105) | def _preprocess(self, img, gt_bboxes): method _random_resize (line 119) | def _random_resize(self, device): FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/accuracy.py function accuracy (line 7) | def accuracy(pred, target, topk=1, thresh=None): class Accuracy (line 54) | class Accuracy(nn.Module): method __init__ (line 56) | def __init__(self, topk=(1, ), thresh=None): method forward (line 69) | def forward(self, pred, target): FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/ae_loss.py function ae_loss_per_image (line 11) | def ae_loss_per_image(tl_preds, br_preds, match): class AssociativeEmbeddingLoss (line 75) | class AssociativeEmbeddingLoss(nn.Module): method __init__ (line 88) | def __init__(self, pull_weight=0.25, push_weight=0.25): method forward (line 93) | def forward(self, pred, target, match): FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/balanced_l1_loss.py function balanced_l1_loss (line 13) | def balanced_l1_loss(pred, class BalancedL1Loss (line 57) | class BalancedL1Loss(nn.Module): method __init__ (line 74) | def __init__(self, method forward (line 87) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/cross_entropy_loss.py function cross_entropy (line 12) | def cross_entropy(pred, function _expand_onehot_labels (line 64) | def _expand_onehot_labels(labels, label_weights, label_channels, ignore_... function binary_cross_entropy (line 85) | def binary_cross_entropy(pred, function mask_cross_entropy (line 148) | def mask_cross_entropy(pred, class CrossEntropyLoss (line 201) | class CrossEntropyLoss(nn.Module): method __init__ (line 203) | def __init__(self, method extra_repr (line 252) | def extra_repr(self): method forward (line 257) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/dice_loss.py function dice_loss (line 9) | def dice_loss(pred, class DiceLoss (line 66) | class DiceLoss(nn.Module): method __init__ (line 68) | def __init__(self, method forward (line 103) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/focal_loss.py function py_sigmoid_focal_loss (line 12) | def py_sigmoid_focal_loss(pred, function py_focal_loss_with_prob (line 60) | def py_focal_loss_with_prob(pred, function sigmoid_focal_loss (line 113) | def sigmoid_focal_loss(pred, class FocalLoss (line 160) | class FocalLoss(nn.Module): method __init__ (line 162) | def __init__(self, method forward (line 196) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/gaussian_focal_loss.py function gaussian_focal_loss (line 11) | def gaussian_focal_loss(pred, gaussian_target, alpha=2.0, gamma=4.0): class GaussianFocalLoss (line 33) | class GaussianFocalLoss(nn.Module): method __init__ (line 50) | def __init__(self, method forward (line 61) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/gfocal_loss.py function quality_focal_loss (line 12) | def quality_focal_loss(pred, target, beta=2.0): function quality_focal_loss_with_prob (line 56) | def quality_focal_loss_with_prob(pred, target, beta=2.0): function distribution_focal_loss (line 103) | def distribution_focal_loss(pred, label): class QualityFocalLoss (line 128) | class QualityFocalLoss(nn.Module): method __init__ (line 146) | def __init__(self, method forward (line 160) | def forward(self, class DistributionFocalLoss (line 203) | class DistributionFocalLoss(nn.Module): method __init__ (line 213) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 218) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/ghm_loss.py function _expand_onehot_labels (line 10) | def _expand_onehot_labels(labels, label_weights, label_channels): class GHMC (line 23) | class GHMC(nn.Module): method __init__ (line 39) | def __init__(self, method forward (line 60) | def forward(self, class GHMR (line 122) | class GHMR(nn.Module): method __init__ (line 138) | def __init__(self, method forward (line 158) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/iou_loss.py function iou_loss (line 16) | def iou_loss(pred, target, linear=False, mode='log', eps=1e-6): function bounded_iou_loss (line 55) | def bounded_iou_loss(pred, target, beta=0.2, eps=1e-3): function giou_loss (line 102) | def giou_loss(pred, target, eps=1e-7): function diou_loss (line 122) | def diou_loss(pred, target, eps=1e-7): function ciou_loss (line 177) | def ciou_loss(pred, target, eps=1e-7): class IoULoss (line 241) | class IoULoss(nn.Module): method __init__ (line 256) | def __init__(self, method forward (line 275) | def forward(self, class BoundedIoULoss (line 322) | class BoundedIoULoss(nn.Module): method __init__ (line 324) | def __init__(self, beta=0.2, eps=1e-3, reduction='mean', loss_weight=1... method forward (line 331) | def forward(self, class GIoULoss (line 358) | class GIoULoss(nn.Module): method __init__ (line 360) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 366) | def forward(self, class DIoULoss (line 398) | class DIoULoss(nn.Module): method __init__ (line 400) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 406) | def forward(self, class CIoULoss (line 438) | class CIoULoss(nn.Module): method __init__ (line 440) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 446) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/kd_loss.py function knowledge_distillation_kl_div_loss (line 12) | def knowledge_distillation_kl_div_loss(pred, class KnowledgeDistillationKLDivLoss (line 40) | class KnowledgeDistillationKLDivLoss(nn.Module): method __init__ (line 49) | def __init__(self, reduction='mean', loss_weight=1.0, T=10): method forward (line 56) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/mse_loss.py function mse_loss (line 10) | def mse_loss(pred, target): class MSELoss (line 16) | class MSELoss(nn.Module): method __init__ (line 25) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 30) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/pisa_loss.py function isr_p (line 9) | def isr_p(cls_score, function carl_loss (line 123) | def carl_loss(cls_score, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/seesaw_loss.py function seesaw_ce_loss (line 12) | def seesaw_ce_loss(cls_score, class SeesawLoss (line 80) | class SeesawLoss(nn.Module): method __init__ (line 103) | def __init__(self, method _split_cls_score (line 138) | def _split_cls_score(self, cls_score): method get_cls_channels (line 145) | def get_cls_channels(self, num_classes): method get_activation (line 157) | def get_activation(self, cls_score): method get_accuracy (line 177) | def get_accuracy(self, cls_score, labels): method forward (line 199) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/smooth_l1_loss.py function smooth_l1_loss (line 12) | def smooth_l1_loss(pred, target, beta=1.0): function l1_loss (line 37) | def l1_loss(pred, target): class SmoothL1Loss (line 56) | class SmoothL1Loss(nn.Module): method __init__ (line 67) | def __init__(self, beta=1.0, reduction='mean', loss_weight=1.0): method forward (line 73) | def forward(self, class L1Loss (line 108) | class L1Loss(nn.Module): method __init__ (line 117) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 122) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/utils.py function reduce_loss (line 9) | def reduce_loss(loss, reduction): function weight_reduce_loss (line 30) | def weight_reduce_loss(loss, weight=None, reduction='mean', avg_factor=N... function weighted_loss (line 62) | def weighted_loss(loss_func): FILE: DLTA_AI_app/mmdetection/mmdet/models/losses/varifocal_loss.py function varifocal_loss (line 11) | def varifocal_loss(pred, class VarifocalLoss (line 60) | class VarifocalLoss(nn.Module): method __init__ (line 62) | def __init__(self, method forward (line 97) | def forward(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/bfp.py class BFP (line 11) | class BFP(BaseModule): method __init__ (line 33) | def __init__(self, method forward (line 70) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/channel_mapper.py class ChannelMapper (line 10) | class ChannelMapper(BaseModule): method __init__ (line 46) | def __init__(self, method forward (line 90) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/ct_resnet_neck.py class CTResNetNeck (line 12) | class CTResNetNeck(BaseModule): method __init__ (line 24) | def __init__(self, method _make_deconv_layer (line 38) | def _make_deconv_layer(self, num_deconv_filters, num_deconv_kernels): method init_weights (line 64) | def init_weights(self): method forward (line 91) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/dilated_encoder.py class Bottleneck (line 10) | class Bottleneck(nn.Module): method __init__ (line 24) | def __init__(self, method forward (line 42) | def forward(self, x): class DilatedEncoder (line 52) | class DilatedEncoder(nn.Module): method __init__ (line 68) | def __init__(self, in_channels, out_channels, block_mid_channels, method _init_layers (line 78) | def _init_layers(self): method init_weights (line 95) | def init_weights(self): method forward (line 106) | def forward(self, feature): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/dyhead.py class DyDCNv2 (line 17) | class DyDCNv2(nn.Module): method __init__ (line 32) | def __init__(self, method forward (line 45) | def forward(self, x, offset, mask): class DyHeadBlock (line 53) | class DyHeadBlock(nn.Module): method __init__ (line 69) | def __init__(self, method _init_weights (line 91) | def _init_weights(self): method forward (line 98) | def forward(self, x): class DyHead (line 132) | class DyHead(BaseModule): method __init__ (line 148) | def __init__(self, method forward (line 172) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/fpg.py class Transition (line 10) | class Transition(BaseModule): method __init__ (line 18) | def __init__(self, in_channels, out_channels, init_cfg=None): method forward (line 23) | def forward(x): class UpInterpolationConv (line 27) | class UpInterpolationConv(Transition): method __init__ (line 43) | def __init__(self, method forward (line 63) | def forward(self, x): class LastConv (line 73) | class LastConv(Transition): method __init__ (line 83) | def __init__(self, method forward (line 99) | def forward(self, inputs): class FPG (line 105) | class FPG(BaseModule): method __init__ (line 150) | def __init__(self, method build_trans (line 317) | def build_trans(self, cfg, in_channels, out_channels, **extra_args): method fuse (line 323) | def fuse(self, fuse_dict): method forward (line 333) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/fpn.py class FPN (line 11) | class FPN(BaseModule): method __init__ (line 62) | def __init__(self, method forward (line 152) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/fpn_carafe.py class FPN_CARAFE (line 11) | class FPN_CARAFE(BaseModule): method __init__ (line 37) | def __init__(self, method init_weights (line 209) | def init_weights(self): method slice_as (line 219) | def slice_as(self, src, dst): method tensor_add (line 239) | def tensor_add(self, a, b): method forward (line 247) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/hrfpn.py class HRFPN (line 13) | class HRFPN(BaseModule): method __init__ (line 33) | def __init__(self, method forward (line 77) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/nas_fpn.py class NASFPN (line 11) | class NASFPN(BaseModule): method __init__ (line 33) | def __init__(self, method forward (line 127) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/nasfcos_fpn.py class NASFCOS_FPN (line 12) | class NASFCOS_FPN(BaseModule): method __init__ (line 35) | def __init__(self, method forward (line 123) | def forward(self, inputs): method init_weights (line 157) | def init_weights(self): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/pafpn.py class PAFPN (line 12) | class PAFPN(FPN): method __init__ (line 46) | def __init__(self, method forward (line 100) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/rfp.py class ASPP (line 12) | class ASPP(BaseModule): method __init__ (line 26) | def __init__(self, method forward (line 48) | def forward(self, x): class RFP (line 60) | class RFP(FPN): method __init__ (line 78) | def __init__(self, method init_weights (line 105) | def init_weights(self): method forward (line 117) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/ssd_neck.py class SSDNeck (line 11) | class SSDNeck(BaseModule): method __init__ (line 33) | def __init__(self, method forward (line 93) | def forward(self, inputs): class L2Norm (line 106) | class L2Norm(nn.Module): method __init__ (line 108) | def __init__(self, n_dims, scale=20., eps=1e-10): method forward (line 123) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/yolo_neck.py class DetectionBlock (line 12) | class DetectionBlock(BaseModule): method __init__ (line 35) | def __init__(self, method forward (line 55) | def forward(self, x): class YOLOV3Neck (line 65) | class YOLOV3Neck(BaseModule): method __init__ (line 92) | def __init__(self, method forward (line 120) | def forward(self, feats): FILE: DLTA_AI_app/mmdetection/mmdet/models/necks/yolox_pafpn.py class YOLOXPAFPN (line 14) | class YOLOXPAFPN(BaseModule): method __init__ (line 35) | def __init__(self, method forward (line 117) | def forward(self, inputs): FILE: DLTA_AI_app/mmdetection/mmdet/models/plugins/dropblock.py class DropBlock (line 11) | class DropBlock(nn.Module): method __init__ (line 25) | def __init__(self, drop_prob, block_size, warmup_iters=2000, **kwargs): method forward (line 35) | def forward(self, x): method _compute_gamma (line 62) | def _compute_gamma(self, feat_size): method extra_repr (line 83) | def extra_repr(self): FILE: DLTA_AI_app/mmdetection/mmdet/models/plugins/msdeformattn_pixel_decoder.py class MSDeformAttnPixelDecoder (line 16) | class MSDeformAttnPixelDecoder(BaseModule): method __init__ (line 40) | def __init__(self, method init_weights (line 135) | def init_weights(self): method forward (line 161) | def forward(self, feats): FILE: DLTA_AI_app/mmdetection/mmdet/models/plugins/pixel_decoder.py class PixelDecoder (line 12) | class PixelDecoder(BaseModule): method __init__ (line 34) | def __init__(self, method init_weights (line 79) | def init_weights(self): method forward (line 88) | def forward(self, feats, img_metas): class TransformerEncoderPixelDecoder (line 116) | class TransformerEncoderPixelDecoder(PixelDecoder): method __init__ (line 138) | def __init__(self, method init_weights (line 178) | def init_weights(self): method forward (line 192) | def forward(self, feats, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/base_roi_head.py class BaseRoIHead (line 9) | class BaseRoIHead(BaseModule, metaclass=ABCMeta): method __init__ (line 12) | def __init__(self, method with_bbox (line 38) | def with_bbox(self): method with_mask (line 43) | def with_mask(self): method with_shared_head (line 48) | def with_shared_head(self): method init_bbox_head (line 53) | def init_bbox_head(self): method init_mask_head (line 58) | def init_mask_head(self): method init_assigner_sampler (line 63) | def init_assigner_sampler(self): method forward_train (line 68) | def forward_train(self, method async_simple_test (line 79) | async def async_simple_test(self, method simple_test (line 89) | def simple_test(self, method aug_test (line 98) | def aug_test(self, x, proposal_list, img_metas, rescale=False, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/bbox_heads/bbox_head.py class BBoxHead (line 15) | class BBoxHead(BaseModule): method __init__ (line 19) | def __init__(self, method custom_cls_channels (line 97) | def custom_cls_channels(self): method custom_activation (line 101) | def custom_activation(self): method custom_accuracy (line 105) | def custom_accuracy(self): method forward (line 109) | def forward(self, x): method _get_target_single (line 122) | def _get_target_single(self, pos_bboxes, neg_bboxes, pos_gt_bboxes, method get_targets (line 189) | def get_targets(self, method loss (line 257) | def loss(self, method get_bboxes (line 316) | def get_bboxes(self, method refine_bboxes (line 381) | def refine_bboxes(self, rois, labels, bbox_preds, pos_is_gts, img_metas): method regress_by_class (line 460) | def regress_by_class(self, rois, label, bbox_pred, img_meta): method onnx_export (line 499) | def onnx_export(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/bbox_heads/convfc_bbox_head.py class ConvFCBBoxHead (line 11) | class ConvFCBBoxHead(BBoxHead): method __init__ (line 22) | def __init__(self, method _add_conv_fc_branch (line 118) | def _add_conv_fc_branch(self, method forward (line 159) | def forward(self, x): class Shared2FCBBoxHead (line 201) | class Shared2FCBBoxHead(ConvFCBBoxHead): method __init__ (line 203) | def __init__(self, fc_out_channels=1024, *args, **kwargs): class Shared4Conv1FCBBoxHead (line 217) | class Shared4Conv1FCBBoxHead(ConvFCBBoxHead): method __init__ (line 219) | def __init__(self, fc_out_channels=1024, *args, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/bbox_heads/dii_head.py class DIIHead (line 18) | class DIIHead(BBoxHead): method __init__ (line 46) | def __init__(self, method init_weights (line 125) | def init_weights(self): method forward (line 141) | def forward(self, roi_feat, proposal_feat): method loss (line 201) | def loss(self, method _get_target_single (line 285) | def _get_target_single(self, pos_inds, neg_inds, pos_bboxes, neg_bboxes, method get_targets (line 359) | def get_targets(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/bbox_heads/double_bbox_head.py class BasicResBlock (line 11) | class BasicResBlock(BaseModule): method __init__ (line 26) | def __init__(self, method forward (line 63) | def forward(self, x): class DoubleConvFCBBoxHead (line 77) | class DoubleConvFCBBoxHead(BBoxHead): method __init__ (line 91) | def __init__(self, method _add_conv_branch (line 136) | def _add_conv_branch(self): method _add_fc_branch (line 148) | def _add_fc_branch(self): method forward (line 158) | def forward(self, x_cls, x_reg): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/bbox_heads/sabl_head.py class SABLHead (line 15) | class SABLHead(BaseModule): method __init__ (line 58) | def __init__(self, method custom_cls_channels (line 210) | def custom_cls_channels(self): method custom_activation (line 214) | def custom_activation(self): method custom_accuracy (line 218) | def custom_accuracy(self): method _add_fc_branch (line 221) | def _add_fc_branch(self, num_branch_fcs, in_channels, roi_feat_size, method cls_forward (line 230) | def cls_forward(self, cls_x): method attention_pool (line 237) | def attention_pool(self, reg_x): method side_aware_feature_extractor (line 250) | def side_aware_feature_extractor(self, reg_x): method reg_pred (line 271) | def reg_pred(self, x, offset_fcs, cls_fcs): method side_aware_split (line 289) | def side_aware_split(self, feat): method bbox_pred_split (line 301) | def bbox_pred_split(self, bbox_pred, num_proposals_per_img): method reg_forward (line 310) | def reg_forward(self, reg_x): method forward (line 329) | def forward(self, x): method get_targets (line 336) | def get_targets(self, sampling_results, gt_bboxes, gt_labels, method bucket_target (line 351) | def bucket_target(self, method _bucket_target_single (line 377) | def _bucket_target_single(self, pos_proposals, neg_proposals, method loss (line 440) | def loss(self, method get_bboxes (line 485) | def get_bboxes(self, method refine_bboxes (line 527) | def refine_bboxes(self, rois, labels, bbox_preds, pos_is_gts, img_metas): method regress_by_class (line 573) | def regress_by_class(self, rois, label, bbox_pred, img_meta): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/bbox_heads/scnet_bbox_head.py class SCNetBBoxHead (line 7) | class SCNetBBoxHead(ConvFCBBoxHead): method _forward_shared (line 14) | def _forward_shared(self, x): method _forward_cls_reg (line 31) | def _forward_cls_reg(self, x): method forward (line 59) | def forward(self, x, return_shared_feat=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/cascade_roi_head.py class CascadeRoIHead (line 16) | class CascadeRoIHead(BaseRoIHead, BBoxTestMixin, MaskTestMixin): method __init__ (line 22) | def __init__(self, method init_bbox_head (line 52) | def init_bbox_head(self, bbox_roi_extractor, bbox_head): method init_mask_head (line 72) | def init_mask_head(self, mask_roi_extractor, mask_head): method init_assigner_sampler (line 100) | def init_assigner_sampler(self): method forward_dummy (line 112) | def forward_dummy(self, x, proposals): method _bbox_forward (line 130) | def _bbox_forward(self, stage, x, rois): method _bbox_forward_train (line 143) | def _bbox_forward_train(self, stage, x, sampling_results, gt_bboxes, method _mask_forward (line 158) | def _mask_forward(self, stage, x, rois): method _mask_forward_train (line 170) | def _mask_forward_train(self, method forward_train (line 191) | def forward_train(self, method simple_test (line 288) | def simple_test(self, x, proposal_list, img_metas, rescale=False): method aug_test (line 458) | def aug_test(self, features, proposal_list, img_metas, rescale=False): method onnx_export (line 561) | def onnx_export(self, x, proposals, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/double_roi_head.py class DoubleHeadRoIHead (line 7) | class DoubleHeadRoIHead(StandardRoIHead): method __init__ (line 13) | def __init__(self, reg_roi_scale_factor, **kwargs): method _bbox_forward (line 17) | def _bbox_forward(self, x, rois): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/dynamic_roi_head.py class DynamicRoIHead (line 14) | class DynamicRoIHead(StandardRoIHead): method __init__ (line 17) | def __init__(self, **kwargs): method forward_train (line 25) | def forward_train(self, method _bbox_forward_train (line 109) | def _bbox_forward_train(self, x, sampling_results, gt_bboxes, gt_labels, method update_hyperparameters (line 134) | def update_hyperparameters(self): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/grid_roi_head.py class GridRoIHead (line 11) | class GridRoIHead(StandardRoIHead): method __init__ (line 17) | def __init__(self, grid_roi_extractor, grid_head, **kwargs): method _random_jitter (line 28) | def _random_jitter(self, sampling_results, img_metas, amplitude=0.15): method forward_dummy (line 53) | def forward_dummy(self, x, proposals): method _bbox_forward_train (line 79) | def _bbox_forward_train(self, x, sampling_results, gt_bboxes, gt_labels, method simple_test (line 117) | def simple_test(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/htc_roi_head.py class HybridTaskCascadeRoIHead (line 14) | class HybridTaskCascadeRoIHead(CascadeRoIHead): method __init__ (line 20) | def __init__(self, method with_semantic (line 44) | def with_semantic(self): method forward_dummy (line 51) | def forward_dummy(self, x, proposals): method _bbox_forward_train (line 86) | def _bbox_forward_train(self, method _mask_forward_train (line 113) | def _mask_forward_train(self, method _bbox_forward (line 158) | def _bbox_forward(self, stage, x, rois, semantic_feat=None): method _mask_forward_test (line 176) | def _mask_forward_test(self, stage, x, bboxes, semantic_feat=None): method forward_train (line 205) | def forward_train(self, method simple_test (line 330) | def simple_test(self, x, proposal_list, img_metas, rescale=False): method aug_test (line 505) | def aug_test(self, img_feats, proposal_list, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/coarse_mask_head.py class CoarseMaskHead (line 10) | class CoarseMaskHead(FCNMaskHead): method __init__ (line 26) | def __init__(self, method init_weights (line 84) | def init_weights(self): method forward (line 88) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/dynamic_mask_head.py class DynamicMaskHead (line 14) | class DynamicMaskHead(FCNMaskHead): method __init__ (line 42) | def __init__(self, method init_weights (line 83) | def init_weights(self): method forward (line 92) | def forward(self, roi_feat, proposal_feat): method loss (line 125) | def loss(self, mask_pred, mask_targets, labels): method get_targets (line 139) | def get_targets(self, sampling_results, gt_masks, rcnn_train_cfg): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/fcn_mask_head.py class FCNMaskHead (line 23) | class FCNMaskHead(BaseModule): method __init__ (line 25) | def __init__(self, method init_weights (line 115) | def init_weights(self): method forward (line 128) | def forward(self, x): method get_targets (line 138) | def get_targets(self, sampling_results, gt_masks, rcnn_train_cfg): method loss (line 148) | def loss(self, mask_pred, mask_targets, labels): method get_seg_masks (line 179) | def get_seg_masks(self, mask_pred, det_bboxes, det_labels, rcnn_test_cfg, method onnx_export (line 312) | def onnx_export(self, mask_pred, det_bboxes, det_labels, rcnn_test_cfg, function _do_paste_mask (line 344) | def _do_paste_mask(masks, boxes, img_h, img_w, skip_empty=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/feature_relay_head.py class FeatureRelayHead (line 9) | class FeatureRelayHead(BaseModule): method __init__ (line 22) | def __init__(self, method forward (line 43) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py class FusedSemanticHead (line 13) | class FusedSemanticHead(BaseModule): method __init__ (line 29) | def __init__(self, method forward (line 97) | def forward(self, feats): method loss (line 115) | def loss(self, mask_pred, labels): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/global_context_head.py class GlobalContextHead (line 11) | class GlobalContextHead(BaseModule): method __init__ (line 29) | def __init__(self, method forward (line 80) | def forward(self, feats): method loss (line 94) | def loss(self, pred, labels): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/grid_head.py class GridHead (line 13) | class GridHead(BaseModule): method __init__ (line 15) | def __init__(self, method forward (line 155) | def forward(self, x): method calc_sub_regions (line 193) | def calc_sub_regions(self): method get_targets (line 224) | def get_targets(self, sampling_results, rcnn_train_cfg): method loss (line 292) | def loss(self, grid_pred, grid_targets): method get_bboxes (line 298) | def get_bboxes(self, det_bboxes, grid_pred, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/htc_mask_head.py class HTCMaskHead (line 9) | class HTCMaskHead(FCNMaskHead): method __init__ (line 11) | def __init__(self, with_conv_res=True, *args, **kwargs): method forward (line 22) | def forward(self, x, res_feat=None, return_logits=True, return_feat=Tr... FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/mask_point_head.py class MaskPointHead (line 16) | class MaskPointHead(BaseModule): method __init__ (line 42) | def __init__(self, method forward (line 88) | def forward(self, fine_grained_feats, coarse_feats): method get_targets (line 109) | def get_targets(self, rois, rel_roi_points, sampling_results, gt_masks, method _get_target_single (line 149) | def _get_target_single(self, rois, rel_roi_points, pos_assigned_gt_inds, method loss (line 167) | def loss(self, point_pred, point_targets, labels): method get_roi_rel_points_train (line 190) | def get_roi_rel_points_train(self, mask_pred, labels, cfg): method get_roi_rel_points_test (line 215) | def get_roi_rel_points_test(self, mask_pred, pred_label, cfg): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/maskiou_head.py class MaskIoUHead (line 13) | class MaskIoUHead(BaseModule): method __init__ (line 19) | def __init__(self, method forward (line 73) | def forward(self, mask_feat, mask_pred): method loss (line 88) | def loss(self, mask_iou_pred, mask_iou_targets): method get_targets (line 98) | def get_targets(self, sampling_results, gt_masks, mask_pred, mask_targ... method _get_area_ratio (line 147) | def _get_area_ratio(self, pos_proposals, pos_assigned_gt_inds, gt_masks): method get_mask_scores (line 174) | def get_mask_scores(self, mask_iou_pred, det_bboxes, det_labels): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/scnet_mask_head.py class SCNetMaskHead (line 8) | class SCNetMaskHead(FCNMaskHead): method __init__ (line 16) | def __init__(self, conv_to_res=True, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_heads/scnet_semantic_head.py class SCNetSemanticHead (line 8) | class SCNetSemanticHead(FusedSemanticHead): method __init__ (line 16) | def __init__(self, conv_to_res=True, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/mask_scoring_roi_head.py class MaskScoringRoIHead (line 10) | class MaskScoringRoIHead(StandardRoIHead): method __init__ (line 16) | def __init__(self, mask_iou_head, **kwargs): method _mask_forward_train (line 21) | def _mask_forward_train(self, x, sampling_results, bbox_feats, gt_masks, method simple_test_mask (line 49) | def simple_test_mask(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/pisa_roi_head.py class PISARoIHead (line 9) | class PISARoIHead(StandardRoIHead): method forward_train (line 13) | def forward_train(self, method _bbox_forward (line 87) | def _bbox_forward(self, x, rois): method _bbox_forward_train (line 100) | def _bbox_forward_train(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py class PointRendRoIHead (line 18) | class PointRendRoIHead(StandardRoIHead): method __init__ (line 21) | def __init__(self, point_head, *args, **kwargs): method init_point_head (line 26) | def init_point_head(self, point_head): method _mask_forward_train (line 30) | def _mask_forward_train(self, x, sampling_results, bbox_feats, gt_masks, method _mask_point_forward_train (line 45) | def _mask_point_forward_train(self, x, sampling_results, mask_pred, method _get_fine_grained_point_feats (line 66) | def _get_fine_grained_point_feats(self, x, rois, rel_roi_points, method _mask_point_forward_test (line 104) | def _mask_point_forward_test(self, x, rois, label_pred, mask_pred, method simple_test_mask (line 155) | def simple_test_mask(self, method aug_test_mask (line 217) | def aug_test_mask(self, feats, img_metas, det_bboxes, det_labels): method _onnx_get_fine_grained_point_feats (line 250) | def _onnx_get_fine_grained_point_feats(self, x, rois, rel_roi_points): method _mask_point_onnx_export (line 284) | def _mask_point_onnx_export(self, x, rois, label_pred, mask_pred): method mask_onnx_export (line 351) | def mask_onnx_export(self, x, img_metas, det_bboxes, det_labels, **kwa... FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py class BaseRoIExtractor (line 10) | class BaseRoIExtractor(BaseModule, metaclass=ABCMeta): method __init__ (line 21) | def __init__(self, method num_inputs (line 33) | def num_inputs(self): method build_roi_layers (line 37) | def build_roi_layers(self, layer_cfg, featmap_strides): method roi_rescale (line 62) | def roi_rescale(self, rois, scale_factor): method forward (line 87) | def forward(self, feats, rois, roi_scale_factor=None): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/roi_extractors/generic_roi_extractor.py class GenericRoIExtractor (line 10) | class GenericRoIExtractor(BaseRoIExtractor): method __init__ (line 25) | def __init__(self, method forward (line 44) | def forward(self, feats, rois, roi_scale_factor=None): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/roi_extractors/single_level_roi_extractor.py class SingleRoIExtractor (line 10) | class SingleRoIExtractor(BaseRoIExtractor): method __init__ (line 26) | def __init__(self, method map_roi_levels (line 36) | def map_roi_levels(self, rois, num_levels): method forward (line 58) | def forward(self, feats, rois, roi_scale_factor=None): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/scnet_roi_head.py class SCNetRoIHead (line 14) | class SCNetRoIHead(CascadeRoIHead): method __init__ (line 26) | def __init__(self, method init_mask_head (line 50) | def init_mask_head(self, mask_roi_extractor, mask_head): method with_semantic (line 57) | def with_semantic(self): method with_feat_relay (line 63) | def with_feat_relay(self): method with_glbctx (line 69) | def with_glbctx(self): method _fuse_glbctx (line 73) | def _fuse_glbctx(self, roi_feats, glbctx_feat, rois): method _slice_pos_feats (line 83) | def _slice_pos_feats(self, feats, sampling_results): method _bbox_forward (line 96) | def _bbox_forward(self, method _mask_forward (line 125) | def _mask_forward(self, method _bbox_forward_train (line 150) | def _bbox_forward_train(self, method _mask_forward_train (line 179) | def _mask_forward_train(self, method forward_train (line 206) | def forward_train(self, method simple_test (line 314) | def simple_test(self, x, proposal_list, img_metas, rescale=False): method aug_test (line 487) | def aug_test(self, img_feats, proposal_list, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/shared_heads/res_layer.py class ResLayer (line 13) | class ResLayer(BaseModule): method __init__ (line 15) | def __init__(self, method forward (line 70) | def forward(self, x): method train (line 75) | def train(self, mode=True): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/sparse_roi_head.py class SparseRoIHead (line 12) | class SparseRoIHead(CascadeRoIHead): method __init__ (line 37) | def __init__(self, method _bbox_forward (line 88) | def _bbox_forward(self, stage, x, rois, object_feats, img_metas): method _mask_forward (line 151) | def _mask_forward(self, stage, x, rois, attn_feats): method _mask_forward_train (line 163) | def _mask_forward_train(self, stage, x, attn_feats, sampling_results, method forward_train (line 184) | def forward_train(self, method simple_test (line 276) | def simple_test(self, method aug_test (line 400) | def aug_test(self, features, proposal_list, img_metas, rescale=False): method forward_dummy (line 404) | def forward_dummy(self, x, proposal_boxes, proposal_features, img_metas): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/standard_roi_head.py class StandardRoIHead (line 11) | class StandardRoIHead(BaseRoIHead, BBoxTestMixin, MaskTestMixin): method init_assigner_sampler (line 14) | def init_assigner_sampler(self): method init_bbox_head (line 23) | def init_bbox_head(self, bbox_roi_extractor, bbox_head): method init_mask_head (line 28) | def init_mask_head(self, mask_roi_extractor, mask_head): method forward_dummy (line 38) | def forward_dummy(self, x, proposals): method forward_train (line 54) | def forward_train(self, method _bbox_forward (line 118) | def _bbox_forward(self, x, rois): method _bbox_forward_train (line 131) | def _bbox_forward_train(self, x, sampling_results, gt_bboxes, gt_labels, method _mask_forward_train (line 146) | def _mask_forward_train(self, x, sampling_results, bbox_feats, gt_masks, method _mask_forward (line 181) | def _mask_forward(self, x, rois=None, pos_inds=None, bbox_feats=None): method async_simple_test (line 198) | async def async_simple_test(self, method simple_test (line 223) | def simple_test(self, method aug_test (line 269) | def aug_test(self, x, proposal_list, img_metas, rescale=False): method onnx_export (line 295) | def onnx_export(self, x, proposals, img_metas, rescale=False): method mask_onnx_export (line 308) | def mask_onnx_export(self, x, img_metas, det_bboxes, det_labels, **kwa... method bbox_onnx_export (line 350) | def bbox_onnx_export(self, x, img_metas, proposals, rcnn_test_cfg, FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/test_mixins.py class BBoxTestMixin (line 15) | class BBoxTestMixin: method async_test_bboxes (line 19) | async def async_test_bboxes(self, method simple_test_bboxes (line 51) | def simple_test_bboxes(self, method aug_test_bboxes (line 138) | def aug_test_bboxes(self, feats, img_metas, proposal_list, rcnn_test_c... class MaskTestMixin (line 179) | class MaskTestMixin: method async_test_mask (line 183) | async def async_test_mask(self, method simple_test_mask (line 224) | def simple_test_mask(self, method aug_test_mask (line 281) | def aug_test_mask(self, feats, img_metas, det_bboxes, det_labels): FILE: DLTA_AI_app/mmdetection/mmdet/models/roi_heads/trident_roi_head.py class TridentRoIHead (line 12) | class TridentRoIHead(StandardRoIHead): method __init__ (line 22) | def __init__(self, num_branch, test_branch_idx, **kwargs): method merge_trident_bboxes (line 27) | def merge_trident_bboxes(self, trident_det_bboxes, trident_det_labels): method simple_test (line 46) | def simple_test(self, method aug_test_bboxes (line 83) | def aug_test_bboxes(self, feats, img_metas, proposal_list, rcnn_test_c... FILE: DLTA_AI_app/mmdetection/mmdet/models/seg_heads/base_semantic_head.py class BaseSemanticHead (line 11) | class BaseSemanticHead(BaseModule, metaclass=ABCMeta): method __init__ (line 20) | def __init__(self, method loss (line 32) | def loss(self, seg_preds, gt_semantic_seg): method forward (line 55) | def forward(self, x): method forward_train (line 65) | def forward_train(self, x, gt_semantic_seg): method simple_test (line 70) | def simple_test(self, x, img_metas, rescale=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/seg_heads/panoptic_fpn_head.py class PanopticFPNHead (line 14) | class PanopticFPNHead(BaseSemanticHead): method __init__ (line 52) | def __init__(self, method _set_things_to_void (line 108) | def _set_things_to_void(self, gt_semantic_seg): method loss (line 129) | def loss(self, seg_preds, gt_semantic_seg): method init_weights (line 137) | def init_weights(self): method forward (line 142) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/seg_heads/panoptic_fusion_heads/base_panoptic_fusion_head.py class BasePanopticFusionHead (line 9) | class BasePanopticFusionHead(BaseModule, metaclass=ABCMeta): method __init__ (line 12) | def __init__(self, method with_loss (line 31) | def with_loss(self): method forward_train (line 36) | def forward_train(self, gt_masks=None, gt_semantic_seg=None, **kwargs): method simple_test (line 40) | def simple_test(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py class HeuristicFusionHead (line 10) | class HeuristicFusionHead(BasePanopticFusionHead): method __init__ (line 13) | def __init__(self, method forward_train (line 23) | def forward_train(self, gt_masks=None, gt_semantic_seg=None, **kwargs): method _lay_masks (line 27) | def _lay_masks(self, bboxes, labels, masks, overlap_thr=0.5): method simple_test (line 82) | def simple_test(self, det_bboxes, det_labels, mask_preds, seg_preds, FILE: DLTA_AI_app/mmdetection/mmdet/models/seg_heads/panoptic_fusion_heads/maskformer_fusion_head.py class MaskFormerFusionHead (line 12) | class MaskFormerFusionHead(BasePanopticFusionHead): method __init__ (line 14) | def __init__(self, method forward_train (line 24) | def forward_train(self, **kwargs): method panoptic_postprocess (line 28) | def panoptic_postprocess(self, mask_cls, mask_pred): method semantic_postprocess (line 94) | def semantic_postprocess(self, mask_cls, mask_pred): method instance_postprocess (line 112) | def instance_postprocess(self, mask_cls, mask_pred): method simple_test (line 164) | def simple_test(self, FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/brick_wrappers.py function adaptive_avg_pool2d (line 15) | def adaptive_avg_pool2d(input, output_size): class AdaptiveAvgPool2d (line 32) | class AdaptiveAvgPool2d(nn.AdaptiveAvgPool2d): method forward (line 35) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/builder.py function build_transformer (line 9) | def build_transformer(cfg, default_args=None): function build_linear_layer (line 17) | def build_linear_layer(cfg, *args, **kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/ckpt_convert.py function pvt_convert (line 12) | def pvt_convert(ckpt): function swin_converter (line 85) | def swin_converter(ckpt): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/conv_upsample.py class ConvUpsample (line 7) | class ConvUpsample(BaseModule): method __init__ (line 28) | def __init__(self, method forward (line 59) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/csp_layer.py class DarknetBottleneck (line 8) | class DarknetBottleneck(BaseModule): method __init__ (line 32) | def __init__(self, method forward (line 64) | def forward(self, x): class CSPLayer (line 75) | class CSPLayer(BaseModule): method __init__ (line 96) | def __init__(self, method forward (line 143) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/gaussian_target.py function gaussian2D (line 8) | def gaussian2D(radius, sigma=1, dtype=torch.float32, device='cpu'): function gen_gaussian_target (line 32) | def gen_gaussian_target(heatmap, center, radius, k=1): function gaussian_radius (line 68) | def gaussian_radius(det_size, min_overlap): function get_local_maximum (line 190) | def get_local_maximum(heat, kernel=3): function get_topk_from_heatmap (line 207) | def get_topk_from_heatmap(scores, k=20): function gather_feat (line 234) | def gather_feat(feat, ind, mask=None): function transpose_and_gather_feat (line 255) | def transpose_and_gather_feat(feat, ind): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/inverted_residual.py class InvertedResidual (line 11) | class InvertedResidual(BaseModule): method __init__ (line 42) | def __init__(self, method forward (line 105) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/make_divisible.py function make_divisible (line 2) | def make_divisible(value, divisor, min_value=None, min_ratio=0.9): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/misc.py class SigmoidGeometricMean (line 6) | class SigmoidGeometricMean(Function): method forward (line 17) | def forward(ctx, x, y): method backward (line 25) | def backward(ctx, grad_output): function interpolate_as (line 35) | def interpolate_as(source, target, mode='bilinear', align_corners=False): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/normed_predictor.py class NormedLinear (line 11) | class NormedLinear(nn.Linear): method __init__ (line 21) | def __init__(self, *args, tempearture=20, power=1.0, eps=1e-6, **kwargs): method init_weights (line 28) | def init_weights(self): method forward (line 33) | def forward(self, x): class NormedConv2d (line 43) | class NormedConv2d(nn.Conv2d): method __init__ (line 55) | def __init__(self, method forward (line 68) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/panoptic_gt_processing.py function preprocess_panoptic_gt (line 5) | def preprocess_panoptic_gt(gt_labels, gt_masks, gt_semantic_seg, num_thi... FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/point_sample.py function get_uncertainty (line 6) | def get_uncertainty(mask_pred, labels): function get_uncertain_point_coords_with_randomness (line 32) | def get_uncertain_point_coords_with_randomness(mask_pred, labels, num_po... FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/positional_encoding.py class SinePositionalEncoding (line 11) | class SinePositionalEncoding(BaseModule): method __init__ (line 36) | def __init__(self, method forward (line 56) | def forward(self, mask): method __repr__ (line 95) | def __repr__(self): class LearnedPositionalEncoding (line 107) | class LearnedPositionalEncoding(BaseModule): method __init__ (line 121) | def __init__(self, method forward (line 133) | def forward(self, mask): method __repr__ (line 157) | def __repr__(self): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/res_layer.py class ResLayer (line 7) | class ResLayer(Sequential): method __init__ (line 26) | def __init__(self, class SimplifiedBasicBlock (line 107) | class SimplifiedBasicBlock(BaseModule): method __init__ (line 116) | def __init__(self, method norm1 (line 162) | def norm1(self): method norm2 (line 167) | def norm2(self): method forward (line 171) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/se_layer.py class SELayer (line 9) | class SELayer(BaseModule): method __init__ (line 28) | def __init__(self, method forward (line 55) | def forward(self, x): class DyReLU (line 62) | class DyReLU(BaseModule): method __init__ (line 88) | def __init__(self, method forward (line 118) | def forward(self, x): FILE: DLTA_AI_app/mmdetection/mmdet/models/utils/transformer.py function nlc_to_nchw (line 32) | def nlc_to_nchw(x, hw_shape): function nchw_to_nlc (line 49) | def nchw_to_nlc(x): class AdaptivePadding (line 62) | class AdaptivePadding(nn.Module): method __init__ (line 93) | def __init__(self, kernel_size=1, stride=1, dilation=1, padding='corne... method get_pad_shape (line 109) | def get_pad_shape(self, input_shape): method forward (line 121) | def forward(self, x): class PatchEmbed (line 134) | class PatchEmbed(BaseModule): method __init__ (line 162) | def __init__( method forward (line 236) | def forward(self, x): class PatchMerging (line 260) | class PatchMerging(BaseModule): method __init__ (line 291) | def __init__(self, method forward (line 340) | def forward(self, x, input_size): function inverse_sigmoid (line 388) | def inverse_sigmoid(x, eps=1e-5): class DetrTransformerDecoderLayer (line 408) | class DetrTransformerDecoderLayer(BaseTransformerLayer): method __init__ (line 430) | def __init__(self, class DetrTransformerEncoder (line 454) | class DetrTransformerEncoder(TransformerLayerSequence): method __init__ (line 462) | def __init__(self, *args, post_norm_cfg=dict(type='LN'), **kwargs): method forward (line 473) | def forward(self, *args, **kwargs): class DetrTransformerDecoder (line 486) | class DetrTransformerDecoder(TransformerLayerSequence): method __init__ (line 495) | def __init__(self, method forward (line 509) | def forward(self, query, *args, **kwargs): class Transformer (line 539) | class Transformer(BaseModule): method __init__ (line 561) | def __init__(self, encoder=None, decoder=None, init_cfg=None): method init_weights (line 567) | def init_weights(self): method forward (line 574) | def forward(self, x, mask, query_embed, pos_embed): class DeformableDetrTransformerDecoder (line 625) | class DeformableDetrTransformerDecoder(TransformerLayerSequence): method __init__ (line 634) | def __init__(self, *args, return_intermediate=False, **kwargs): method forward (line 639) | def forward(self, class DeformableDetrTransformer (line 713) | class DeformableDetrTransformer(Transformer): method __init__ (line 725) | def __init__(self, method init_layers (line 737) | def init_layers(self): method init_weights (line 751) | def init_weights(self): method gen_encoder_output_proposals (line 763) | def gen_encoder_output_proposals(self, memory, memory_padding_mask, method get_reference_points (line 831) | def get_reference_points(spatial_shapes, valid_ratios, device): method get_valid_ratio (line 865) | def get_valid_ratio(self, mask): method get_proposal_pos_embed (line 875) | def get_proposal_pos_embed(self, method forward (line 893) | def forward(self, class DynamicConv (line 1063) | class DynamicConv(BaseModule): method __init__ (line 1090) | def __init__(self, method forward (line 1124) | def forward(self, param_feature, input_feature): FILE: DLTA_AI_app/mmdetection/mmdet/utils/collect_env.py function collect_env (line 8) | def collect_env(): FILE: DLTA_AI_app/mmdetection/mmdet/utils/compat_config.py function compat_cfg (line 8) | def compat_cfg(cfg): function compat_runner_args (line 22) | def compat_runner_args(cfg): function compat_imgs_per_gpu (line 37) | def compat_imgs_per_gpu(cfg): function compat_loader_args (line 54) | def compat_loader_args(cfg): FILE: DLTA_AI_app/mmdetection/mmdet/utils/contextmanagers.py function completed (line 17) | async def completed(trace_name='', function concurrent (line 92) | async def concurrent(streamqueue: asyncio.Queue, FILE: DLTA_AI_app/mmdetection/mmdet/utils/logger.py function get_root_logger (line 8) | def get_root_logger(log_file=None, log_level=logging.INFO): function get_caller_name (line 24) | def get_caller_name(): function log_img_scale (line 37) | def log_img_scale(img_scale, shape_order='hw', skip_square=False): FILE: DLTA_AI_app/mmdetection/mmdet/utils/memory.py function cast_tensor_type (line 12) | def cast_tensor_type(inputs, src_type=None, dst_type=None): function _ignore_torch_cuda_oom (line 63) | def _ignore_torch_cuda_oom(): class AvoidOOM (line 79) | class AvoidOOM: method __init__ (line 120) | def __init__(self, to_cpu=True, test=False): method retry_if_cuda_oom (line 124) | def retry_if_cuda_oom(self, func): FILE: DLTA_AI_app/mmdetection/mmdet/utils/misc.py function find_latest_checkpoint (line 12) | def find_latest_checkpoint(path, suffix='pth'): function update_data_root (line 46) | def update_data_root(cfg, logger=None): function floordiv (line 85) | def floordiv(dividend, divisor, rounding_mode='trunc'): FILE: DLTA_AI_app/mmdetection/mmdet/utils/profiling.py function profile_time (line 11) | def profile_time(trace_name, FILE: DLTA_AI_app/mmdetection/mmdet/utils/replace_cfg_vals.py function replace_cfg_vals (line 7) | def replace_cfg_vals(ori_cfg): FILE: DLTA_AI_app/mmdetection/mmdet/utils/setup_env.py function setup_multi_processes (line 10) | def setup_multi_processes(cfg): FILE: DLTA_AI_app/mmdetection/mmdet/utils/split_batch.py function split_batch (line 5) | def split_batch(img, img_metas, kwargs): FILE: DLTA_AI_app/mmdetection/mmdet/utils/util_distribution.py function build_dp (line 10) | def build_dp(model, device='cuda', dim=0, *args, **kwargs): function build_ddp (line 40) | def build_ddp(model, device='cuda', *args, **kwargs): function is_npu_available (line 74) | def is_npu_available(): function is_mlu_available (line 79) | def is_mlu_available(): function get_device (line 84) | def get_device(): FILE: DLTA_AI_app/mmdetection/mmdet/utils/util_mixins.py class NiceRepr (line 42) | class NiceRepr: method __nice__ (line 76) | def __nice__(self): method __repr__ (line 87) | def __repr__(self): method __str__ (line 97) | def __str__(self): FILE: DLTA_AI_app/mmdetection/mmdet/utils/util_random.py function ensure_rng (line 6) | def ensure_rng(rng=None): FILE: DLTA_AI_app/mmdetection/mmdet/version.py function parse_version_info (line 7) | def parse_version_info(version_str): FILE: DLTA_AI_app/mmdetection/setup.py function readme (line 16) | def readme(): function get_version (line 25) | def get_version(): function make_cuda_ext (line 31) | def make_cuda_ext(name, module, sources, sources_cuda=[]): function parse_requirements (line 56) | def parse_requirements(fname='requirements.txt', with_version=True): function add_mim_extension (line 134) | def add_mim_extension(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_coco_dataset.py function _create_ids_error_coco_json (line 11) | def _create_ids_error_coco_json(json_name): function test_coco_annotation_ids_unique (line 51) | def test_coco_annotation_ids_unique(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_common.py function _create_dummy_coco_json (line 20) | def _create_dummy_coco_json(json_name): function _create_dummy_custom_pkl (line 80) | def _create_dummy_custom_pkl(pkl_name): function _create_dummy_results (line 96) | def _create_dummy_results(): function test_dataset_init (line 106) | def test_dataset_init(config_path, monkeypatch): function test_dataset_evaluation (line 119) | def test_dataset_evaluation(): function test_evaluation_hook (line 222) | def test_evaluation_hook(EvalHookParam): function _build_demo_runner (line 318) | def _build_demo_runner(): function test_allow_empty_images (line 346) | def test_allow_empty_images(classes, expected_length): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_custom_dataset.py function test_custom_classes_override_default (line 21) | def test_custom_classes_override_default(dataset): class CustomDatasetTests (line 94) | class CustomDatasetTests(unittest.TestCase): method setUp (line 96) | def setUp(self): method test_data_infos__default_db_directories (line 102) | def test_data_infos__default_db_directories(self): method test_data_infos__overridden_db_subdirectories (line 120) | def test_data_infos__overridden_db_subdirectories(self): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_dataset_wrapper.py function test_dataset_wrapper (line 14) | def test_dataset_wrapper(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_openimages_dataset.py function _create_ids_error_oid_csv (line 12) | def _create_ids_error_oid_csv( function _create_oid_style_ann (line 44) | def _create_oid_style_ann(label_file, csv_file, label_level_file): function _create_hierarchy_json (line 85) | def _create_hierarchy_json(hierarchy_name): function _create_hierarchy_np (line 112) | def _create_hierarchy_np(hierarchy_name): function _create_dummy_results (line 120) | def _create_dummy_results(): function _creat_oid_challenge_style_ann (line 132) | def _creat_oid_challenge_style_ann(txt_file, label_file, label_level_file): function _create_metas (line 166) | def _create_metas(meta_file): function test_oid_annotation_ids_unique (line 175) | def test_oid_annotation_ids_unique(): function test_openimages_dataset (line 189) | def test_openimages_dataset(): function test_openimages_challenge_dataset (line 320) | def test_openimages_challenge_dataset(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_panoptic_dataset.py function _create_panoptic_style_json (line 18) | def _create_panoptic_style_json(json_name): function test_load_panoptic_style_json (line 128) | def test_load_panoptic_style_json(): function _create_panoptic_gt_annotations (line 154) | def _create_panoptic_gt_annotations(ann_file): function test_panoptic_evaluation (line 233) | def test_panoptic_evaluation(): function _create_instance_segmentation_gt_annotations (line 343) | def _create_instance_segmentation_gt_annotations(ann_file): function test_instance_segmentation_evaluation (line 411) | def test_instance_segmentation_evaluation(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_datasets/test_xml_dataset.py function test_xml_dataset (line 7) | def test_xml_dataset(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_formatting.py function test_default_format_bundle (line 9) | def test_default_format_bundle(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_loading.py class TestLoading (line 15) | class TestLoading: method setup_class (line 18) | def setup_class(cls): method test_load_img (line 21) | def test_load_img(self): method test_load_multi_channel_img (line 63) | def test_load_multi_channel_img(self): method test_load_webcam_img (line 84) | def test_load_webcam_img(self): function _build_filter_annotations_args (line 97) | def _build_filter_annotations_args(): function test_filter_annotations (line 110) | def test_filter_annotations(target, kwargs): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_sampler.py function test_random_sampler (line 9) | def test_random_sampler(): function test_random_sampler_empty_gt (line 45) | def test_random_sampler_empty_gt(): function test_random_sampler_empty_pred (line 71) | def test_random_sampler_empty_pred(): function _context_for_ohem (line 95) | def _context_for_ohem(): function test_ohem_sampler (line 110) | def test_ohem_sampler(): function test_ohem_sampler_empty_gt (line 155) | def test_ohem_sampler_empty_gt(): function test_ohem_sampler_empty_pred (line 196) | def test_ohem_sampler_empty_pred(): function test_random_sample_result (line 236) | def test_random_sample_result(): function test_score_hlr_sampler_empty_pred (line 250) | def test_score_hlr_sampler_empty_pred(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/test_img_augment.py function test_adjust_color (line 13) | def test_adjust_color(): function test_imequalize (line 44) | def test_imequalize(nb_rand_test=100): function test_adjust_brightness (line 79) | def test_adjust_brightness(nb_rand_test=100): function test_adjust_contrast (line 124) | def test_adjust_contrast(nb_rand_test=100): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/test_models_aug_test.py function model_aug_test_template (line 13) | def model_aug_test_template(cfg_file): function test_aug_test_size (line 46) | def test_aug_test_size(): function test_cascade_rcnn_aug_test (line 71) | def test_cascade_rcnn_aug_test(): function test_mask_rcnn_aug_test (line 77) | def test_mask_rcnn_aug_test(): function test_htc_aug_test (line 85) | def test_htc_aug_test(): function test_scnet_aug_test (line 92) | def test_scnet_aug_test(): function test_cornernet_aug_test (line 100) | def test_cornernet_aug_test(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/test_rotate.py function test_rotate (line 13) | def test_rotate(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/test_shear.py function test_shear (line 13) | def test_shear(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/test_transform.py function test_resize (line 16) | def test_resize(): function test_flip (line 107) | def test_flip(): function test_random_crop (line 208) | def test_random_crop(): function test_min_iou_random_crop (line 337) | def test_min_iou_random_crop(): function test_pad (line 384) | def test_pad(): function test_normalize (line 446) | def test_normalize(): function test_albu_transform (line 475) | def test_albu_transform(): function test_random_center_crop_pad (line 499) | def test_random_center_crop_pad(): function test_multi_scale_flip_aug (line 639) | def test_multi_scale_flip_aug(): function test_cutout (line 733) | def test_cutout(): function test_random_shift (line 799) | def test_random_shift(): function test_random_affine (line 834) | def test_random_affine(): function test_mosaic (line 897) | def test_mosaic(): function test_mixup (line 937) | def test_mixup(): function test_photo_metric_distortion (line 1003) | def test_photo_metric_distortion(): function test_copypaste (line 1030) | def test_copypaste(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/test_translate.py function _check_keys (line 13) | def _check_keys(results, results_translated): function _pad (line 20) | def _pad(h, w, c, pad_val, axis=-1, dtype=np.float32): function _construct_img (line 30) | def _construct_img(results): function _construct_ann_info (line 40) | def _construct_ann_info(h=427, w=640, c=3): function _load_bboxes (line 76) | def _load_bboxes(results): function _load_labels (line 86) | def _load_labels(results): function _poly2mask (line 90) | def _poly2mask(mask_ann, img_h, img_w): function _process_polygons (line 106) | def _process_polygons(polygons): function _load_masks (line 115) | def _load_masks(results, poly2mask=True): function _construct_semantic_seg (line 128) | def _construct_semantic_seg(results): function construct_toy_data (line 135) | def construct_toy_data(poly2mask=True): function test_translate (line 149) | def test_translate(): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_pipelines/test_transform/utils.py function _check_fields (line 7) | def _check_fields(results, pipeline_results, keys): function check_result_same (line 18) | def check_result_same(results, pipeline_results): function construct_toy_data (line 42) | def construct_toy_data(poly2mask=True): function create_random_bboxes (line 72) | def create_random_bboxes(num_bboxes, img_w, img_h): function create_full_masks (line 81) | def create_full_masks(gt_bboxes, img_w, img_h): FILE: DLTA_AI_app/mmdetection/tests/test_data/test_utils.py function test_replace_ImageToTensor (line 7) | def test_replace_ImageToTensor(): function test_get_loading_pipeline (line 65) | def test_get_loading_pipeline(): FILE: DLTA_AI_app/mmdetection/tests/test_downstream/test_mmtrack.py function test_vid_fgfa_style_forward (line 14) | def test_vid_fgfa_style_forward(cfg_file): function test_tracktor_forward (line 125) | def test_tracktor_forward(cfg_file): function _demo_mm_inputs (line 152) | def _demo_mm_inputs( FILE: DLTA_AI_app/mmdetection/tests/test_metrics/test_box_overlap.py function test_bbox_overlaps_2d (line 11) | def test_bbox_overlaps_2d(eps=1e-7): function test_voc_recall_overlaps (line 111) | def test_voc_recall_overlaps(): FILE: DLTA_AI_app/mmdetection/tests/test_metrics/test_losses.py function test_ce_loss (line 8) | def test_ce_loss(): function test_varifocal_loss (line 35) | def test_varifocal_loss(): function test_kd_loss (line 82) | def test_kd_loss(): function test_seesaw_loss (line 113) | def test_seesaw_loss(): function test_accuracy (line 186) | def test_accuracy(): FILE: DLTA_AI_app/mmdetection/tests/test_metrics/test_mean_ap.py function test_tpfp_imagenet (line 15) | def test_tpfp_imagenet(): function test_tpfp_default (line 42) | def test_tpfp_default(): function test_eval_map (line 70) | def test_eval_map(): function test_tpfp_openimages (line 111) | def test_tpfp_openimages(): FILE: DLTA_AI_app/mmdetection/tests/test_metrics/test_recall.py function test_eval_recalls (line 14) | def test_eval_recalls(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_csp_darknet.py function test_csp_darknet_backbone (line 10) | def test_csp_darknet_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_detectors_resnet.py function test_detectorrs_resnet_backbone (line 7) | def test_detectorrs_resnet_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_efficientnet.py function test_efficientnet_backbone (line 7) | def test_efficientnet_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_hourglass.py function test_hourglass_backbone (line 8) | def test_hourglass_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_hrnet.py function test_hrmodule (line 10) | def test_hrmodule(block): function test_hrnet_backbone (line 54) | def test_hrnet_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_mobilenet_v2.py function test_mobilenetv2_backbone (line 11) | def test_mobilenetv2_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_pvt.py function test_pvt_block (line 9) | def test_pvt_block(): function test_pvt (line 21) | def test_pvt(): function test_pvtv2 (line 67) | def test_pvtv2(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_regnet.py function test_regnet_backbone (line 36) | def test_regnet_backbone(arch_name, arch, out_channels): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_renext.py function test_renext_bottleneck (line 10) | def test_renext_bottleneck(): function test_resnext_backbone (line 59) | def test_resnext_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_res2net.py function test_res2net_bottle2neck (line 10) | def test_res2net_bottle2neck(): function test_res2net_backbone (line 44) | def test_res2net_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_resnest.py function test_resnest_bottleneck (line 9) | def test_resnest_bottleneck(): function test_resnest_backbone (line 27) | def test_resnest_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_resnet.py function test_resnet_basic_block (line 15) | def test_resnet_basic_block(): function test_resnet_bottleneck (line 64) | def test_resnet_bottleneck(): function test_simplied_basic_block (line 198) | def test_simplied_basic_block(): function test_resnet_res_layer (line 251) | def test_resnet_res_layer(): function test_resnest_stem (line 307) | def test_resnest_stem(): function test_resnet_backbone (line 347) | def test_resnet_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_swin.py function test_swin_block (line 7) | def test_swin_block(): function test_swin_transformer (line 26) | def test_swin_transformer(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/test_trident_resnet.py function test_trident_resnet_bottleneck (line 9) | def test_trident_resnet_bottleneck(): function test_trident_resnet_backbone (line 156) | def test_trident_resnet_backbone(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_backbones/utils.py function is_block (line 11) | def is_block(modules): function is_norm (line 19) | def is_norm(modules): function check_norm_state (line 26) | def check_norm_state(modules, train_state): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_anchor_head.py function test_anchor_head_loss (line 8) | def test_anchor_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_atss_head.py function test_atss_head_loss (line 8) | def test_atss_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_autoassign_head.py function test_autoassign_head_loss (line 9) | def test_autoassign_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_centernet_head.py function test_center_head_loss (line 9) | def test_center_head_loss(): function test_centernet_head_get_bboxes (line 55) | def test_centernet_head_get_bboxes(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_corner_head.py function test_corner_head_loss (line 8) | def test_corner_head_loss(): function test_corner_head_encode_and_decode_heatmap (line 96) | def test_corner_head_encode_and_decode_heatmap(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_ddod_head.py function test_ddod_head_loss (line 8) | def test_ddod_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_dense_heads_attr.py function test_dense_heads_test_attr (line 10) | def test_dense_heads_test_attr(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_detr_head.py function test_detr_head_loss (line 8) | def test_detr_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_fcos_head.py function test_fcos_head_loss (line 8) | def test_fcos_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_fsaf_head.py function test_fsaf_head_loss (line 8) | def test_fsaf_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_ga_anchor_head.py function test_ga_anchor_head_loss (line 8) | def test_ga_anchor_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_gfl_head.py function test_gfl_head_loss (line 8) | def test_gfl_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_lad_head.py function test_lad_head_loss (line 10) | def test_lad_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_ld_head.py function test_ld_head_loss (line 8) | def test_ld_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_mask2former_head.py function test_mask2former_head_loss (line 12) | def test_mask2former_head_loss(num_stuff_classes, label_num): function _init_model (line 108) | def _init_model(num_stuff_classes): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_maskformer_head.py function test_maskformer_head_loss (line 9) | def test_maskformer_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_paa_head.py function test_paa_head_loss (line 10) | def test_paa_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_pisa_head.py function test_pisa_retinanet_head_loss (line 9) | def test_pisa_retinanet_head_loss(): function test_pisa_ssd_head_loss (line 76) | def test_pisa_ssd_head_loss(): function test_pisa_roi_head_loss (line 151) | def test_pisa_roi_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_sabl_retina_head.py function test_sabl_retina_head_loss (line 8) | def test_sabl_retina_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_solo_head.py function test_solo_head_loss (line 8) | def test_solo_head_loss(): function test_desolo_head_loss (line 97) | def test_desolo_head_loss(): function test_desolo_light_head_loss (line 194) | def test_desolo_light_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_tood_head.py function test_tood_head_loss (line 8) | def test_tood_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_vfnet_head.py function test_vfnet_head_loss (line 8) | def test_vfnet_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_yolact_head.py function test_yolact_head_loss (line 8) | def test_yolact_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_yolof_head.py function test_yolof_head_loss (line 8) | def test_yolof_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_dense_heads/test_yolox_head.py function test_yolox_head_loss (line 9) | def test_yolox_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_forward.py function _get_config_directory (line 11) | def _get_config_directory(): function _get_config_module (line 26) | def _get_config_module(fname): function _get_detector_cfg (line 35) | def _get_detector_cfg(fname): function _replace_r50_with_r18 (line 46) | def _replace_r50_with_r18(model): function test_sparse_rcnn_forward (line 56) | def test_sparse_rcnn_forward(): function test_rpn_forward (line 122) | def test_rpn_forward(): function test_single_stage_forward_gpu (line 166) | def test_single_stage_forward_gpu(cfg_file): function test_faster_rcnn_ohem_forward (line 208) | def test_faster_rcnn_ohem_forward(): function test_two_stage_forward (line 273) | def test_two_stage_forward(cfg_file): function test_single_stage_forward_cpu (line 404) | def test_single_stage_forward_cpu(cfg_file): function _demo_mm_inputs (line 440) | def _demo_mm_inputs(input_shape=(1, 3, 300, 300), function test_yolact_forward (line 518) | def test_yolact_forward(): function test_detr_forward (line 561) | def test_detr_forward(): function test_inference_detector (line 618) | def test_inference_detector(): function test_yolox_random_size (line 676) | def test_yolox_random_size(): function test_maskformer_forward (line 703) | def test_maskformer_forward(): function test_mask2former_forward (line 818) | def test_mask2former_forward(cfg_file): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_loss.py function test_iou_type_loss_zeros_weight (line 19) | def test_iou_type_loss_zeros_weight(loss_class): function test_loss_with_reduction_override (line 34) | def test_loss_with_reduction_override(loss_class): function test_regression_losses (line 52) | def test_regression_losses(loss_class, input_shape): function test_classification_losses (line 89) | def test_classification_losses(loss_class, input_shape): function test_GHMR_loss (line 127) | def test_GHMR_loss(loss_class, input_shape): function test_loss_with_ignore_index (line 140) | def test_loss_with_ignore_index(use_sigmoid, reduction, avg_non_ignore): function test_dice_loss (line 182) | def test_dice_loss(naive_dice): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_loss_compatibility.py function _get_config_directory (line 11) | def _get_config_directory(): function _get_config_module (line 26) | def _get_config_module(fname): function _get_detector_cfg (line 35) | def _get_detector_cfg(fname): function test_bbox_loss_compatibility (line 58) | def test_bbox_loss_compatibility(loss_bbox): function test_cls_loss_compatibility (line 98) | def test_cls_loss_compatibility(loss_cls): function _demo_mm_inputs (line 126) | def _demo_mm_inputs(input_shape=(1, 3, 300, 300), FILE: DLTA_AI_app/mmdetection/tests/test_models/test_necks.py function test_fpn (line 11) | def test_fpn(): function test_channel_mapper (line 196) | def test_channel_mapper(): function test_dilated_encoder (line 233) | def test_dilated_encoder(): function test_ct_resnet_neck (line 244) | def test_ct_resnet_neck(): function test_yolov3_neck (line 286) | def test_yolov3_neck(): function test_ssd_neck (line 335) | def test_ssd_neck(): function test_yolox_pafpn (line 402) | def test_yolox_pafpn(): function test_dyhead (line 432) | def test_dyhead(): function test_fpg (line 455) | def test_fpg(): function test_fpn_carafe (line 572) | def test_fpn_carafe(): function test_nas_fpn (line 605) | def test_nas_fpn(): function test_nasfcos_fpn (line 642) | def test_nasfcos_fpn(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_plugins.py function test_dropblock (line 10) | def test_dropblock(): function test_pixel_decoder (line 34) | def test_pixel_decoder(): function test_transformer_encoder_pixel_decoder (line 56) | def test_transformer_encoder_pixel_decoder(): function test_msdeformattn_pixel_decoder (line 114) | def test_msdeformattn_pixel_decoder(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_roi_heads/test_bbox_head.py function test_bbox_head_loss (line 12) | def test_bbox_head_loss(): function test_bbox_head_get_bboxes (line 71) | def test_bbox_head_get_bboxes(num_sample): function test_refine_boxes (line 89) | def test_refine_boxes(): function _demodata_refine_boxes (line 212) | def _demodata_refine_boxes(n_roi, n_img, rng=0): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_roi_heads/test_mask_head.py function test_mask_head_loss (line 10) | def test_mask_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_roi_heads/test_roi_extractor.py function test_groie (line 8) | def test_groie(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_roi_heads/test_sabl_bbox_head.py function test_sabl_bbox_head_loss (line 10) | def test_sabl_bbox_head_loss(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_roi_heads/utils.py function _dummy_bbox_sampling (line 7) | def _dummy_bbox_sampling(proposal_list, gt_bboxes, gt_labels): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_seg_heads/test_maskformer_fusion_head.py function test_maskformer_fusion_head (line 8) | def test_maskformer_fusion_head(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_brick_wrappers.py function test_adaptive_avg_pool2d (line 16) | def test_adaptive_avg_pool2d(): function test_AdaptiveAvgPool2d (line 41) | def test_AdaptiveAvgPool2d(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_conv_upsample.py function test_conv_upsample (line 9) | def test_conv_upsample(num_layers): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_inverted_residual.py function test_inverted_residual (line 10) | def test_inverted_residual(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_model_misc.py function test_interpolate_as (line 9) | def test_interpolate_as(): function test_sigmoid_geometric_mean (line 31) | def test_sigmoid_geometric_mean(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_position_encoding.py function test_sine_positional_encoding (line 9) | def test_sine_positional_encoding(num_feats=16, batch_size=2): function test_learned_positional_encoding (line 29) | def test_learned_positional_encoding(num_feats=16, FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_se_layer.py function test_se_layer (line 10) | def test_se_layer(): function test_dyrelu (line 29) | def test_dyrelu(): FILE: DLTA_AI_app/mmdetection/tests/test_models/test_utils/test_transformer.py function test_adaptive_padding (line 12) | def test_adaptive_padding(): function test_patch_embed (line 104) | def test_patch_embed(): function test_patch_merging (line 318) | def test_patch_merging(): function test_detr_transformer_dencoder_encoder_layer (line 468) | def test_detr_transformer_dencoder_encoder_layer(): function test_transformer (line 534) | def test_transformer(): FILE: DLTA_AI_app/mmdetection/tests/test_onnx/test_head.py function test_cascade_onnx_export (line 25) | def test_cascade_onnx_export(): function test_faster_onnx_export (line 60) | def test_faster_onnx_export(): function retinanet_config (line 95) | def retinanet_config(): function test_retina_head_forward_single (line 126) | def test_retina_head_forward_single(): function test_retina_head_forward (line 135) | def test_retina_head_forward(): function test_retinanet_head_onnx_export (line 148) | def test_retinanet_head_onnx_export(): function yolo_config (line 176) | def yolo_config(): function test_yolov3_head_forward (line 208) | def test_yolov3_head_forward(): function test_yolov3_head_onnx_export (line 220) | def test_yolov3_head_onnx_export(): function fcos_config (line 243) | def fcos_config(): function test_fcos_head_forward_single (line 259) | def test_fcos_head_forward_single(): function test_fcos_head_forward (line 271) | def test_fcos_head_forward(): function test_fcos_head_onnx_export (line 282) | def test_fcos_head_onnx_export(): function fsaf_config (line 311) | def fsaf_config(): function test_fsaf_head_forward_single (line 334) | def test_fsaf_head_forward_single(): function test_fsaf_head_forward (line 342) | def test_fsaf_head_forward(): function test_fsaf_head_onnx_export (line 354) | def test_fsaf_head_onnx_export(): function ssd_config (line 382) | def ssd_config(): function test_ssd_head_forward (line 415) | def test_ssd_head_forward(): function test_ssd_head_onnx_export (line 428) | def test_ssd_head_onnx_export(): FILE: DLTA_AI_app/mmdetection/tests/test_onnx/test_neck.py function fpn_neck_config (line 35) | def fpn_neck_config(test_step_name): function yolo_neck_config (line 103) | def yolo_neck_config(test_step_name): function test_fpn_normal (line 121) | def test_fpn_normal(): function test_fpn_wo_extra_convs (line 126) | def test_fpn_wo_extra_convs(): function test_fpn_lateral_bns (line 131) | def test_fpn_lateral_bns(): function test_fpn_bilinear_upsample (line 136) | def test_fpn_bilinear_upsample(): function test_fpn_scale_factor (line 141) | def test_fpn_scale_factor(): function test_fpn_extra_convs_inputs (line 146) | def test_fpn_extra_convs_inputs(): function test_fpn_extra_convs_laterals (line 151) | def test_fpn_extra_convs_laterals(): function test_fpn_extra_convs_outputs (line 156) | def test_fpn_extra_convs_outputs(): function test_yolo_normal (line 161) | def test_yolo_normal(): FILE: DLTA_AI_app/mmdetection/tests/test_onnx/utils.py class WrapFunction (line 21) | class WrapFunction(nn.Module): method __init__ (line 24) | def __init__(self, wrapped_function): method forward (line 28) | def forward(self, *args, **kwargs): function ort_validate (line 32) | def ort_validate(model, feats, onnx_io='tmp.onnx'): function get_ort_model_output (line 88) | def get_ort_model_output(feat, onnx_io='tmp.onnx'): function convert_result_list (line 118) | def convert_result_list(outputs): FILE: DLTA_AI_app/mmdetection/tests/test_runtime/async_benchmark.py function main (line 16) | async def main(): FILE: DLTA_AI_app/mmdetection/tests/test_runtime/test_apis.py function test_init_detector (line 9) | def test_init_detector(): FILE: DLTA_AI_app/mmdetection/tests/test_runtime/test_async.py class AsyncTestCase (line 18) | class AsyncTestCase(asynctest.TestCase): method _run_test_method (line 24) | def _run_test_method(self, method): class MaskRCNNDetector (line 31) | class MaskRCNNDetector: method __init__ (line 33) | def __init__(self, method init (line 46) | async def init(self): method apredict (line 54) | async def apredict(self, img): class AsyncInferenceTestCase (line 62) | class AsyncInferenceTestCase(AsyncTestCase): method test_simple_inference (line 66) | async def test_simple_inference(self): FILE: DLTA_AI_app/mmdetection/tests/test_runtime/test_config.py function _get_config_directory (line 12) | def _get_config_directory(): function _check_numclasscheckhook (line 28) | def _check_numclasscheckhook(detector, config_mod): function _check_roi_head (line 63) | def _check_roi_head(config, head): function _check_roi_extractor (line 116) | def _check_roi_extractor(config, roi_extractor, prev_roi_extractor=None): function _check_mask_head (line 145) | def _check_mask_head(mask_cfg, mask_head): function _check_bbox_head (line 168) | def _check_bbox_head(bbox_cfg, bbox_head): function _check_anchorhead (line 219) | def _check_anchorhead(config, head): function test_config_data_pipeline (line 256) | def test_config_data_pipeline(config_rpath): FILE: DLTA_AI_app/mmdetection/tests/test_runtime/test_eval_hook.py class ExampleDataset (line 18) | class ExampleDataset(Dataset): method __init__ (line 20) | def __init__(self): method __getitem__ (line 24) | def __getitem__(self, idx): method __len__ (line 28) | def __len__(self): method evaluate (line 32) | def evaluate(self, results, logger=None): class EvalDataset (line 36) | class EvalDataset(ExampleDataset): method evaluate (line 38) | def evaluate(self, results, logger=None): class ExampleModel (line 45) | class ExampleModel(nn.Module): method __init__ (line 47) | def __init__(self): method forward (line 52) | def forward(self, imgs, rescale=False, return_loss=False): method train_step (line 55) | def train_step(self, data_batch, optimizer, **kwargs): function test_eval_hook (line 71) | def test_eval_hook(EvalHookCls): FILE: DLTA_AI_app/mmdetection/tests/test_runtime/test_fp16.py function test_cast_tensor_type (line 10) | def test_cast_tensor_type(): function test_auto_fp16 (line 52) | def test_auto_fp16(): function test_force_fp32 (line 178) | def test_force_fp32(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_anchor.py function test_standard_points_generator (line 12) | def test_standard_points_generator(): function test_sparse_prior (line 107) | def test_sparse_prior(): function test_standard_anchor_generator (line 273) | def test_standard_anchor_generator(): function test_strides (line 288) | def test_strides(): function test_ssd_anchor_generator (line 310) | def test_ssd_anchor_generator(): function test_anchor_generator_with_tuples (line 472) | def test_anchor_generator_with_tuples(): function test_yolo_anchor_generator (line 507) | def test_yolo_anchor_generator(): function test_retina_anchor (line 550) | def test_retina_anchor(): function test_guided_anchor (line 649) | def test_guided_anchor(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_assigner.py function test_max_iou_assigner (line 18) | def test_max_iou_assigner(): function test_max_iou_assigner_with_ignore (line 42) | def test_max_iou_assigner_with_ignore(): function test_max_iou_assigner_with_empty_gt (line 69) | def test_max_iou_assigner_with_empty_gt(): function test_max_iou_assigner_with_empty_boxes (line 88) | def test_max_iou_assigner_with_empty_boxes(): function test_max_iou_assigner_with_empty_boxes_and_ignore (line 112) | def test_max_iou_assigner_with_empty_boxes_and_ignore(): function test_max_iou_assigner_with_empty_boxes_and_gt (line 146) | def test_max_iou_assigner_with_empty_boxes_and_gt(): function test_point_assigner (line 158) | def test_point_assigner(): function test_point_assigner_with_empty_gt (line 175) | def test_point_assigner_with_empty_gt(): function test_point_assigner_with_empty_boxes_and_gt (line 191) | def test_point_assigner_with_empty_boxes_and_gt(): function test_approx_iou_assigner (line 200) | def test_approx_iou_assigner(): function test_approx_iou_assigner_with_empty_gt (line 225) | def test_approx_iou_assigner_with_empty_gt(): function test_approx_iou_assigner_with_empty_boxes (line 248) | def test_approx_iou_assigner_with_empty_boxes(): function test_approx_iou_assigner_with_empty_boxes_and_gt (line 267) | def test_approx_iou_assigner_with_empty_boxes_and_gt(): function test_random_assign_result (line 283) | def test_random_assign_result(): function test_center_region_assigner (line 297) | def test_center_region_assigner(): function test_center_region_assigner_with_ignore (line 323) | def test_center_region_assigner_with_ignore(): function test_center_region_assigner_with_empty_bboxes (line 352) | def test_center_region_assigner_with_empty_bboxes(): function test_center_region_assigner_with_empty_gts (line 368) | def test_center_region_assigner_with_empty_gts(): function test_hungarian_match_assigner (line 385) | def test_hungarian_match_assigner(): function test_uniform_assigner (line 432) | def test_uniform_assigner(): function test_uniform_assigner_with_empty_gt (line 460) | def test_uniform_assigner_with_empty_gt(): function test_uniform_assigner_with_empty_boxes (line 482) | def test_uniform_assigner_with_empty_boxes(): function test_sim_ota_assigner (line 504) | def test_sim_ota_assigner(): function test_task_aligned_assigner (line 519) | def test_task_aligned_assigner(): function test_mask_hungarian_match_assigner (line 561) | def test_mask_hungarian_match_assigner(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_coder.py function test_yolo_bbox_coder (line 9) | def test_yolo_bbox_coder(): function test_delta_bbox_coder (line 27) | def test_delta_bbox_coder(): function test_tblr_bbox_coder (line 78) | def test_tblr_bbox_coder(): function test_distance_point_bbox_coder (line 113) | def test_distance_point_bbox_coder(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_compat_config.py function test_compat_runner_args (line 8) | def test_compat_runner_args(): function test_compat_loader_args (line 19) | def test_compat_loader_args(): function test_compat_imgs_per_gpu (line 105) | def test_compat_imgs_per_gpu(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_general_data.py function _equal (line 10) | def _equal(a, b): function test_general_data (line 17) | def test_general_data(): function test_instance_data (line 413) | def test_instance_data(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_hook.py function _build_demo_runner_without_hook (line 22) | def _build_demo_runner_without_hook(runner_type='EpochBasedRunner', function _build_demo_runner (line 68) | def _build_demo_runner(runner_type='EpochBasedRunner', function test_yolox_lrupdater_hook (line 86) | def test_yolox_lrupdater_hook(multi_optimziers): function test_ema_hook (line 158) | def test_ema_hook(): function test_sync_norm_hook (line 242) | def test_sync_norm_hook(): function test_sync_random_size_hook (line 253) | def test_sync_random_size_hook(): function test_check_invalid_loss_hook (line 288) | def test_check_invalid_loss_hook(set_loss): function test_set_epoch_info_hook (line 328) | def test_set_epoch_info_hook(): function test_memory_profiler_hook (line 357) | def test_memory_profiler_hook(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_layer_decay_optimizer_constructor.py class ToyConvNeXt (line 90) | class ToyConvNeXt(nn.Module): method __init__ (line 92) | def __init__(self): class ToyDetector (line 116) | class ToyDetector(nn.Module): method __init__ (line 118) | def __init__(self, backbone): class PseudoDataParallel (line 124) | class PseudoDataParallel(nn.Module): method __init__ (line 126) | def __init__(self, model): function check_optimizer_lr_wd (line 131) | def check_optimizer_lr_wd(optimizer, gt_lr_wd): function test_learning_rate_decay_optimizer_constructor (line 144) | def test_learning_rate_decay_optimizer_constructor(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_logger.py function callee_func (line 7) | def callee_func(): class CallerClassForTest (line 12) | class CallerClassForTest: method __init__ (line 14) | def __init__(self): function test_get_caller_name (line 18) | def test_get_caller_name(): function test_log_img_scale (line 28) | def test_log_img_scale(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_masks.py function dummy_raw_bitmap_masks (line 9) | def dummy_raw_bitmap_masks(size): function dummy_raw_polygon_masks (line 20) | def dummy_raw_polygon_masks(size): function dummy_bboxes (line 36) | def dummy_bboxes(num, max_height, max_width): function test_bitmap_mask_init (line 43) | def test_bitmap_mask_init(): function test_bitmap_mask_rescale (line 78) | def test_bitmap_mask_rescale(): function test_bitmap_mask_resize (line 99) | def test_bitmap_mask_resize(): function test_bitmap_mask_get_bboxes (line 133) | def test_bitmap_mask_get_bboxes(): function test_bitmap_mask_flip (line 162) | def test_bitmap_mask_flip(): function test_bitmap_mask_pad (line 203) | def test_bitmap_mask_pad(): function test_bitmap_mask_crop (line 222) | def test_bitmap_mask_crop(): function test_bitmap_mask_crop_and_resize (line 248) | def test_bitmap_mask_crop_and_resize(): function test_bitmap_mask_expand (line 271) | def test_bitmap_mask_expand(): function test_bitmap_mask_area (line 291) | def test_bitmap_mask_area(): function test_bitmap_mask_to_ndarray (line 305) | def test_bitmap_mask_to_ndarray(): function test_bitmap_mask_to_tensor (line 322) | def test_bitmap_mask_to_tensor(): function test_bitmap_mask_index (line 339) | def test_bitmap_mask_index(): function test_bitmap_mask_iter (line 346) | def test_bitmap_mask_iter(): function test_polygon_mask_init (line 354) | def test_polygon_mask_init(): function test_polygon_mask_rescale (line 382) | def test_polygon_mask_rescale(): function test_polygon_mask_resize (line 410) | def test_polygon_mask_resize(): function test_polygon_mask_flip (line 483) | def test_polygon_mask_flip(): function test_polygon_mask_crop (line 531) | def test_polygon_mask_crop(): function test_polygon_mask_pad (line 560) | def test_polygon_mask_pad(): function test_polygon_mask_expand (line 581) | def test_polygon_mask_expand(): function test_polygon_mask_crop_and_resize (line 588) | def test_polygon_mask_crop_and_resize(): function test_polygon_mask_area (line 613) | def test_polygon_mask_area(): function test_polygon_mask_to_bitmap (line 630) | def test_polygon_mask_to_bitmap(): function test_polygon_mask_to_ndarray (line 638) | def test_polygon_mask_to_ndarray(): function test_polygon_to_tensor (line 654) | def test_polygon_to_tensor(): function test_polygon_mask_index (line 671) | def test_polygon_mask_index(): function test_polygon_mask_iter (line 685) | def test_polygon_mask_iter(): function test_mask2bbox (line 692) | def test_mask2bbox(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_memory.py function test_avoidoom (line 9) | def test_avoidoom(): function test_cast_tensor_type (line 62) | def test_cast_tensor_type(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_misc.py function dummy_raw_polygon_masks (line 16) | def dummy_raw_polygon_masks(size): function test_mask2ndarray (line 32) | def test_mask2ndarray(): function test_distance2bbox (line 57) | def test_distance2bbox(): function test_center_of_mass (line 107) | def test_center_of_mass(mask): function test_flip_tensor (line 118) | def test_flip_tensor(): function test_select_single_mlvl (line 143) | def test_select_single_mlvl(): function test_filter_scores_and_topk (line 149) | def test_filter_scores_and_topk(): function test_find_latest_checkpoint (line 169) | def test_find_latest_checkpoint(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_nms.py function _create_mask (line 7) | def _create_mask(N, h, w): function test_nms_input_errors (line 14) | def test_nms_input_errors(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_replace_cfg_vals.py function test_replace_cfg_vals (line 11) | def test_replace_cfg_vals(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_setup_env.py function test_setup_multi_processes (line 12) | def test_setup_multi_processes(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_split_batch.py function test_split_batch (line 12) | def test_split_batch(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_version.py function test_version_check (line 5) | def test_version_check(): FILE: DLTA_AI_app/mmdetection/tests/test_utils/test_visualization.py function test_color (line 16) | def test_color(): function test_imshow_det_bboxes (line 33) | def test_imshow_det_bboxes(): function test_imshow_gt_det_bboxes (line 82) | def test_imshow_gt_det_bboxes(): function test_palette (line 132) | def test_palette(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/analyze_logs.py function cal_train_time (line 11) | def cal_train_time(log_dicts, args): function plot_curve (line 38) | def plot_curve(log_dicts, args): function add_plot_parser (line 104) | def add_plot_parser(subparsers): function add_time_parser (line 142) | def add_time_parser(subparsers): function parse_args (line 158) | def parse_args(): function load_json_logs (line 168) | def load_json_logs(json_logs): function main (line 191) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/analyze_results.py function bbox_map_eval (line 17) | def bbox_map_eval(det_result, annotation, nproc=4): class ResultVisualizer (line 68) | class ResultVisualizer: method __init__ (line 83) | def __init__(self, method _save_image_gts_results (line 93) | def _save_image_gts_results(self, method evaluate_and_show (line 142) | def evaluate_and_show(self, method detection_evaluate (line 184) | def detection_evaluate(self, dataset, results, topk=20, eval_fn=None): method panoptic_evaluate (line 225) | def panoptic_evaluate(self, dataset, results, topk=20): function parse_args (line 286) | def parse_args(): function main (line 333) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/benchmark.py function parse_args (line 19) | def parse_args(): function measure_inference_speed (line 59) | def measure_inference_speed(cfg, checkpoint, max_iter, log_interval, function repeat_measure_inference_speed (line 136) | def repeat_measure_inference_speed(cfg, function main (line 170) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/coco_error_analysis.py function makeplot (line 13) | def makeplot(rs, ps, outDir, class_name, iou_type): function autolabel (line 54) | def autolabel(ax, rects): function makebarplot (line 73) | def makebarplot(rs, ps, outDir, class_name, iou_type): function get_gt_area_group_numbers (line 108) | def get_gt_area_group_numbers(cocoEval): function make_gt_area_group_numbers_plot (line 123) | def make_gt_area_group_numbers_plot(cocoEval, outDir, verbose=True): function make_gt_area_histogram_plot (line 152) | def make_gt_area_histogram_plot(cocoEval, outDir): function analyze_individual_category (line 174) | def analyze_individual_category(k, function analyze_results (line 235) | def analyze_results(res_file, function main (line 308) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/confusion_matrix.py function parse_args (line 16) | def parse_args(): function calculate_confusion_matrix (line 60) | def calculate_confusion_matrix(dataset, function analyze_per_img_dets (line 96) | def analyze_per_img_dets(confusion_matrix, function plot_confusion_matrix (line 146) | def plot_confusion_matrix(confusion_matrix, function main (line 230) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/eval_metric.py function parse_args (line 11) | def parse_args(): function main (line 48) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/get_flops.py function parse_args (line 16) | def parse_args(): function main (line 45) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/optimize_anchors.py function parse_args (line 35) | def parse_args(): class BaseAnchorOptimizer (line 66) | class BaseAnchorOptimizer: method __init__ (line 80) | def __init__(self, method get_whs_and_shapes (line 97) | def get_whs_and_shapes(self): method get_zero_center_bbox_tensor (line 124) | def get_zero_center_bbox_tensor(self): method optimize (line 137) | def optimize(self): method save_result (line 140) | def save_result(self, anchors, path=None): class YOLOKMeansAnchorOptimizer (line 151) | class YOLOKMeansAnchorOptimizer(BaseAnchorOptimizer): method __init__ (line 160) | def __init__(self, num_anchors, iters, **kwargs): method optimize (line 166) | def optimize(self): method kmeans_anchors (line 170) | def kmeans_anchors(self): method kmeans_maximization (line 206) | def kmeans_maximization(self, bboxes, assignments, centers): method kmeans_expectation (line 215) | def kmeans_expectation(self, bboxes, assignments, centers): class YOLODEAnchorOptimizer (line 223) | class YOLODEAnchorOptimizer(BaseAnchorOptimizer): method __init__ (line 258) | def __init__(self, method optimize (line 278) | def optimize(self): method differential_evolution (line 282) | def differential_evolution(self): method avg_iou_cost (line 308) | def avg_iou_cost(anchor_params, bboxes): function main (line 322) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/robustness_eval.py function print_coco_results (line 9) | def print_coco_results(results): function get_coco_style_results (line 35) | def get_coco_style_results(filename, function get_voc_style_results (line 112) | def get_voc_style_results(filename, prints='mPC', aggregate='benchmark'): function get_results (line 156) | def get_results(filename, function get_distortions_from_file (line 184) | def get_distortions_from_file(filename): function get_distortions_from_results (line 191) | def get_distortions_from_results(eval_output): function main (line 198) | def main(): FILE: DLTA_AI_app/mmdetection/tools/analysis_tools/test_robustness.py function coco_eval_with_return (line 24) | def coco_eval_with_return(result_files, function voc_eval_with_return (line 66) | def voc_eval_with_return(result_file, function parse_args (line 93) | def parse_args(): function main (line 181) | def main(): FILE: DLTA_AI_app/mmdetection/tools/dataset_converters/cityscapes.py function collect_files (line 12) | def collect_files(img_dir, gt_dir): function collect_annotations (line 29) | def collect_annotations(files, nproc=1): function load_img_info (line 40) | def load_img_info(files): function cvt_annotations (line 85) | def cvt_annotations(image_infos, out_json_name): function parse_args (line 114) | def parse_args(): function main (line 127) | def main(): FILE: DLTA_AI_app/mmdetection/tools/dataset_converters/images2coco.py function parse_args (line 9) | def parse_args(): function collect_image_infos (line 30) | def collect_image_infos(path, exclude_extensions=None): function cvt_to_coco_json (line 49) | def cvt_to_coco_json(img_infos, classes): function main (line 80) | def main(): FILE: DLTA_AI_app/mmdetection/tools/dataset_converters/pascal_voc.py function parse_xml (line 14) | def parse_xml(args): function cvt_annotations (line 68) | def cvt_annotations(devkit_path, years, split, out_file): function cvt_to_coco_json (line 96) | def cvt_to_coco_json(annotations): function parse_args (line 183) | def parse_args(): function main (line 197) | def main(): FILE: DLTA_AI_app/mmdetection/tools/deployment/mmdet2torchserve.py function mmdet2torchserve (line 15) | def mmdet2torchserve( function parse_args (line 70) | def parse_args(): FILE: DLTA_AI_app/mmdetection/tools/deployment/mmdet_handler.py class MMdetHandler (line 12) | class MMdetHandler(BaseHandler): method initialize (line 15) | def initialize(self, context): method preprocess (line 31) | def preprocess(self, data): method inference (line 43) | def inference(self, data, *args, **kwargs): method postprocess (line 47) | def postprocess(self, data): FILE: DLTA_AI_app/mmdetection/tools/deployment/onnx2tensorrt.py function get_GiB (line 19) | def get_GiB(x: int): function onnx2tensorrt (line 24) | def onnx2tensorrt(onnx_file, function parse_normalize_cfg (line 106) | def parse_normalize_cfg(test_pipeline): function parse_args (line 119) | def parse_args(): function parse_shape (line 208) | def parse_shape(shape): FILE: DLTA_AI_app/mmdetection/tools/deployment/pytorch2onnx.py function pytorch2onnx (line 16) | def pytorch2onnx(model, function parse_normalize_cfg (line 196) | def parse_normalize_cfg(test_pipeline): function parse_args (line 209) | def parse_args(): FILE: DLTA_AI_app/mmdetection/tools/deployment/test.py function parse_args (line 15) | def parse_args(): function main (line 67) | def main(): FILE: DLTA_AI_app/mmdetection/tools/deployment/test_torchserver.py function parse_args (line 10) | def parse_args(): function parse_result (line 28) | def parse_result(input, model_class): function main (line 42) | def main(args): FILE: DLTA_AI_app/mmdetection/tools/misc/browse_dataset.py function parse_args (line 17) | def parse_args(): function retrieve_data_cfg (line 51) | def retrieve_data_cfg(config_path, skip_type, cfg_options): function main (line 81) | def main(): FILE: DLTA_AI_app/mmdetection/tools/misc/download_dataset.py function parse_args (line 11) | def parse_args(): function download (line 35) | def download(url, dir, unzip=True, delete=False, threads=1): function main (line 65) | def main(): FILE: DLTA_AI_app/mmdetection/tools/misc/gen_coco_panoptic_test_info.py function parse_args (line 7) | def parse_args(): function main (line 17) | def main(): FILE: DLTA_AI_app/mmdetection/tools/misc/get_image_metas.py function parse_args (line 19) | def parse_args(): function get_metas_from_csv_style_ann_file (line 36) | def get_metas_from_csv_style_ann_file(ann_file): function get_metas_from_txt_style_ann_file (line 52) | def get_metas_from_txt_style_ann_file(ann_file): function get_image_metas (line 65) | def get_image_metas(data_info, img_prefix): function main (line 79) | def main(): FILE: DLTA_AI_app/mmdetection/tools/misc/print_config.py function parse_args (line 10) | def parse_args(): function main (line 43) | def main(): FILE: DLTA_AI_app/mmdetection/tools/misc/split_coco.py function parse_args (line 15) | def parse_args(): function split_coco (line 42) | def split_coco(data_root, out_dir, percent, fold): function multi_wrapper (line 100) | def multi_wrapper(args): FILE: DLTA_AI_app/mmdetection/tools/model_converters/detectron2pytorch.py function convert_bn (line 11) | def convert_bn(blobs, state_dict, caffe_name, torch_name, converted_names): function convert_conv_fc (line 24) | def convert_conv_fc(blobs, state_dict, caffe_name, torch_name, function convert (line 35) | def convert(src, dst, depth): function main (line 73) | def main(): FILE: DLTA_AI_app/mmdetection/tools/model_converters/publish_model.py function parse_args (line 8) | def parse_args(): function process_checkpoint (line 17) | def process_checkpoint(in_file, out_file): function main (line 37) | def main(): FILE: DLTA_AI_app/mmdetection/tools/model_converters/regnet2mmdet.py function convert_stem (line 8) | def convert_stem(model_key, model_weight, state_dict, converted_names): function convert_head (line 16) | def convert_head(model_key, model_weight, state_dict, converted_names): function convert_reslayer (line 23) | def convert_reslayer(model_key, model_weight, state_dict, converted_names): function convert (line 55) | def convert(src, dst): function main (line 81) | def main(): FILE: DLTA_AI_app/mmdetection/tools/model_converters/selfsup2mmdet.py function moco_convert (line 8) | def moco_convert(src, dst): function main (line 28) | def main(): FILE: DLTA_AI_app/mmdetection/tools/model_converters/upgrade_model_version.py function is_head (line 11) | def is_head(key): function parse_config (line 19) | def parse_config(config_strings): function reorder_cls_channel (line 46) | def reorder_cls_channel(val, num_classes=81): function truncate_cls_channel (line 68) | def truncate_cls_channel(val, num_classes=81): function truncate_reg_channel (line 90) | def truncate_reg_channel(val, num_classes=81): function convert (line 115) | def convert(in_file, out_file, num_classes): function main (line 196) | def main(): FILE: DLTA_AI_app/mmdetection/tools/model_converters/upgrade_ssd_version.py function parse_config (line 10) | def parse_config(config_strings): function convert (line 22) | def convert(in_file, out_file): function main (line 48) | def main(): FILE: DLTA_AI_app/mmdetection/tools/test.py function parse_args (line 24) | def parse_args(): function main (line 121) | def main(): FILE: DLTA_AI_app/mmdetection/tools/train.py function parse_args (line 25) | def parse_args(): function main (line 108) | def main(): FILE: DLTA_AI_app/setup.py function get_long_description (line 87) | def get_long_description(): function main (line 100) | def main(): FILE: DLTA_AI_app/trackers/botsort/basetrack.py class TrackState (line 5) | class TrackState(object): class BaseTrack (line 13) | class BaseTrack(object): method end_frame (line 32) | def end_frame(self): method next_id (line 36) | def next_id(): method activate (line 40) | def activate(self, *args): method predict (line 43) | def predict(self): method update (line 46) | def update(self, *args, **kwargs): method mark_lost (line 49) | def mark_lost(self): method mark_long_lost (line 52) | def mark_long_lost(self): method mark_removed (line 55) | def mark_removed(self): method clear_count (line 59) | def clear_count(): FILE: DLTA_AI_app/trackers/botsort/bot_sort.py class STrack (line 17) | class STrack(BaseTrack): method __init__ (line 20) | def __init__(self, tlwh, score, cls, feat=None, feat_history=50): method update_features (line 42) | def update_features(self, feat): method update_cls (line 52) | def update_cls(self, cls, score): method predict (line 71) | def predict(self): method multi_predict (line 80) | def multi_predict(stracks): method multi_gmc (line 94) | def multi_gmc(stracks, H=np.eye(2, 3)): method activate (line 111) | def activate(self, kalman_filter, frame_id): method re_activate (line 125) | def re_activate(self, new_track, frame_id, new_id=False): method update (line 140) | def update(self, new_track, frame_id): method tlwh (line 165) | def tlwh(self): method tlbr (line 176) | def tlbr(self): method xywh (line 185) | def xywh(self): method tlwh_to_xyah (line 194) | def tlwh_to_xyah(tlwh): method tlwh_to_xywh (line 204) | def tlwh_to_xywh(tlwh): method to_xywh (line 212) | def to_xywh(self): method tlbr_to_tlwh (line 216) | def tlbr_to_tlwh(tlbr): method tlwh_to_tlbr (line 222) | def tlwh_to_tlbr(tlwh): method __repr__ (line 227) | def __repr__(self): class BoTSORT (line 231) | class BoTSORT(object): method __init__ (line 232) | def __init__(self, method update (line 271) | def update(self, output_results, img): method _xywh_to_xyxy (line 476) | def _xywh_to_xyxy(self, bbox_xywh): method _get_features (line 484) | def _get_features(self, bbox_xywh, ori_img): function joint_stracks (line 496) | def joint_stracks(tlista, tlistb): function sub_stracks (line 510) | def sub_stracks(tlista, tlistb): function remove_duplicate_stracks (line 521) | def remove_duplicate_stracks(stracksa, stracksb): FILE: DLTA_AI_app/trackers/botsort/gmc.py class GMC (line 8) | class GMC: method __init__ (line 9) | def __init__(self, method='sparseOptFlow', downscale=2, verbose=None): method apply (line 66) | def apply(self, raw_frame, detections=None): method applyEcc (line 80) | def applyEcc(self, raw_frame, detections=None): method applyFeaures (line 113) | def applyFeaures(self, raw_frame, detections=None): method applySparseOptFlow (line 239) | def applySparseOptFlow(self, raw_frame, detections=None): method applyFile (line 305) | def applyFile(self, raw_frame, detections=None): FILE: DLTA_AI_app/trackers/botsort/kalman_filter.py class KalmanFilter (line 23) | class KalmanFilter(object): method __init__ (line 40) | def __init__(self): method initiate (line 55) | def initiate(self, measurement): method predict (line 88) | def predict(self, mean, covariance): method project (line 125) | def project(self, mean, covariance): method multi_predict (line 154) | def multi_predict(self, mean, covariance): method update (line 193) | def update(self, mean, covariance, measurement): method gating_distance (line 227) | def gating_distance(self, mean, covariance, measurements, FILE: DLTA_AI_app/trackers/botsort/matching.py function merge_matches (line 9) | def merge_matches(m1, m2, shape): function _indices_to_matches (line 26) | def _indices_to_matches(cost_matrix, indices, thresh): function linear_assignment (line 37) | def linear_assignment(cost_matrix, thresh): function ious (line 51) | def ious(atlbrs, btlbrs): function tlbr_expand (line 71) | def tlbr_expand(tlbr, scale=1.2): function iou_distance (line 85) | def iou_distance(atracks, btracks): function v_iou_distance (line 106) | def v_iou_distance(atracks, btracks): function embedding_distance (line 127) | def embedding_distance(tracks, detections, metric='cosine'): function gate_cost_matrix (line 145) | def gate_cost_matrix(kf, cost_matrix, tracks, detections, only_position=... function fuse_motion (line 159) | def fuse_motion(kf, cost_matrix, tracks, detections, only_position=False... function fuse_iou (line 174) | def fuse_iou(cost_matrix, tracks, detections): function fuse_score (line 188) | def fuse_score(cost_matrix, detections): function bbox_ious (line 198) | def bbox_ious(boxes, query_boxes): FILE: DLTA_AI_app/trackers/botsort/reid_multibackend.py function check_suffix (line 22) | def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''): class ReIDDetectMultiBackend (line 33) | class ReIDDetectMultiBackend(nn.Module): method __init__ (line 35) | def __init__(self, weights='osnet_x0_25_msmt17.pt', device=torch.devic... method model_type (line 165) | def model_type(p='path/to/model.pt'): method _preprocess (line 173) | def _preprocess(self, im_batch): method forward (line 187) | def forward(self, im_batch): method from_numpy (line 228) | def from_numpy(self, x): method warmup (line 231) | def warmup(self, imgsz=[(256, 128, 3)]): FILE: DLTA_AI_app/trackers/bytetrack/basetrack.py class TrackState (line 5) | class TrackState(object): class BaseTrack (line 12) | class BaseTrack(object): method end_frame (line 31) | def end_frame(self): method next_id (line 35) | def next_id(): method activate (line 39) | def activate(self, *args): method predict (line 42) | def predict(self): method update (line 45) | def update(self, *args, **kwargs): method mark_lost (line 48) | def mark_lost(self): method mark_removed (line 51) | def mark_removed(self): FILE: DLTA_AI_app/trackers/bytetrack/byte_tracker.py class STrack (line 16) | class STrack(BaseTrack): method __init__ (line 18) | def __init__(self, tlwh, score, cls): method predict (line 30) | def predict(self): method multi_predict (line 37) | def multi_predict(stracks): method activate (line 49) | def activate(self, kalman_filter, frame_id): method re_activate (line 63) | def re_activate(self, new_track, frame_id, new_id=False): method update (line 76) | def update(self, new_track, frame_id): method tlwh (line 98) | def tlwh(self): method tlbr (line 111) | def tlbr(self): method tlwh_to_xyah (line 121) | def tlwh_to_xyah(tlwh): method to_xyah (line 130) | def to_xyah(self): method tlbr_to_tlwh (line 135) | def tlbr_to_tlwh(tlbr): method tlwh_to_tlbr (line 142) | def tlwh_to_tlbr(tlwh): method __repr__ (line 147) | def __repr__(self): class BYTETracker (line 151) | class BYTETracker(object): method __init__ (line 152) | def __init__(self, track_thresh=0.45, match_thresh=0.8, track_buffer=2... method update (line 167) | def update(self, dets, _): function joint_stracks (line 316) | def joint_stracks(tlista, tlistb): function sub_stracks (line 330) | def sub_stracks(tlista, tlistb): function remove_duplicate_stracks (line 341) | def remove_duplicate_stracks(stracksa, stracksb): FILE: DLTA_AI_app/trackers/bytetrack/kalman_filter.py class KalmanFilter (line 23) | class KalmanFilter(object): method __init__ (line 40) | def __init__(self): method initiate (line 55) | def initiate(self, measurement): method predict (line 88) | def predict(self, mean, covariance): method project (line 126) | def project(self, mean, covariance): method multi_predict (line 155) | def multi_predict(self, mean, covariance): method update (line 194) | def update(self, mean, covariance, measurement): method gating_distance (line 228) | def gating_distance(self, mean, covariance, measurements, FILE: DLTA_AI_app/trackers/bytetrack/matching.py function merge_matches (line 10) | def merge_matches(m1, m2, shape): function _indices_to_matches (line 27) | def _indices_to_matches(cost_matrix, indices, thresh): function linear_assignment (line 38) | def linear_assignment(cost_matrix, thresh): function ious (line 52) | def ious(atlbrs, btlbrs): function iou_distance (line 72) | def iou_distance(atracks, btracks): function v_iou_distance (line 92) | def v_iou_distance(atracks, btracks): function embedding_distance (line 112) | def embedding_distance(tracks, detections, metric='cosine'): function gate_cost_matrix (line 131) | def gate_cost_matrix(kf, cost_matrix, tracks, detections, only_position=... function fuse_motion (line 144) | def fuse_motion(kf, cost_matrix, tracks, detections, only_position=False... function fuse_iou (line 158) | def fuse_iou(cost_matrix, tracks, detections): function fuse_score (line 172) | def fuse_score(cost_matrix, detections): function bbox_ious (line 183) | def bbox_ious(boxes, query_boxes): FILE: DLTA_AI_app/trackers/deepocsort/args.py function make_parser (line 4) | def make_parser(): FILE: DLTA_AI_app/trackers/deepocsort/association.py function iou_batch (line 8) | def iou_batch(bboxes1, bboxes2): function giou_batch (line 30) | def giou_batch(bboxes1, bboxes2): function diou_batch (line 67) | def diou_batch(bboxes1, bboxes2): function ciou_batch (line 110) | def ciou_batch(bboxes1, bboxes2): function ct_dist (line 166) | def ct_dist(bboxes1, bboxes2): function speed_direction_batch (line 190) | def speed_direction_batch(dets, tracks): function linear_assignment (line 202) | def linear_assignment(cost_matrix): function associate_detections_to_trackers (line 215) | def associate_detections_to_trackers(detections, trackers, iou_threshold... function compute_aw_max_metric (line 263) | def compute_aw_max_metric(emb_cost, w_association_emb, bottom=0.5): function associate (line 291) | def associate( function associate_kitti (line 367) | def associate_kitti(detections, trackers, det_cates, iou_threshold, velo... FILE: DLTA_AI_app/trackers/deepocsort/cmc.py class CMCComputer (line 9) | class CMCComputer: method __init__ (line 10) | def __init__(self, minimum_features=10, method="sparse"): method compute_affine (line 66) | def compute_affine(self, img, bbox, tag): method _load_file (line 83) | def _load_file(self, name): method _affine_file (line 98) | def _affine_file(self, frame, mask, tag): method _affine_sift (line 107) | def _affine_sift(self, frame, mask, tag): method _affine_sparse_flow (line 136) | def _affine_sparse_flow(self, frame, mask, tag): method dump_cache (line 168) | def dump_cache(self): FILE: DLTA_AI_app/trackers/deepocsort/embedding.py class EmbeddingComputer (line 13) | class EmbeddingComputer: method __init__ (line 14) | def __init__(self, dataset): method load_cache (line 23) | def load_cache(self, path): method compute_embedding (line 30) | def compute_embedding(self, img, bbox, tag, is_numpy=True): method initialize_model (line 85) | def initialize_model(self): method dump_cache (line 113) | def dump_cache(self): FILE: DLTA_AI_app/trackers/deepocsort/kalmanfilter.py class KalmanFilterNew (line 110) | class KalmanFilterNew(object): method __init__ (line 284) | def __init__(self, dim_x, dim_z, dim_u=0): method predict (line 340) | def predict(self, u=None, B=None, F=None, Q=None): method freeze (line 381) | def freeze(self): method apply_affine_correction (line 387) | def apply_affine_correction(self, m, t, new_kf): method unfreeze (line 433) | def unfreeze(self): method update (line 480) | def update(self, z, R=None, H=None): method md_for_measurement (line 571) | def md_for_measurement(self, z): method predict_steadystate (line 582) | def predict_steadystate(self, u=0, B=None): method update_steadystate (line 611) | def update_steadystate(self, z): method update_correlated (line 678) | def update_correlated(self, z, R=None, H=None): method batch_filter (line 755) | def batch_filter( method rts_smoother (line 900) | def rts_smoother(self, Xs, Ps, Fs=None, Qs=None, inv=np.linalg.inv): method get_prediction (line 964) | def get_prediction(self, u=None, B=None, F=None, Q=None): method get_update (line 1007) | def get_update(self, z=None): method residual_of (line 1052) | def residual_of(self, z): method measurement_of_state (line 1060) | def measurement_of_state(self, x): method log_likelihood (line 1077) | def log_likelihood(self): method likelihood (line 1086) | def likelihood(self): method mahalanobis (line 1101) | def mahalanobis(self): method alpha (line 1114) | def alpha(self): method log_likelihood_of (line 1124) | def log_likelihood_of(self, z): method alpha (line 1135) | def alpha(self, value): method __repr__ (line 1141) | def __repr__(self): method test_matrix_dimensions (line 1173) | def test_matrix_dimensions(self, z=None, H=None, R=None, F=None, Q=None): function update (line 1270) | def update(x, P, z, R, H=None, return_all=False): function update_steadystate (line 1359) | def update_steadystate(x, z, K, H=None): function predict (line 1406) | def predict(x, P, F=1, Q=0, u=0, B=1, alpha=1.0): function predict_steadystate (line 1447) | def predict_steadystate(x, F=1, u=0, B=1): function batch_filter (line 1478) | def batch_filter(x, P, zs, Fs, Qs, Hs, Rs, Bs=None, us=None, update_firs... function rts_smoother (line 1584) | def rts_smoother(Xs, Ps, Fs, Qs): FILE: DLTA_AI_app/trackers/deepocsort/ocsort.py function k_previous_obs (line 22) | def k_previous_obs(observations, cur_age, k): function convert_bbox_to_z (line 33) | def convert_bbox_to_z(bbox): function convert_bbox_to_z_new (line 48) | def convert_bbox_to_z_new(bbox): function convert_x_to_bbox_new (line 56) | def convert_x_to_bbox_new(x): function convert_x_to_bbox (line 61) | def convert_x_to_bbox(x, score=None): function speed_direction (line 74) | def speed_direction(bbox1, bbox2): function new_kf_process_noise (line 82) | def new_kf_process_noise(w, h, p=1 / 20, v=1 / 160): function new_kf_measurement_noise (line 89) | def new_kf_measurement_noise(w, h, m=1 / 20): class KalmanBoxTracker (line 96) | class KalmanBoxTracker(object): method __init__ (line 103) | def __init__(self, bbox, cls, delta_t=3, orig=False, emb=None, alpha=0... method update (line 203) | def update(self, bbox, cls): method update_emb (line 243) | def update_emb(self, emb, alpha=0.9): method get_emb (line 247) | def get_emb(self): method apply_affine_correction (line 250) | def apply_affine_correction(self, affine): method predict (line 269) | def predict(self): method get_state (line 297) | def get_state(self): method mahalanobis (line 303) | def mahalanobis(self, bbox): class OCSort (line 323) | class OCSort(object): method __init__ (line 324) | def __init__( method update (line 369) | def update(self, dets, img_numpy, tag='blub'): method _xywh_to_xyxy (line 528) | def _xywh_to_xyxy(self, bbox_xywh): method _get_features (line 536) | def _get_features(self, bbox_xyxy, ori_img): method update_public (line 549) | def update_public(self, dets, cates, scores): method dump_cache (line 670) | def dump_cache(self): FILE: DLTA_AI_app/trackers/deepocsort/reid_multibackend.py function check_suffix (line 22) | def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''): class ReIDDetectMultiBackend (line 33) | class ReIDDetectMultiBackend(nn.Module): method __init__ (line 35) | def __init__(self, weights='osnet_x0_25_msmt17.pt', device=torch.devic... method model_type (line 165) | def model_type(p='path/to/model.pt'): method _preprocess (line 173) | def _preprocess(self, im_batch): method forward (line 187) | def forward(self, im_batch): method from_numpy (line 228) | def from_numpy(self, x): method warmup (line 231) | def warmup(self, imgsz=[(256, 128, 3)]): FILE: DLTA_AI_app/trackers/multi_tracker_zoo.py function create_tracker (line 3) | def create_tracker(tracker_type, tracker_config, reid_weights, device, h... FILE: DLTA_AI_app/trackers/ocsort/association.py function iou_batch (line 5) | def iou_batch(bboxes1, bboxes2): function giou_batch (line 24) | def giou_batch(bboxes1, bboxes2): function diou_batch (line 58) | def diou_batch(bboxes1, bboxes2): function ciou_batch (line 97) | def ciou_batch(bboxes1, bboxes2): function ct_dist (line 150) | def ct_dist(bboxes1, bboxes2): function speed_direction_batch (line 175) | def speed_direction_batch(dets, tracks): function linear_assignment (line 187) | def linear_assignment(cost_matrix): function associate_detections_to_trackers (line 198) | def associate_detections_to_trackers(detections,trackers, iou_threshold ... function associate (line 242) | def associate(detections, trackers, iou_threshold, velocities, previous_... function associate_kitti (line 301) | def associate_kitti(detections, trackers, det_cates, iou_threshold, FILE: DLTA_AI_app/trackers/ocsort/kalmanfilter.py class KalmanFilterNew (line 109) | class KalmanFilterNew(object): method __init__ (line 283) | def __init__(self, dim_x, dim_z, dim_u=0): method predict (line 339) | def predict(self, u=None, B=None, F=None, Q=None): method freeze (line 383) | def freeze(self): method unfreeze (line 390) | def unfreeze(self): method update (line 437) | def update(self, z, R=None, H=None): method predict_steadystate (line 528) | def predict_steadystate(self, u=0, B=None): method update_steadystate (line 557) | def update_steadystate(self, z): method update_correlated (line 624) | def update_correlated(self, z, R=None, H=None): method batch_filter (line 701) | def batch_filter(self, zs, Fs=None, Qs=None, Hs=None, method rts_smoother (line 837) | def rts_smoother(self, Xs, Ps, Fs=None, Qs=None, inv=np.linalg.inv): method get_prediction (line 901) | def get_prediction(self, u=None, B=None, F=None, Q=None): method get_update (line 944) | def get_update(self, z=None): method residual_of (line 989) | def residual_of(self, z): method measurement_of_state (line 997) | def measurement_of_state(self, x): method log_likelihood (line 1014) | def log_likelihood(self): method likelihood (line 1023) | def likelihood(self): method mahalanobis (line 1038) | def mahalanobis(self): method alpha (line 1051) | def alpha(self): method log_likelihood_of (line 1061) | def log_likelihood_of(self, z): method alpha (line 1072) | def alpha(self, value): method __repr__ (line 1078) | def __repr__(self): method test_matrix_dimensions (line 1108) | def test_matrix_dimensions(self, z=None, H=None, R=None, F=None, Q=None): function update (line 1208) | def update(x, P, z, R, H=None, return_all=False): function update_steadystate (line 1300) | def update_steadystate(x, z, K, H=None): function predict (line 1348) | def predict(x, P, F=1, Q=0, u=0, B=1, alpha=1.): function predict_steadystate (line 1389) | def predict_steadystate(x, F=1, u=0, B=1): function batch_filter (line 1421) | def batch_filter(x, P, zs, Fs, Qs, Hs, Rs, Bs=None, us=None, function rts_smoother (line 1529) | def rts_smoother(Xs, Ps, Fs, Qs): FILE: DLTA_AI_app/trackers/ocsort/ocsort.py function k_previous_obs (line 11) | def k_previous_obs(observations, cur_age, k): function convert_bbox_to_z (line 22) | def convert_bbox_to_z(bbox): function convert_x_to_bbox (line 37) | def convert_x_to_bbox(x, score=None): function speed_direction (line 50) | def speed_direction(bbox1, bbox2): class KalmanBoxTracker (line 58) | class KalmanBoxTracker(object): method __init__ (line 64) | def __init__(self, bbox, cls, delta_t=3, orig=False): method update (line 108) | def update(self, bbox, cls): method predict (line 146) | def predict(self): method get_state (line 161) | def get_state(self): class OCSort (line 181) | class OCSort(object): method __init__ (line 182) | def __init__(self, det_thresh, max_age=30, min_hits=3, method update (line 199) | def update(self, dets, _): FILE: DLTA_AI_app/trackers/reid_export.py function file_size (line 42) | def file_size(path): function export_formats (line 53) | def export_formats(): function export_torchscript (line 66) | def export_torchscript(model, im, file, optimize, prefix=colorstr('Torch... function export_onnx (line 84) | def export_onnx(model, im, file, opset, dynamic, fp16, simplify, prefix=... function export_openvino (line 131) | def export_openvino(file, half, prefix=colorstr('OpenVINO:')): function export_tflite (line 147) | def export_tflite(file, half, prefix=colorstr('TFLite:')): function export_engine (line 171) | def export_engine(model, im, file, half, dynamic, simplify, workspace=4,... FILE: DLTA_AI_app/trackers/strongsort/deep/models/__init__.py function show_avai_models (line 81) | def show_avai_models(): function build_model (line 91) | def build_model( FILE: DLTA_AI_app/trackers/strongsort/deep/models/densenet.py class _DenseLayer (line 29) | class _DenseLayer(nn.Sequential): method __init__ (line 31) | def __init__(self, num_input_features, growth_rate, bn_size, drop_rate): method forward (line 60) | def forward(self, x): class _DenseBlock (line 69) | class _DenseBlock(nn.Sequential): method __init__ (line 71) | def __init__( class _Transition (line 83) | class _Transition(nn.Sequential): method __init__ (line 85) | def __init__(self, num_input_features, num_output_features): class DenseNet (line 102) | class DenseNet(nn.Module): method __init__ (line 116) | def __init__( method _construct_fc_layer (line 190) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 221) | def _init_params(self): method forward (line 240) | def forward(self, x): function init_pretrained_weights (line 262) | def init_pretrained_weights(model, model_url): function densenet121 (line 303) | def densenet121(num_classes, loss='softmax', pretrained=True, **kwargs): function densenet169 (line 319) | def densenet169(num_classes, loss='softmax', pretrained=True, **kwargs): function densenet201 (line 335) | def densenet201(num_classes, loss='softmax', pretrained=True, **kwargs): function densenet161 (line 351) | def densenet161(num_classes, loss='softmax', pretrained=True, **kwargs): function densenet121_fc512 (line 367) | def densenet121_fc512(num_classes, loss='softmax', pretrained=True, **kw... FILE: DLTA_AI_app/trackers/strongsort/deep/models/hacnn.py class ConvBlock (line 9) | class ConvBlock(nn.Module): method __init__ (line 22) | def __init__(self, in_c, out_c, k, s=1, p=0): method forward (line 27) | def forward(self, x): class InceptionA (line 31) | class InceptionA(nn.Module): method __init__ (line 33) | def __init__(self, in_channels, out_channels): method forward (line 54) | def forward(self, x): class InceptionB (line 63) | class InceptionB(nn.Module): method __init__ (line 65) | def __init__(self, in_channels, out_channels): method forward (line 83) | def forward(self, x): class SpatialAttn (line 91) | class SpatialAttn(nn.Module): method __init__ (line 94) | def __init__(self): method forward (line 99) | def forward(self, x): class ChannelAttn (line 115) | class ChannelAttn(nn.Module): method __init__ (line 118) | def __init__(self, in_channels, reduction_rate=16): method forward (line 124) | def forward(self, x): class SoftAttn (line 133) | class SoftAttn(nn.Module): method __init__ (line 141) | def __init__(self, in_channels): method forward (line 147) | def forward(self, x): class HardAttn (line 155) | class HardAttn(nn.Module): method __init__ (line 158) | def __init__(self, in_channels): method init_params (line 163) | def init_params(self): method forward (line 171) | def forward(self, x): class HarmAttn (line 180) | class HarmAttn(nn.Module): method __init__ (line 183) | def __init__(self, in_channels): method forward (line 188) | def forward(self, x): class HACNN (line 194) | class HACNN(nn.Module): method __init__ (line 210) | def __init__( method init_scale_factors (line 271) | def init_scale_factors(self): method stn (line 287) | def stn(self, x, theta): method transform_theta (line 297) | def transform_theta(self, theta_i, region_idx): method forward (line 307) | def forward(self, x): FILE: DLTA_AI_app/trackers/strongsort/deep/models/inceptionresnetv2.py class BasicConv2d (line 37) | class BasicConv2d(nn.Module): method __init__ (line 39) | def __init__(self, in_planes, out_planes, kernel_size, stride, padding... method forward (line 57) | def forward(self, x): class Mixed_5b (line 64) | class Mixed_5b(nn.Module): method __init__ (line 66) | def __init__(self): method forward (line 87) | def forward(self, x): class Block35 (line 96) | class Block35(nn.Module): method __init__ (line 98) | def __init__(self, scale=1.0): method forward (line 119) | def forward(self, x): class Mixed_6a (line 130) | class Mixed_6a(nn.Module): method __init__ (line 132) | def __init__(self): method forward (line 145) | def forward(self, x): class Block17 (line 153) | class Block17(nn.Module): method __init__ (line 155) | def __init__(self, scale=1.0): method forward (line 175) | def forward(self, x): class Mixed_7a (line 185) | class Mixed_7a(nn.Module): method __init__ (line 187) | def __init__(self): method forward (line 208) | def forward(self, x): class Block8 (line 217) | class Block8(nn.Module): method __init__ (line 219) | def __init__(self, scale=1.0, noReLU=False): method forward (line 241) | def forward(self, x): class InceptionResNetV2 (line 255) | class InceptionResNetV2(nn.Module): method __init__ (line 266) | def __init__(self, num_classes, loss='softmax', **kwargs): method load_imagenet_weights (line 309) | def load_imagenet_weights(self): method featuremaps (line 321) | def featuremaps(self, x): method forward (line 339) | def forward(self, x): function inceptionresnetv2 (line 357) | def inceptionresnetv2(num_classes, loss='softmax', pretrained=True, **kw... FILE: DLTA_AI_app/trackers/strongsort/deep/models/inceptionv4.py class BasicConv2d (line 37) | class BasicConv2d(nn.Module): method __init__ (line 39) | def __init__(self, in_planes, out_planes, kernel_size, stride, padding... method forward (line 57) | def forward(self, x): class Mixed_3a (line 64) | class Mixed_3a(nn.Module): method __init__ (line 66) | def __init__(self): method forward (line 71) | def forward(self, x): class Mixed_4a (line 78) | class Mixed_4a(nn.Module): method __init__ (line 80) | def __init__(self): method forward (line 95) | def forward(self, x): class Mixed_5a (line 102) | class Mixed_5a(nn.Module): method __init__ (line 104) | def __init__(self): method forward (line 109) | def forward(self, x): class Inception_A (line 116) | class Inception_A(nn.Module): method __init__ (line 118) | def __init__(self): method forward (line 138) | def forward(self, x): class Reduction_A (line 147) | class Reduction_A(nn.Module): method __init__ (line 149) | def __init__(self): method forward (line 161) | def forward(self, x): class Inception_B (line 169) | class Inception_B(nn.Module): method __init__ (line 171) | def __init__(self): method forward (line 206) | def forward(self, x): class Reduction_B (line 215) | class Reduction_B(nn.Module): method __init__ (line 217) | def __init__(self): method forward (line 237) | def forward(self, x): class Inception_C (line 245) | class Inception_C(nn.Module): method __init__ (line 247) | def __init__(self): method forward (line 279) | def forward(self, x): class InceptionV4 (line 300) | class InceptionV4(nn.Module): method __init__ (line 311) | def __init__(self, num_classes, loss, **kwargs): method forward (line 342) | def forward(self, x): function init_pretrained_weights (line 360) | def init_pretrained_weights(model, model_url): function inceptionv4 (line 376) | def inceptionv4(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/mlfn.py class MLFNBlock (line 16) | class MLFNBlock(nn.Module): method __init__ (line 18) | def __init__( method forward (line 64) | def forward(self, x): class MLFN (line 98) | class MLFN(nn.Module): method __init__ (line 109) | def __init__( method init_params (line 196) | def init_params(self): method forward (line 212) | def forward(self, x): function init_pretrained_weights (line 244) | def init_pretrained_weights(model, model_url): function mlfn (line 260) | def mlfn(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/mobilenetv2.py class ConvBlock (line 18) | class ConvBlock(nn.Module): method __init__ (line 33) | def __init__(self, in_c, out_c, k, s=1, p=0, g=1): method forward (line 40) | def forward(self, x): class Bottleneck (line 44) | class Bottleneck(nn.Module): method __init__ (line 46) | def __init__(self, in_channels, out_channels, expansion_factor, stride... method forward (line 59) | def forward(self, x): class MobileNetV2 (line 69) | class MobileNetV2(nn.Module): method __init__ (line 81) | def __init__( method _make_layer (line 128) | def _make_layer(self, block, t, c, n, s): method _construct_fc_layer (line 140) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 171) | def _init_params(self): method featuremaps (line 190) | def featuremaps(self, x): method forward (line 202) | def forward(self, x): function init_pretrained_weights (line 223) | def init_pretrained_weights(model, model_url): function mobilenetv2_x1_0 (line 239) | def mobilenetv2_x1_0(num_classes, loss, pretrained=True, **kwargs): function mobilenetv2_x1_4 (line 258) | def mobilenetv2_x1_4(num_classes, loss, pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/mudeep.py class ConvBlock (line 9) | class ConvBlock(nn.Module): method __init__ (line 22) | def __init__(self, in_c, out_c, k, s, p): method forward (line 27) | def forward(self, x): class ConvLayers (line 31) | class ConvLayers(nn.Module): method __init__ (line 34) | def __init__(self): method forward (line 40) | def forward(self, x): class MultiScaleA (line 47) | class MultiScaleA(nn.Module): method __init__ (line 50) | def __init__(self): method forward (line 67) | def forward(self, x): class Reduction (line 76) | class Reduction(nn.Module): method __init__ (line 79) | def __init__(self): method forward (line 89) | def forward(self, x): class MultiScaleB (line 97) | class MultiScaleB(nn.Module): method __init__ (line 100) | def __init__(self): method forward (line 120) | def forward(self, x): class Fusion (line 128) | class Fusion(nn.Module): method __init__ (line 131) | def __init__(self): method forward (line 142) | def forward(self, x1, x2, x3, x4): class MuDeep (line 151) | class MuDeep(nn.Module): method __init__ (line 162) | def __init__(self, num_classes, loss='softmax', **kwargs): method featuremaps (line 184) | def featuremaps(self, x): method forward (line 192) | def forward(self, x): FILE: DLTA_AI_app/trackers/strongsort/deep/models/nasnet.py class MaxPoolPad (line 52) | class MaxPoolPad(nn.Module): method __init__ (line 54) | def __init__(self): method forward (line 59) | def forward(self, x): class AvgPoolPad (line 66) | class AvgPoolPad(nn.Module): method __init__ (line 68) | def __init__(self, stride=2, padding=1): method forward (line 75) | def forward(self, x): class SeparableConv2d (line 82) | class SeparableConv2d(nn.Module): method __init__ (line 84) | def __init__( method forward (line 107) | def forward(self, x): class BranchSeparables (line 113) | class BranchSeparables(nn.Module): method __init__ (line 115) | def __init__( method forward (line 142) | def forward(self, x): class BranchSeparablesStem (line 157) | class BranchSeparablesStem(nn.Module): method __init__ (line 159) | def __init__( method forward (line 184) | def forward(self, x): class BranchSeparablesReduction (line 194) | class BranchSeparablesReduction(BranchSeparables): method __init__ (line 196) | def __init__( method forward (line 211) | def forward(self, x): class CellStem0 (line 223) | class CellStem0(nn.Module): method __init__ (line 225) | def __init__(self, stem_filters, num_filters=42): method forward (line 272) | def forward(self, x): class CellStem1 (line 300) | class CellStem1(nn.Module): method __init__ (line 302) | def __init__(self, stem_filters, num_filters): method forward (line 419) | def forward(self, x_conv0, x_stem_0): class FirstCell (line 458) | class FirstCell(nn.Module): method __init__ (line 460) | def __init__( method forward (line 536) | def forward(self, x, x_prev): class NormalCell (line 577) | class NormalCell(nn.Module): method __init__ (line 579) | def __init__( method forward (line 643) | def forward(self, x, x_prev): class ReductionCell0 (line 674) | class ReductionCell0(nn.Module): method __init__ (line 676) | def __init__( method forward (line 737) | def forward(self, x, x_prev): class ReductionCell1 (line 766) | class ReductionCell1(nn.Module): method __init__ (line 768) | def __init__( method forward (line 862) | def forward(self, x, x_prev): class NASNetAMobile (line 891) | class NASNetAMobile(nn.Module): method __init__ (line 902) | def __init__( method _init_params (line 1041) | def _init_params(self): method features (line 1060) | def features(self, input): method forward (line 1094) | def forward(self, input): function init_pretrained_weights (line 1110) | def init_pretrained_weights(model, model_url): function nasnetamobile (line 1126) | def nasnetamobile(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/osnet.py class ConvLayer (line 28) | class ConvLayer(nn.Module): method __init__ (line 31) | def __init__( method forward (line 57) | def forward(self, x): class Conv1x1 (line 64) | class Conv1x1(nn.Module): method __init__ (line 67) | def __init__(self, in_channels, out_channels, stride=1, groups=1): method forward (line 81) | def forward(self, x): class Conv1x1Linear (line 88) | class Conv1x1Linear(nn.Module): method __init__ (line 91) | def __init__(self, in_channels, out_channels, stride=1): method forward (line 98) | def forward(self, x): class Conv3x3 (line 104) | class Conv3x3(nn.Module): method __init__ (line 107) | def __init__(self, in_channels, out_channels, stride=1, groups=1): method forward (line 121) | def forward(self, x): class LightConv3x3 (line 128) | class LightConv3x3(nn.Module): method __init__ (line 134) | def __init__(self, in_channels, out_channels): method forward (line 151) | def forward(self, x): class ChannelGate (line 162) | class ChannelGate(nn.Module): method __init__ (line 165) | def __init__( method forward (line 208) | def forward(self, x): class OSBlock (line 223) | class OSBlock(nn.Module): method __init__ (line 226) | def __init__( method forward (line 262) | def forward(self, x): class OSNet (line 282) | class OSNet(nn.Module): method __init__ (line 291) | def __init__( method _make_layer (line 345) | def _make_layer( method _construct_fc_layer (line 370) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 391) | def _init_params(self): method featuremaps (line 413) | def featuremaps(self, x): method forward (line 422) | def forward(self, x, return_featuremaps=False): function init_pretrained_weights (line 441) | def init_pretrained_weights(model, key=''): function osnet_x1_0 (line 522) | def osnet_x1_0(num_classes=1000, pretrained=True, loss='softmax', **kwar... function osnet_x0_75 (line 537) | def osnet_x0_75(num_classes=1000, pretrained=True, loss='softmax', **kwa... function osnet_x0_5 (line 552) | def osnet_x0_5(num_classes=1000, pretrained=True, loss='softmax', **kwar... function osnet_x0_25 (line 567) | def osnet_x0_25(num_classes=1000, pretrained=True, loss='softmax', **kwa... function osnet_ibn_x1_0 (line 582) | def osnet_ibn_x1_0( FILE: DLTA_AI_app/trackers/strongsort/deep/models/osnet_ain.py class ConvLayer (line 26) | class ConvLayer(nn.Module): method __init__ (line 29) | def __init__( method forward (line 55) | def forward(self, x): class Conv1x1 (line 61) | class Conv1x1(nn.Module): method __init__ (line 64) | def __init__(self, in_channels, out_channels, stride=1, groups=1): method forward (line 78) | def forward(self, x): class Conv1x1Linear (line 84) | class Conv1x1Linear(nn.Module): method __init__ (line 87) | def __init__(self, in_channels, out_channels, stride=1, bn=True): method forward (line 96) | def forward(self, x): class Conv3x3 (line 103) | class Conv3x3(nn.Module): method __init__ (line 106) | def __init__(self, in_channels, out_channels, stride=1, groups=1): method forward (line 120) | def forward(self, x): class LightConv3x3 (line 126) | class LightConv3x3(nn.Module): method __init__ (line 132) | def __init__(self, in_channels, out_channels): method forward (line 149) | def forward(self, x): class LightConvStream (line 156) | class LightConvStream(nn.Module): method __init__ (line 159) | def __init__(self, in_channels, out_channels, depth): method forward (line 170) | def forward(self, x): class ChannelGate (line 177) | class ChannelGate(nn.Module): method __init__ (line 180) | def __init__( method forward (line 223) | def forward(self, x): class OSBlock (line 238) | class OSBlock(nn.Module): method __init__ (line 241) | def __init__(self, in_channels, out_channels, reduction=4, T=4, **kwar... method forward (line 257) | def forward(self, x): class OSBlockINin (line 271) | class OSBlockINin(nn.Module): method __init__ (line 274) | def __init__(self, in_channels, out_channels, reduction=4, T=4, **kwar... method forward (line 291) | def forward(self, x): class OSNet (line 309) | class OSNet(nn.Module): method __init__ (line 318) | def __init__( method _make_layer (line 367) | def _make_layer(self, blocks, layer, in_channels, out_channels): method _construct_fc_layer (line 374) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 395) | def _init_params(self): method featuremaps (line 421) | def featuremaps(self, x): method forward (line 432) | def forward(self, x, return_featuremaps=False): function init_pretrained_weights (line 451) | def init_pretrained_weights(model, key=''): function osnet_ain_x1_0 (line 532) | def osnet_ain_x1_0( function osnet_ain_x0_75 (line 552) | def osnet_ain_x0_75( function osnet_ain_x0_5 (line 572) | def osnet_ain_x0_5( function osnet_ain_x0_25 (line 592) | def osnet_ain_x0_25( FILE: DLTA_AI_app/trackers/strongsort/deep/models/pcb.py function conv3x3 (line 17) | def conv3x3(in_planes, out_planes, stride=1): class BasicBlock (line 29) | class BasicBlock(nn.Module): method __init__ (line 32) | def __init__(self, inplanes, planes, stride=1, downsample=None): method forward (line 42) | def forward(self, x): class Bottleneck (line 61) | class Bottleneck(nn.Module): method __init__ (line 64) | def __init__(self, inplanes, planes, stride=1, downsample=None): method forward (line 85) | def forward(self, x): class DimReduceLayer (line 108) | class DimReduceLayer(nn.Module): method __init__ (line 110) | def __init__(self, in_channels, out_channels, nonlinear): method forward (line 127) | def forward(self, x): class PCB (line 131) | class PCB(nn.Module): method __init__ (line 143) | def __init__( method _make_layer (line 188) | def _make_layer(self, block, planes, blocks, stride=1): method _init_params (line 210) | def _init_params(self): method featuremaps (line 229) | def featuremaps(self, x): method forward (line 240) | def forward(self, x): function init_pretrained_weights (line 267) | def init_pretrained_weights(model, model_url): function pcb_p6 (line 283) | def pcb_p6(num_classes, loss='softmax', pretrained=True, **kwargs): function pcb_p4 (line 300) | def pcb_p4(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/resnet.py function conv3x3 (line 31) | def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1): function conv1x1 (line 45) | def conv1x1(in_planes, out_planes, stride=1): class BasicBlock (line 52) | class BasicBlock(nn.Module): method __init__ (line 55) | def __init__( method forward (line 86) | def forward(self, x): class Bottleneck (line 105) | class Bottleneck(nn.Module): method __init__ (line 108) | def __init__( method forward (line 134) | def forward(self, x): class ResNet (line 157) | class ResNet(nn.Module): method __init__ (line 175) | def __init__( method _make_layer (line 257) | def _make_layer(self, block, planes, blocks, stride=1, dilate=False): method _construct_fc_layer (line 292) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 323) | def _init_params(self): method featuremaps (line 342) | def featuremaps(self, x): method forward (line 353) | def forward(self, x): function init_pretrained_weights (line 374) | def init_pretrained_weights(model, model_url): function resnet18 (line 393) | def resnet18(num_classes, loss='softmax', pretrained=True, **kwargs): function resnet34 (line 409) | def resnet34(num_classes, loss='softmax', pretrained=True, **kwargs): function resnet50 (line 425) | def resnet50(num_classes, loss='softmax', pretrained=True, **kwargs): function resnet101 (line 441) | def resnet101(num_classes, loss='softmax', pretrained=True, **kwargs): function resnet152 (line 457) | def resnet152(num_classes, loss='softmax', pretrained=True, **kwargs): function resnext50_32x4d (line 476) | def resnext50_32x4d(num_classes, loss='softmax', pretrained=True, **kwar... function resnext101_32x8d (line 494) | def resnext101_32x8d(num_classes, loss='softmax', pretrained=True, **kwa... function resnet50_fc512 (line 517) | def resnet50_fc512(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/resnet_ibn_a.py function conv3x3 (line 19) | def conv3x3(in_planes, out_planes, stride=1): class BasicBlock (line 31) | class BasicBlock(nn.Module): method __init__ (line 34) | def __init__(self, inplanes, planes, stride=1, downsample=None): method forward (line 44) | def forward(self, x): class IBN (line 63) | class IBN(nn.Module): method __init__ (line 65) | def __init__(self, planes): method forward (line 73) | def forward(self, x): class Bottleneck (line 81) | class Bottleneck(nn.Module): method __init__ (line 84) | def __init__(self, inplanes, planes, ibn=False, stride=1, downsample=N... method forward (line 108) | def forward(self, x): class ResNet (line 131) | class ResNet(nn.Module): method __init__ (line 140) | def __init__( method _make_layer (line 183) | def _make_layer(self, block, planes, blocks, stride=1): method _construct_fc_layer (line 208) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method featuremaps (line 239) | def featuremaps(self, x): method forward (line 250) | def forward(self, x): function init_pretrained_weights (line 267) | def init_pretrained_weights(model, model_url): function resnet50_ibn_a (line 283) | def resnet50_ibn_a(num_classes, loss='softmax', pretrained=False, **kwar... FILE: DLTA_AI_app/trackers/strongsort/deep/models/resnet_ibn_b.py function conv3x3 (line 18) | def conv3x3(in_planes, out_planes, stride=1): class BasicBlock (line 30) | class BasicBlock(nn.Module): method __init__ (line 33) | def __init__(self, inplanes, planes, stride=1, downsample=None): method forward (line 43) | def forward(self, x): class Bottleneck (line 62) | class Bottleneck(nn.Module): method __init__ (line 65) | def __init__(self, inplanes, planes, stride=1, downsample=None, IN=Fal... method forward (line 89) | def forward(self, x): class ResNet (line 114) | class ResNet(nn.Module): method __init__ (line 123) | def __init__( method _make_layer (line 170) | def _make_layer(self, block, planes, blocks, stride=1, IN=False): method _construct_fc_layer (line 193) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method featuremaps (line 224) | def featuremaps(self, x): method forward (line 235) | def forward(self, x): function init_pretrained_weights (line 252) | def init_pretrained_weights(model, model_url): function resnet50_ibn_b (line 268) | def resnet50_ibn_b(num_classes, loss='softmax', pretrained=False, **kwar... FILE: DLTA_AI_app/trackers/strongsort/deep/models/resnetmid.py function conv3x3 (line 17) | def conv3x3(in_planes, out_planes, stride=1): class BasicBlock (line 29) | class BasicBlock(nn.Module): method __init__ (line 32) | def __init__(self, inplanes, planes, stride=1, downsample=None): method forward (line 42) | def forward(self, x): class Bottleneck (line 61) | class Bottleneck(nn.Module): method __init__ (line 64) | def __init__(self, inplanes, planes, stride=1, downsample=None): method forward (line 85) | def forward(self, x): class ResNetMid (line 108) | class ResNetMid(nn.Module): method __init__ (line 119) | def __init__( method _make_layer (line 158) | def _make_layer(self, block, planes, blocks, stride=1): method _construct_fc_layer (line 180) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 211) | def _init_params(self): method featuremaps (line 230) | def featuremaps(self, x): method forward (line 243) | def forward(self, x): function init_pretrained_weights (line 268) | def init_pretrained_weights(model, model_url): function resnet50mid (line 295) | def resnet50mid(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/senet.py class SEModule (line 91) | class SEModule(nn.Module): method __init__ (line 93) | def __init__(self, channels, reduction): method forward (line 105) | def forward(self, x): class Bottleneck (line 115) | class Bottleneck(nn.Module): method forward (line 120) | def forward(self, x): class SEBottleneck (line 143) | class SEBottleneck(Bottleneck): method __init__ (line 149) | def __init__( class SEResNetBottleneck (line 175) | class SEResNetBottleneck(Bottleneck): method __init__ (line 183) | def __init__( class SEResNeXtBottleneck (line 208) | class SEResNeXtBottleneck(Bottleneck): method __init__ (line 212) | def __init__( class SENet (line 246) | class SENet(nn.Module): method __init__ (line 262) | def __init__( method _make_layer (line 416) | def _make_layer( method _construct_fc_layer (line 453) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method featuremaps (line 485) | def featuremaps(self, x): method forward (line 493) | def forward(self, x): function init_pretrained_weights (line 514) | def init_pretrained_weights(model, model_url): function senet154 (line 530) | def senet154(num_classes, loss='softmax', pretrained=True, **kwargs): function se_resnet50 (line 549) | def se_resnet50(num_classes, loss='softmax', pretrained=True, **kwargs): function se_resnet50_fc512 (line 572) | def se_resnet50_fc512(num_classes, loss='softmax', pretrained=True, **kw... function se_resnet101 (line 595) | def se_resnet101(num_classes, loss='softmax', pretrained=True, **kwargs): function se_resnet152 (line 618) | def se_resnet152(num_classes, loss='softmax', pretrained=True, **kwargs): function se_resnext50_32x4d (line 641) | def se_resnext50_32x4d(num_classes, loss='softmax', pretrained=True, **k... function se_resnext101_32x4d (line 665) | def se_resnext101_32x4d( FILE: DLTA_AI_app/trackers/strongsort/deep/models/shufflenet.py class ChannelShuffle (line 16) | class ChannelShuffle(nn.Module): method __init__ (line 18) | def __init__(self, num_groups): method forward (line 22) | def forward(self, x): class Bottleneck (line 34) | class Bottleneck(nn.Module): method __init__ (line 36) | def __init__( method forward (line 78) | def forward(self, x): class ShuffleNet (line 101) | class ShuffleNet(nn.Module): method __init__ (line 112) | def __init__(self, num_classes, loss='softmax', num_groups=3, **kwargs): method forward (line 153) | def forward(self, x): function init_pretrained_weights (line 173) | def init_pretrained_weights(model, model_url): function shufflenet (line 189) | def shufflenet(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/shufflenetv2.py function channel_shuffle (line 24) | def channel_shuffle(x, groups): class InvertedResidual (line 39) | class InvertedResidual(nn.Module): method __init__ (line 41) | def __init__(self, inp, oup, stride): method depthwise_conv (line 101) | def depthwise_conv(i, o, kernel_size, stride=1, padding=0, bias=False): method forward (line 106) | def forward(self, x): class ShuffleNetV2 (line 118) | class ShuffleNetV2(nn.Module): method __init__ (line 131) | def __init__( method featuremaps (line 180) | def featuremaps(self, x): method forward (line 189) | def forward(self, x): function init_pretrained_weights (line 207) | def init_pretrained_weights(model, model_url): function shufflenet_v2_x0_5 (line 229) | def shufflenet_v2_x0_5(num_classes, loss='softmax', pretrained=True, **k... function shufflenet_v2_x1_0 (line 238) | def shufflenet_v2_x1_0(num_classes, loss='softmax', pretrained=True, **k... function shufflenet_v2_x1_5 (line 247) | def shufflenet_v2_x1_5(num_classes, loss='softmax', pretrained=True, **k... function shufflenet_v2_x2_0 (line 256) | def shufflenet_v2_x2_0(num_classes, loss='softmax', pretrained=True, **k... FILE: DLTA_AI_app/trackers/strongsort/deep/models/squeezenet.py class Fire (line 19) | class Fire(nn.Module): method __init__ (line 21) | def __init__( method forward (line 37) | def forward(self, x): class SqueezeNet (line 47) | class SqueezeNet(nn.Module): method __init__ (line 60) | def __init__( method _construct_fc_layer (line 118) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 149) | def _init_params(self): method forward (line 168) | def forward(self, x): function init_pretrained_weights (line 189) | def init_pretrained_weights(model, model_url): function squeezenet1_0 (line 205) | def squeezenet1_0(num_classes, loss='softmax', pretrained=True, **kwargs): function squeezenet1_0_fc512 (line 214) | def squeezenet1_0_fc512( function squeezenet1_1 (line 230) | def squeezenet1_1(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/models/xception.py class SeparableConv2d (line 26) | class SeparableConv2d(nn.Module): method __init__ (line 28) | def __init__( method forward (line 54) | def forward(self, x): class Block (line 60) | class Block(nn.Module): method __init__ (line 62) | def __init__( method forward (line 132) | def forward(self, inp): class Xception (line 145) | class Xception(nn.Module): method __init__ (line 156) | def __init__( method _construct_fc_layer (line 221) | def _construct_fc_layer(self, fc_dims, input_dim, dropout_p=None): method _init_params (line 252) | def _init_params(self): method featuremaps (line 271) | def featuremaps(self, input): method forward (line 302) | def forward(self, x): function init_pretrained_weights (line 323) | def init_pretrained_weights(model, model_url): function xception (line 339) | def xception(num_classes, loss='softmax', pretrained=True, **kwargs): FILE: DLTA_AI_app/trackers/strongsort/deep/reid_model_factory.py function show_downloadeable_models (line 103) | def show_downloadeable_models(): function get_model_url (line 108) | def get_model_url(model): function is_model_in_model_types (line 115) | def is_model_in_model_types(model): function get_model_name (line 122) | def get_model_name(model): function download_url (line 129) | def download_url(url, dst): function load_pretrained_weights (line 159) | def load_pretrained_weights(model, weight_path): FILE: DLTA_AI_app/trackers/strongsort/reid_multibackend.py function check_suffix (line 22) | def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''): class ReIDDetectMultiBackend (line 33) | class ReIDDetectMultiBackend(nn.Module): method __init__ (line 35) | def __init__(self, weights='osnet_x0_25_msmt17.pt', device=torch.devic... method model_type (line 165) | def model_type(p='path/to/model.pt'): method _preprocess (line 173) | def _preprocess(self, im_batch): method forward (line 187) | def forward(self, im_batch): method from_numpy (line 228) | def from_numpy(self, x): method warmup (line 231) | def warmup(self, imgsz=[(256, 128, 3)]): FILE: DLTA_AI_app/trackers/strongsort/sort/detection.py class Detection (line 5) | class Detection(object): method __init__ (line 29) | def __init__(self, tlwh, confidence, feature): method to_tlbr (line 34) | def to_tlbr(self): method to_xyah (line 42) | def to_xyah(self): function to_xyah_ext (line 51) | def to_xyah_ext(bbox): FILE: DLTA_AI_app/trackers/strongsort/sort/iou_matching.py function iou (line 7) | def iou(bbox, candidates): function iou_cost (line 42) | def iou_cost(tracks, detections, track_indices=None, FILE: DLTA_AI_app/trackers/strongsort/sort/kalman_filter.py class KalmanFilter (line 21) | class KalmanFilter(object): method __init__ (line 33) | def __init__(self): method initiate (line 49) | def initiate(self, measurement): method predict (line 79) | def predict(self, mean, covariance): method project (line 113) | def project(self, mean, covariance, confidence=.0): method update (line 144) | def update(self, mean, covariance, measurement, confidence=.0): method gating_distance (line 176) | def gating_distance(self, mean, covariance, measurements, FILE: DLTA_AI_app/trackers/strongsort/sort/linear_assignment.py function min_cost_matching (line 11) | def min_cost_matching( function matching_cascade (line 75) | def matching_cascade( function gate_cost_matrix (line 131) | def gate_cost_matrix( FILE: DLTA_AI_app/trackers/strongsort/sort/nn_matching.py function _pdist (line 7) | def _pdist(a, b): function _cosine_distance (line 30) | def _cosine_distance(a, b, data_is_normalized=False): function _nn_euclidean_distance (line 53) | def _nn_euclidean_distance(x, y): function _nn_cosine_distance (line 73) | def _nn_cosine_distance(x, y): class NearestNeighborDistanceMetric (line 94) | class NearestNeighborDistanceMetric(object): method __init__ (line 115) | def __init__(self, metric, matching_threshold, budget=None): method partial_fit (line 127) | def partial_fit(self, features, targets, active_targets): method distance (line 144) | def distance(self, features, targets): FILE: DLTA_AI_app/trackers/strongsort/sort/preprocessing.py function non_max_suppression (line 6) | def non_max_suppression(boxes, max_bbox_overlap, scores=None): FILE: DLTA_AI_app/trackers/strongsort/sort/track.py class TrackState (line 8) | class TrackState: class Track (line 23) | class Track: method __init__ (line 70) | def __init__(self, detection, track_id, class_id, conf, n_init, max_ag... method to_tlwh (line 97) | def to_tlwh(self): method to_tlbr (line 112) | def to_tlbr(self): method ECC (line 127) | def ECC(self, src, dst, warp_mode = cv2.MOTION_EUCLIDEAN, eps = 1e-5, method get_matrix (line 219) | def get_matrix(self, matrix): method camera_update (line 227) | def camera_update(self, previous_frame, next_frame): method increment_age (line 244) | def increment_age(self): method predict (line 248) | def predict(self, kf): method update_kf (line 262) | def update_kf(self, bbox, confidence=0.5): method update (line 270) | def update(self, detection, class_id, conf): method mark_missed (line 298) | def mark_missed(self): method is_tentative (line 306) | def is_tentative(self): method is_confirmed (line 311) | def is_confirmed(self): method is_deleted (line 315) | def is_deleted(self): FILE: DLTA_AI_app/trackers/strongsort/sort/tracker.py class Tracker (line 11) | class Tracker: method __init__ (line 39) | def __init__(self, metric, max_iou_dist=0.9, max_age=30, max_unmatched... method predict (line 53) | def predict(self): method increment_ages (line 61) | def increment_ages(self): method camera_update (line 66) | def camera_update(self, previous_img, current_img): method pred_n_update_all_tracks (line 70) | def pred_n_update_all_tracks(self): method update (line 80) | def update(self, detections, classes, confidences): method _full_cost_metric (line 116) | def _full_cost_metric(self, tracks, dets, track_indices, detection_ind... method _match (line 150) | def _match(self, detections): method _initiate_track (line 188) | def _initiate_track(self, detection, class_id, conf): FILE: DLTA_AI_app/trackers/strongsort/strong_sort.py class StrongSORT (line 18) | class StrongSORT(object): method __init__ (line 19) | def __init__(self, method update (line 41) | def update(self, dets, ori_img): method _xywh_to_tlwh (line 90) | def _xywh_to_tlwh(bbox_xywh): method _xywh_to_xyxy (line 99) | def _xywh_to_xyxy(self, bbox_xywh): method _tlwh_to_xyxy (line 107) | def _tlwh_to_xyxy(self, bbox_tlwh): method increment_ages (line 120) | def increment_ages(self): method _xyxy_to_tlwh (line 123) | def _xyxy_to_tlwh(self, bbox_xyxy): method _get_features (line 132) | def _get_features(self, bbox_xywh, ori_img): method trajectory (line 144) | def trajectory(self, im0, q, color): FILE: DLTA_AI_app/trackers/strongsort/utils/asserts.py function assert_in (line 4) | def assert_in(file, files_to_check): function assert_in_env (line 10) | def assert_in_env(check_list: list): FILE: DLTA_AI_app/trackers/strongsort/utils/draw.py function compute_color_for_labels (line 7) | def compute_color_for_labels(label): function draw_boxes (line 15) | def draw_boxes(img, bbox, identities=None, offset=(0,0)): FILE: DLTA_AI_app/trackers/strongsort/utils/evaluation.py class Evaluator (line 9) | class Evaluator(object): method __init__ (line 11) | def __init__(self, data_root, seq_name, data_type): method load_annotations (line 19) | def load_annotations(self): method reset_accumulator (line 26) | def reset_accumulator(self): method eval_frame (line 29) | def eval_frame(self, frame_id, trk_tlwhs, trk_ids, rtn_events=False): method eval_file (line 69) | def eval_file(self, filename): method get_summary (line 82) | def get_summary(accs, names, metrics=('mota', 'num_switches', 'idp', '... method save_summary (line 99) | def save_summary(summary, filename): FILE: DLTA_AI_app/trackers/strongsort/utils/io.py function write_results (line 8) | def write_results(filename, results, data_type): function read_results (line 57) | def read_results(filename, data_type: str, is_gt=False, is_ignore=False): function read_mot_results (line 84) | def read_mot_results(filename, is_gt, is_ignore): function unzip_objs (line 126) | def unzip_objs(objs): FILE: DLTA_AI_app/trackers/strongsort/utils/json_logger.py class JsonMeta (line 11) | class JsonMeta(object): class BaseJsonLogger (line 19) | class BaseJsonLogger(object): method dic (line 26) | def dic(self): method list (line 39) | def list(values): class Label (line 44) | class Label(BaseJsonLogger): method __init__ (line 49) | def __init__(self, category: str, confidence: float): class Bbox (line 54) | class Bbox(BaseJsonLogger): method __init__ (line 77) | def __init__(self, bbox_id, top, left, width, height): method add_label (line 85) | def add_label(self, category, confidence): method labels_full (line 89) | def labels_full(self, value): class Frame (line 93) | class Frame(BaseJsonLogger): method __init__ (line 110) | def __init__(self, frame_id: int, timestamp: float = None): method add_bbox (line 115) | def add_bbox(self, bbox_id: int, top: int, left: int, width: int, heig... method add_label_to_bbox (line 122) | def add_label_to_bbox(self, bbox_id: int, category: str, confidence: f... class BboxToJsonLogger (line 131) | class BboxToJsonLogger(BaseJsonLogger): method __init__ (line 175) | def __init__(self, top_k_labels: int = 1): method set_top_k (line 182) | def set_top_k(self, value): method frame_exists (line 185) | def frame_exists(self, frame_id: int) -> bool: method add_frame (line 195) | def add_frame(self, frame_id: int, timestamp: float = None) -> None: method bbox_exists (line 213) | def bbox_exists(self, frame_id: int, bbox_id: int) -> bool: method find_bbox (line 227) | def find_bbox(self, frame_id: int, bbox_id: int): method add_bbox_to_frame (line 245) | def add_bbox_to_frame(self, frame_id: int, bbox_id: int, top: int, lef... method add_label_to_bbox (line 273) | def add_label_to_bbox(self, frame_id: int, bbox_id: int, category: str... method add_video_details (line 293) | def add_video_details(self, frame_width: int = None, frame_height: int... method output (line 300) | def output(self): method json_output (line 306) | def json_output(self, output_name): method set_start (line 323) | def set_start(self): method schedule_output_by_time (line 326) | def schedule_output_by_time(self, output_dir=JsonMeta.PATH_TO_SAVE, ho... method schedule_output_by_frames (line 358) | def schedule_output_by_frames(self, frames_quota, frame_counter, outpu... method flush (line 368) | def flush(self, output_dir): FILE: DLTA_AI_app/trackers/strongsort/utils/log.py function get_logger (line 4) | def get_logger(name='root'): FILE: DLTA_AI_app/trackers/strongsort/utils/parser.py class YamlParser (line 6) | class YamlParser(edict): method __init__ (line 11) | def __init__(self, cfg_dict=None, config_file=None): method merge_from_file (line 23) | def merge_from_file(self, config_file): method merge_from_dict (line 28) | def merge_from_dict(self, config_dict): function get_config (line 32) | def get_config(config_file=None): FILE: DLTA_AI_app/trackers/strongsort/utils/tools.py function is_video (line 5) | def is_video(ext: str): function tik_tok (line 21) | def tik_tok(func): FILE: additional_scripts/coco_eval.py class HiddenPrints (line 11) | class HiddenPrints: method __enter__ (line 16) | def __enter__(self): method __exit__ (line 20) | def __exit__(self, exc_type, exc_val, exc_tb): function evaluate_coco (line 26) | def evaluate_coco(gt_file: str, pred_file: str, task: str = "bbox", eval...