SYMBOL INDEX (11269 symbols across 924 files) FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/benchmark.py function parse_args (line 17) | def parse_args(): function get_max_memory (line 33) | def get_max_memory(model): function main (line 42) | def main(): function get_mem_fps (line 47) | def get_mem_fps(args): function get_flops_params (line 112) | def get_flops_params(args): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/data_converter/B2D_converter.py function point_in_canvas_hw (line 63) | def point_in_canvas_hw(pos): function calculate_cube_vertices (line 69) | def calculate_cube_vertices(center, extent): function calculate_occlusion_stats (line 84) | def calculate_occlusion_stats(bbox_points, depth, depth_map, max_render_... function point_is_occluded (line 116) | def point_is_occluded(point, vertex_depth, depth_map): function apply_trans (line 134) | def apply_trans(vec,world2ego): function get_pose_matrix (line 139) | def get_pose_matrix(dic): function get_npc2world (line 147) | def get_npc2world(npc): function get_global_trigger_vertex (line 163) | def get_global_trigger_vertex(center,extent,yaw_in_degree): function get_image_point (line 179) | def get_image_point(loc, K, w2c): function get_action (line 189) | def get_action(index): function gengrate_map (line 235) | def gengrate_map(map_root): function preprocess (line 281) | def preprocess(folder_list,idx,tmp_dir,train_or_val,map_infos): function get_map_anno (line 455) | def get_map_anno(ann_info, map_infos): function generate_infos (line 509) | def generate_infos(folder_list,workers,train_or_val,tmp_dir, map_infos): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/data_converter/nuscenes_converter.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 154) | def get_available_scenes(nusc): function _fill_trainval_infos (line 194) | def _fill_trainval_infos(nusc, function get_ego_status (line 419) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 441) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 453) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 514) | def nuscenes_data_prep(root_path, FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/data_converter/nuscenes_converter_1_10.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 160) | def get_available_scenes(nusc): function _fill_trainval_infos (line 200) | def _fill_trainval_infos(nusc, function get_ego_status (line 431) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 453) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 465) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 526) | def nuscenes_data_prep(root_path, FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/data_converter/nuscenes_converter_6s.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 154) | def get_available_scenes(nusc): function _fill_trainval_infos (line 194) | def _fill_trainval_infos(nusc, function get_ego_status (line 419) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 441) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 453) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 514) | def nuscenes_data_prep(root_path, FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/data_converter/nuscenes_converter_hrad_planing_scene.py function quart_to_rpy (line 43) | def quart_to_rpy(qua): function locate_message (line 50) | def locate_message(utimes, utime): function geom2anno (line 56) | def geom2anno(map_geoms): function create_nuscenes_infos (line 72) | def create_nuscenes_infos(root_path, function get_available_scenes (line 157) | def get_available_scenes(nusc): function _fill_trainval_infos (line 197) | def _fill_trainval_infos(nusc, function get_ego_status (line 427) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 449) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 461) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 522) | def nuscenes_data_prep(root_path, FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/fuse_conv_bn.py function fuse_conv_bn (line 11) | def fuse_conv_bn(conv, bn): function fuse_module (line 27) | def fuse_module(m): function parse_args (line 48) | def parse_args(): function main (line 58) | def main(): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/kmeans/kmeans_motion.py function get_fut_agent (line 119) | def get_fut_agent(idx, sample_rate, frames, data_infos): function lidar2agent (line 160) | def lidar2agent(trajs_offset, boxes): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/kmeans/kmeans_plan.py function get_ego_trajs (line 19) | def get_ego_trajs(idx,sample_rate,past_frames,future_frames,data_infos): function lidar2agent (line 51) | def lidar2agent(trajs_offset, boxes): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/test.py function parse_args (line 28) | def parse_args(): function main (line 125) | def main(): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/train.py function parse_args (line 32) | def parse_args(): function main (line 118) | def main(): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/train_single.py function parse_args (line 37) | def parse_args(): function main (line 123) | def main(): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/visualization/bev_render.py function box3d_to_corners (line 10) | def box3d_to_corners(box3d): class BEVRender (line 109) | class BEVRender: method __init__ (line 110) | def __init__( method reset_canvas (line 125) | def reset_canvas(self): method render (line 132) | def render( method save_fig (line 163) | def save_fig(self, filename): method draw_detection_gt (line 169) | def draw_detection_gt(self, data): method draw_detection_pred (line 192) | def draw_detection_pred(self, result): method draw_track_pred (line 216) | def draw_track_pred(self, result): method draw_motion_gt (line 250) | def draw_motion_gt(self, data): method draw_motion_pred (line 276) | def draw_motion_pred(self, result, top_k=3): method draw_map_gt (line 310) | def draw_map_gt(self, data): method draw_map_pred (line 322) | def draw_map_pred(self, result): method draw_planning_gt (line 336) | def draw_planning_gt(self, data): method draw_planning_pred (line 351) | def draw_planning_pred(self, data, result, top_k=3): method _render_traj (line 393) | def _render_traj( method _render_sdc_car (line 416) | def _render_sdc_car(self): method _render_legend (line 422) | def _render_legend(self): method _render_command (line 427) | def _render_command(self, data): FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/tools/visualization/cam_render.py class CamRender (line 37) | class CamRender: method __init__ (line 38) | def __init__( method reset_canvas (line 47) | def reset_canvas(self): method render (line 54) | def render( method load_image (line 69) | def load_image(self, data_path, cam): method update_image (line 79) | def update_image(self, image, index, cam): method get_axis (line 87) | def get_axis(self, index): method save_fig (line 91) | def save_fig(self, filename): method render_image_data (line 97) | def render_image_data(self, data, index): method draw_detection_pred (line 105) | def draw_detection_pred(self, data, result): method draw_motion_pred (line 148) | def draw_motion_pred(self, data, result, points_per_step=10): method draw_planning_pred (line 196) | def draw_planning_pred(self, data, result): method _render_traj (line 259) | def _render_traj(self, traj_points, cam_intrinsic, j, color=(1, 0.5, 0... FILE: close_loop/SparseDrive_MomAD/adzoo/sparsedrive/train.py function parse_args (line 32) | def parse_args(): function main (line 118) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/bootstrap/js/bootstrap.bundle.js function _defineProperties (line 14) | function _defineProperties(target, props) { function _createClass (line 24) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 30) | function _defineProperty(obj, key, value) { function _objectSpread (line 45) | function _objectSpread(target) { function _inheritsLoose (line 64) | function _inheritsLoose(subClass, superClass) { function toType (line 86) | function toType(obj) { function getSpecialTransitionEndEvent (line 90) | function getSpecialTransitionEndEvent() { function transitionEndEmulator (line 104) | function transitionEndEmulator(duration) { function setTransitionEndSupport (line 119) | function setTransitionEndSupport() { function Alert (line 260) | function Alert(element) { function Button (line 428) | function Button(element) { function Carousel (line 635) | function Carousel(element, config) { function Collapse (line 1195) | function Collapse(element, config) { function microtaskDebounce (line 1539) | function microtaskDebounce(fn) { function taskDebounce (line 1553) | function taskDebounce(fn) { function isFunction (line 1586) | function isFunction(functionToCheck) { function getStyleComputedProperty (line 1598) | function getStyleComputedProperty(element, property) { function getParentNode (line 1615) | function getParentNode(element) { function getScrollParent (line 1629) | function getScrollParent(element) { function isIE (line 1667) | function isIE(version) { function getOffsetParent (line 1684) | function getOffsetParent(element) { function isOffsetContainer (line 1713) | function isOffsetContainer(element) { function getRoot (line 1729) | function getRoot(node) { function findCommonOffsetParent (line 1745) | function findCommonOffsetParent(element1, element2) { function getScroll (line 1789) | function getScroll(element) { function includeScroll (line 1813) | function includeScroll(rect, element) { function getBordersSize (line 1836) | function getBordersSize(styles, axis) { function getSize (line 1843) | function getSize(axis, body, html, computedStyle) { function getWindowSizes (line 1847) | function getWindowSizes(document) { function defineProperties (line 1865) | function defineProperties(target, props) { function getClientRect (line 1922) | function getClientRect(offsets) { function getBoundingClientRect (line 1936) | function getBoundingClientRect(element) { function getOffsetRectRelativeToArbitraryNode (line 1985) | function getOffsetRectRelativeToArbitraryNode(children, parent) { function getViewportOffsetRectRelativeToArtbitraryNode (line 2037) | function getViewportOffsetRectRelativeToArtbitraryNode(element) { function isFixed (line 2066) | function isFixed(element) { function getFixedPositionOffsetParent (line 2089) | function getFixedPositionOffsetParent(element) { function getBoundaries (line 2112) | function getBoundaries(popper, reference, padding, boundariesElement) { function getArea (line 2166) | function getArea(_ref) { function computeAutoPlacement (line 2182) | function computeAutoPlacement(placement, refRect, popper, reference, bou... function getReferenceOffsets (line 2243) | function getReferenceOffsets(state, popper, reference) { function getOuterSizes (line 2257) | function getOuterSizes(element) { function getOppositePlacement (line 2276) | function getOppositePlacement(placement) { function getPopperOffsets (line 2293) | function getPopperOffsets(popper, referenceOffsets, placement) { function find (line 2331) | function find(arr, check) { function findIndex (line 2350) | function findIndex(arr, prop, value) { function runModifiers (line 2375) | function runModifiers(modifiers, data, ends) { function update (line 2405) | function update() { function isModifierEnabled (line 2457) | function isModifierEnabled(modifiers, modifierName) { function getSupportedPropertyName (line 2472) | function getSupportedPropertyName(property) { function destroy (line 2491) | function destroy() { function getWindow (line 2521) | function getWindow(element) { function attachToScrollParents (line 2526) | function attachToScrollParents(scrollParent, event, callback, scrollPare... function setupEventListeners (line 2543) | function setupEventListeners(reference, options, state, updateBound) { function enableEventListeners (line 2563) | function enableEventListeners() { function removeEventListeners (line 2575) | function removeEventListeners(reference, state) { function disableEventListeners (line 2599) | function disableEventListeners() { function isNumeric (line 2613) | function isNumeric(n) { function setStyles (line 2625) | function setStyles(element, styles) { function setAttributes (line 2644) | function setAttributes(element, attributes) { function applyStyle (line 2664) | function applyStyle(data) { function applyStyleOnLoad (line 2693) | function applyStyleOnLoad(reference, popper, options, modifierOptions, s... function getRoundedOffsets (line 2730) | function getRoundedOffsets(data, shouldRound) { function computeStyle (line 2769) | function computeStyle(data, options) { function isModifierRequired (line 2870) | function isModifierRequired(modifiers, requestingName, requestedName) { function arrow (line 2895) | function arrow(data, options) { function getOppositeVariation (line 2977) | function getOppositeVariation(variation) { function clockwise (line 3032) | function clockwise(placement) { function flip (line 3053) | function flip(data, options) { function keepTogether (line 3143) | function keepTogether(data) { function toValue (line 3177) | function toValue(str, measurement, popperOffsets, referenceOffsets) { function parseOffset (line 3229) | function parseOffset(offset, popperOffsets, referenceOffsets, basePlacem... function offset (line 3305) | function offset(data, _ref) { function preventOverflow (line 3346) | function preventOverflow(data, options) { function shift (line 3417) | function shift(data) { function hide (line 3450) | function hide(data) { function inner (line 3488) | function inner(data) { function Popper (line 3939) | function Popper(reference, popper) { function Dropdown (line 4169) | function Dropdown(element, config) { function Modal (line 4674) | function Modal(element, config) { function allowedAttribute (line 5247) | function allowedAttribute(attr, allowedAttributeList) { function sanitizeHtml (line 5271) | function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) { function Tooltip (line 5408) | function Tooltip(element, config) { function Popover (line 6086) | function Popover() { function ScrollSpy (line 6273) | function ScrollSpy(element, config) { function Tab (line 6568) | function Tab(element) { function Toast (line 6805) | function Toast(element, config) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/bootstrap/js/bootstrap.js function _defineProperties (line 15) | function _defineProperties(target, props) { function _createClass (line 25) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 31) | function _defineProperty(obj, key, value) { function _objectSpread (line 46) | function _objectSpread(target) { function _inheritsLoose (line 65) | function _inheritsLoose(subClass, superClass) { function toType (line 87) | function toType(obj) { function getSpecialTransitionEndEvent (line 91) | function getSpecialTransitionEndEvent() { function transitionEndEmulator (line 105) | function transitionEndEmulator(duration) { function setTransitionEndSupport (line 120) | function setTransitionEndSupport() { function Alert (line 261) | function Alert(element) { function Button (line 429) | function Button(element) { function Carousel (line 636) | function Carousel(element, config) { function Collapse (line 1196) | function Collapse(element, config) { function Dropdown (line 1591) | function Dropdown(element, config) { function Modal (line 2096) | function Modal(element, config) { function allowedAttribute (line 2669) | function allowedAttribute(attr, allowedAttributeList) { function sanitizeHtml (line 2693) | function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) { function Tooltip (line 2830) | function Tooltip(element, config) { function Popover (line 3508) | function Popover() { function ScrollSpy (line 3695) | function ScrollSpy(element, config) { function Tab (line 3990) | function Tab(element) { function Toast (line 4227) | function Toast(element, config) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/all.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { function bunker (line 588) | function bunker(fn) { function _defineProperty (line 598) | function _defineProperty(obj, key, value) { function _objectSpread (line 613) | function _objectSpread(target) { function defineIcons (line 639) | function defineIcons(prefix, icons) { function bunker (line 864) | function bunker(fn) { function _defineProperty (line 874) | function _defineProperty(obj, key, value) { function _objectSpread (line 889) | function _objectSpread(target) { function defineIcons (line 915) | function defineIcons(prefix, icons) { function _typeof (line 1918) | function _typeof(obj) { function _classCallCheck (line 1932) | function _classCallCheck(instance, Constructor) { function _defineProperties (line 1938) | function _defineProperties(target, props) { function _createClass (line 1948) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 1954) | function _defineProperty(obj, key, value) { function _objectSpread (line 1969) | function _objectSpread(target) { function _slicedToArray (line 1988) | function _slicedToArray(arr, i) { function _toConsumableArray (line 1992) | function _toConsumableArray(arr) { function _arrayWithoutHoles (line 1996) | function _arrayWithoutHoles(arr) { function _arrayWithHoles (line 2004) | function _arrayWithHoles(arr) { function _iterableToArray (line 2008) | function _iterableToArray(iter) { function _iterableToArrayLimit (line 2012) | function _iterableToArrayLimit(arr, i) { function _nonIterableSpread (line 2038) | function _nonIterableSpread() { function _nonIterableRest (line 2042) | function _nonIterableRest() { function getAttrConfig (line 2134) | function getAttrConfig(attr) { function coerce (line 2142) | function coerce(val) { function domready (line 2213) | function domready (fn) { function asyncFlush (line 2230) | function asyncFlush() { function asyncCall (line 2241) | function asyncCall(callback, arg) { function invokeResolver (line 2250) | function invokeResolver(resolver, promise) { function invokeCallback (line 2266) | function invokeCallback(subscriber) { function handleThenable (line 2294) | function handleThenable(promise, value) { function resolve (line 2337) | function resolve(promise, value) { function fulfill (line 2343) | function fulfill(promise, value) { function reject (line 2351) | function reject(promise, reason) { function publish (line 2359) | function publish(promise) { function publishFulfillment (line 2363) | function publishFulfillment(promise) { function publishRejection (line 2368) | function publishRejection(promise) { function notifyRejectionHandled (line 2377) | function notifyRejectionHandled(promise) { function P (line 2385) | function P(resolver) { function resolver (line 2444) | function resolver(index) { function isReserved (line 2517) | function isReserved(name) { function bunker (line 2521) | function bunker(fn) { function insertCss (line 2530) | function insertCss(css) { function nextUniqueId (line 2554) | function nextUniqueId() { function toArray (line 2564) | function toArray(obj) { function classArray (line 2573) | function classArray(node) { function getIconName (line 2582) | function getIconName(familyPrefix, cls) { function htmlEscape (line 2593) | function htmlEscape(str) { function joinAttributes (line 2596) | function joinAttributes(attributes) { function joinStyles (line 2601) | function joinStyles(styles) { function transformIsMeaningful (line 2606) | function transformIsMeaningful(transform) { function transformForSvg (line 2609) | function transformForSvg(_ref) { function transformForCss (line 2631) | function transformForCss(_ref2) { function fillBlack (line 2661) | function fillBlack(abstract) { function deGroup (line 2671) | function deGroup(abstract) { function makeIconMasking (line 2679) | function makeIconMasking (_ref) { function makeIconStandard (line 2751) | function makeIconStandard (_ref) { function asIcon (line 2792) | function asIcon (_ref) { function asSymbol (line 2819) | function asSymbol (_ref) { function makeInlineSvgAbstract (line 2841) | function makeInlineSvgAbstract(params) { function makeLayersTextAbstract (line 2909) | function makeLayersTextAbstract(params) { function makeLayersCounterAbstract (line 2966) | function makeLayersCounterAbstract(params) { function toHex (line 3076) | function toHex(unicode) { function defineIcons (line 3087) | function defineIcons(prefix, icons) { function byUnicode (line 3168) | function byUnicode(prefix, unicode) { function byLigature (line 3171) | function byLigature(prefix, ligature) { function byOldName (line 3174) | function byOldName(name) { function getCanonicalIcon (line 3189) | function getCanonicalIcon(values) { function iconFromMapping (line 3208) | function iconFromMapping(mapping, prefix, iconName) { function toHtml (line 3218) | function toHtml(abstractNodes) { function isWatched (line 3234) | function isWatched(node) { function getMutator (line 3239) | function getMutator() { function performOperationSync (line 3297) | function performOperationSync(op) { function perform (line 3301) | function perform(mutations, callback) { function disableObservation (line 3323) | function disableObservation() { function enableObservation (line 3326) | function enableObservation() { function observe (line 3330) | function observe(options) { function disconnect (line 3381) | function disconnect() { function styleParser (line 3386) | function styleParser (node) { function classParser (line 3407) | function classParser (node) { function transformParser (line 3495) | function transformParser (node) { function symbolParser (line 3499) | function symbolParser (node) { function attributesParser (line 3504) | function attributesParser (node) { function maskParser (line 3526) | function maskParser (node) { function blankMeta (line 3538) | function blankMeta() { function parseMeta (line 3553) | function parseMeta(node) { function MissingIcon (line 3579) | function MissingIcon(error) { function asFoundIcon (line 3658) | function asFoundIcon(icon) { function findIcon (line 3707) | function findIcon(iconName, prefix) { function generateSvgReplacementMutation (line 3731) | function generateSvgReplacementMutation(node, nodeMeta) { function generateLayersText (line 3763) | function generateLayersText(node, nodeMeta) { function generateMutation (line 3792) | function generateMutation(node) { function onTree (line 3802) | function onTree(root) { function onNode (line 3872) | function onNode(node) { function replaceForPosition (line 3881) | function replaceForPosition(node, position) { function replace (line 3956) | function replace(node) { function processable (line 3960) | function processable(node) { function searchPseudoElements (line 3964) | function searchPseudoElements (root) { function css (line 3984) | function css () { function Library (line 4004) | function Library() { function ensureCss (line 4052) | function ensureCss() { function apiObject (line 4060) | function apiObject(val, abstractCreator) { function findIconDefinition (line 4082) | function findIconDefinition(iconLookup) { function resolveIcons (line 4090) | function resolveIcons(next) { function bootstrap (line 4327) | function bootstrap() { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/brands.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/conflict-detection.js function _typeof (line 11) | function _typeof(obj) { function _defineProperty (line 25) | function _defineProperty(obj, key, value) { function _objectSpread (line 40) | function _objectSpread(target) { function domready (line 94) | function domready (fn) { function report (line 99) | function report (_ref) { function createCommonjsModule (line 167) | function createCommonjsModule(fn, module) { function safeAdd (line 183) | function safeAdd(x, y) { function bitRotateLeft (line 197) | function bitRotateLeft(num, cnt) { function md5cmn (line 213) | function md5cmn(q, a, b, x, s, t) { function md5ff (line 230) | function md5ff(a, b, c, d, x, s, t) { function md5gg (line 247) | function md5gg(a, b, c, d, x, s, t) { function md5hh (line 264) | function md5hh(a, b, c, d, x, s, t) { function md5ii (line 281) | function md5ii(a, b, c, d, x, s, t) { function binlMD5 (line 293) | function binlMD5(x, len) { function binl2rstr (line 392) | function binl2rstr(input) { function rstr2binl (line 412) | function rstr2binl(input) { function rstrMD5 (line 437) | function rstrMD5(s) { function rstrHMACMD5 (line 449) | function rstrHMACMD5(key, data) { function rstr2hex (line 477) | function rstr2hex(input) { function str2rstrUTF8 (line 498) | function str2rstrUTF8(input) { function rawMD5 (line 509) | function rawMD5(s) { function hexMD5 (line 520) | function hexMD5(s) { function rawHMACMD5 (line 532) | function rawHMACMD5(k, d) { function hexHMACMD5 (line 544) | function hexHMACMD5(k, d) { function md5 (line 559) | function md5(string, key, raw) { function md5ForNode (line 583) | function md5ForNode(node) { function pollUntil (line 605) | function pollUntil(_ref) { function detectWebfontConflicts (line 647) | function detectWebfontConflicts() { function detectSvgConflicts (line 765) | function detectSvgConflicts(currentScript) { function setDoneResults (line 844) | function setDoneResults(_ref2) { function conflictDetection (line 853) | function conflictDetection() { function bunker (line 971) | function bunker(fn) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/fontawesome.js function _typeof (line 8) | function _typeof(obj) { function _classCallCheck (line 22) | function _classCallCheck(instance, Constructor) { function _defineProperties (line 28) | function _defineProperties(target, props) { function _createClass (line 38) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 44) | function _defineProperty(obj, key, value) { function _objectSpread (line 59) | function _objectSpread(target) { function _slicedToArray (line 78) | function _slicedToArray(arr, i) { function _toConsumableArray (line 82) | function _toConsumableArray(arr) { function _arrayWithoutHoles (line 86) | function _arrayWithoutHoles(arr) { function _arrayWithHoles (line 94) | function _arrayWithHoles(arr) { function _iterableToArray (line 98) | function _iterableToArray(iter) { function _iterableToArrayLimit (line 102) | function _iterableToArrayLimit(arr, i) { function _nonIterableSpread (line 128) | function _nonIterableSpread() { function _nonIterableRest (line 132) | function _nonIterableRest() { function getAttrConfig (line 224) | function getAttrConfig(attr) { function coerce (line 232) | function coerce(val) { function domready (line 303) | function domready (fn) { function asyncFlush (line 320) | function asyncFlush() { function asyncCall (line 331) | function asyncCall(callback, arg) { function invokeResolver (line 340) | function invokeResolver(resolver, promise) { function invokeCallback (line 356) | function invokeCallback(subscriber) { function handleThenable (line 384) | function handleThenable(promise, value) { function resolve (line 427) | function resolve(promise, value) { function fulfill (line 433) | function fulfill(promise, value) { function reject (line 441) | function reject(promise, reason) { function publish (line 449) | function publish(promise) { function publishFulfillment (line 453) | function publishFulfillment(promise) { function publishRejection (line 458) | function publishRejection(promise) { function notifyRejectionHandled (line 467) | function notifyRejectionHandled(promise) { function P (line 475) | function P(resolver) { function resolver (line 534) | function resolver(index) { function isReserved (line 607) | function isReserved(name) { function bunker (line 611) | function bunker(fn) { function insertCss (line 620) | function insertCss(css) { function nextUniqueId (line 644) | function nextUniqueId() { function toArray (line 654) | function toArray(obj) { function classArray (line 663) | function classArray(node) { function getIconName (line 672) | function getIconName(familyPrefix, cls) { function htmlEscape (line 683) | function htmlEscape(str) { function joinAttributes (line 686) | function joinAttributes(attributes) { function joinStyles (line 691) | function joinStyles(styles) { function transformIsMeaningful (line 696) | function transformIsMeaningful(transform) { function transformForSvg (line 699) | function transformForSvg(_ref) { function transformForCss (line 721) | function transformForCss(_ref2) { function fillBlack (line 751) | function fillBlack(abstract) { function deGroup (line 761) | function deGroup(abstract) { function makeIconMasking (line 769) | function makeIconMasking (_ref) { function makeIconStandard (line 841) | function makeIconStandard (_ref) { function asIcon (line 882) | function asIcon (_ref) { function asSymbol (line 909) | function asSymbol (_ref) { function makeInlineSvgAbstract (line 931) | function makeInlineSvgAbstract(params) { function makeLayersTextAbstract (line 999) | function makeLayersTextAbstract(params) { function makeLayersCounterAbstract (line 1056) | function makeLayersCounterAbstract(params) { function toHex (line 1166) | function toHex(unicode) { function defineIcons (line 1177) | function defineIcons(prefix, icons) { function byUnicode (line 1258) | function byUnicode(prefix, unicode) { function byLigature (line 1261) | function byLigature(prefix, ligature) { function byOldName (line 1264) | function byOldName(name) { function getCanonicalIcon (line 1279) | function getCanonicalIcon(values) { function iconFromMapping (line 1298) | function iconFromMapping(mapping, prefix, iconName) { function toHtml (line 1308) | function toHtml(abstractNodes) { function isWatched (line 1324) | function isWatched(node) { function getMutator (line 1329) | function getMutator() { function performOperationSync (line 1387) | function performOperationSync(op) { function perform (line 1391) | function perform(mutations, callback) { function disableObservation (line 1413) | function disableObservation() { function enableObservation (line 1416) | function enableObservation() { function observe (line 1420) | function observe(options) { function disconnect (line 1471) | function disconnect() { function styleParser (line 1476) | function styleParser (node) { function classParser (line 1497) | function classParser (node) { function transformParser (line 1585) | function transformParser (node) { function symbolParser (line 1589) | function symbolParser (node) { function attributesParser (line 1594) | function attributesParser (node) { function maskParser (line 1616) | function maskParser (node) { function blankMeta (line 1628) | function blankMeta() { function parseMeta (line 1643) | function parseMeta(node) { function MissingIcon (line 1669) | function MissingIcon(error) { function asFoundIcon (line 1748) | function asFoundIcon(icon) { function findIcon (line 1797) | function findIcon(iconName, prefix) { function generateSvgReplacementMutation (line 1821) | function generateSvgReplacementMutation(node, nodeMeta) { function generateLayersText (line 1853) | function generateLayersText(node, nodeMeta) { function generateMutation (line 1882) | function generateMutation(node) { function onTree (line 1892) | function onTree(root) { function onNode (line 1962) | function onNode(node) { function replaceForPosition (line 1971) | function replaceForPosition(node, position) { function replace (line 2046) | function replace(node) { function processable (line 2050) | function processable(node) { function searchPseudoElements (line 2054) | function searchPseudoElements (root) { function css (line 2074) | function css () { function Library (line 2094) | function Library() { function ensureCss (line 2142) | function ensureCss() { function apiObject (line 2150) | function apiObject(val, abstractCreator) { function findIconDefinition (line 2172) | function findIconDefinition(iconLookup) { function resolveIcons (line 2180) | function resolveIcons(next) { function bootstrap (line 2417) | function bootstrap() { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/regular.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/solid.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/v4-shims.js function bunker (line 38) | function bunker(fn) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/jquery/jquery.js function DOMEval (line 98) | function DOMEval( code, node, doc ) { function toType (line 128) | function toType( obj ) { function isArrayLike (line 496) | function isArrayLike( obj ) { function Sizzle (line 729) | function Sizzle( selector, context, results, seed ) { function createCache (line 871) | function createCache() { function markFunction (line 889) | function markFunction( fn ) { function assert (line 898) | function assert( fn ) { function addHandle (line 920) | function addHandle( attrs, handler ) { function siblingCheck (line 935) | function siblingCheck( a, b ) { function createInputPseudo (line 961) | function createInputPseudo( type ) { function createButtonPseudo (line 972) | function createButtonPseudo( type ) { function createDisabledPseudo (line 983) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1039) | function createPositionalPseudo( fn ) { function testContext (line 1062) | function testContext( context ) { function setFilters (line 2150) | function setFilters() {} function toSelector (line 2221) | function toSelector( tokens ) { function addCombinator (line 2231) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2295) | function elementMatcher( matchers ) { function multipleContexts (line 2309) | function multipleContexts( selector, contexts, results ) { function condense (line 2318) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2339) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2432) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2490) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function nodeName (line 2826) | function nodeName( elem, name ) { function winnow (line 2836) | function winnow( elements, qualifier, not ) { function sibling (line 3131) | function sibling( cur, dir ) { function createOptions (line 3218) | function createOptions( options ) { function Identity (line 3443) | function Identity( v ) { function Thrower (line 3446) | function Thrower( ex ) { function adoptValue (line 3450) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3543) | function resolve( depth, deferred, handler, special ) { function completed (line 3908) | function completed() { function fcamelCase (line 4003) | function fcamelCase( all, letter ) { function camelCase (line 4010) | function camelCase( string ) { function Data (line 4027) | function Data() { function getData (line 4196) | function getData( data ) { function dataAttr (line 4221) | function dataAttr( elem, key, data ) { function adjustCSS (line 4554) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4622) | function getDefaultDisplay( elem ) { function showHide (line 4645) | function showHide( elements, show ) { function getAll (line 4746) | function getAll( context, tag ) { function setGlobalEval (line 4771) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4787) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4908) | function returnTrue() { function returnFalse (line 4912) | function returnFalse() { function expectSync (line 4922) | function expectSync( elem, type ) { function safeActiveElement (line 4929) | function safeActiveElement() { function on (line 4935) | function on( elem, types, selector, data, fn, one ) { function leverageNative (line 5420) | function leverageNative( el, type, expectSync ) { function manipulationTarget (line 5791) | function manipulationTarget( elem, content ) { function disableScript (line 5802) | function disableScript( elem ) { function restoreScript (line 5806) | function restoreScript( elem ) { function cloneCopyEvent (line 5816) | function cloneCopyEvent( src, dest ) { function fixInput (line 5851) | function fixInput( src, dest ) { function domManip (line 5864) | function domManip( collection, args, callback, ignored ) { function remove (line 5956) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6249) | function computeStyleTests() { function roundPixelMeasures (line 6293) | function roundPixelMeasures( measure ) { function curCSS (line 6338) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6391) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6416) | function vendorPropName( name ) { function finalPropName (line 6431) | function finalPropName( name ) { function setPositiveNumber (line 6457) | function setPositiveNumber( elem, value, subtract ) { function boxModelAdjustment (line 6469) | function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, ... function getWidthOrHeight (line 6537) | function getWidthOrHeight( elem, dimension, extra ) { function Tween (line 6904) | function Tween( elem, options, prop, end, easing ) { function schedule (line 7027) | function schedule() { function createFxNow (line 7040) | function createFxNow() { function genFx (line 7048) | function genFx( type, includeWidth ) { function createTween (line 7068) | function createTween( value, prop, animation ) { function defaultPrefilter (line 7082) | function defaultPrefilter( elem, props, opts ) { function propFilter (line 7254) | function propFilter( props, specialEasing ) { function Animation (line 7291) | function Animation( elem, properties, options ) { function stripAndCollapse (line 8006) | function stripAndCollapse( value ) { function getClass (line 8012) | function getClass( elem ) { function classesToArray (line 8016) | function classesToArray( value ) { function buildParams (line 8638) | function buildParams( prefix, obj, traditional, add ) { function addToPrefiltersOrTransports (line 8792) | function addToPrefiltersOrTransports( structure ) { function inspectPrefiltersOrTransports (line 8826) | function inspectPrefiltersOrTransports( structure, options, originalOpti... function ajaxExtend (line 8855) | function ajaxExtend( target, src ) { function ajaxHandleResponses (line 8875) | function ajaxHandleResponses( s, jqXHR, responses ) { function ajaxConvert (line 8933) | function ajaxConvert( s, response, jqXHR, isSuccess ) { function done (line 9448) | function done( status, nativeStatusText, responses, headers ) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/jquery/jquery.slim.js function DOMEval (line 98) | function DOMEval( code, node, doc ) { function toType (line 128) | function toType( obj ) { function isArrayLike (line 496) | function isArrayLike( obj ) { function Sizzle (line 729) | function Sizzle( selector, context, results, seed ) { function createCache (line 871) | function createCache() { function markFunction (line 889) | function markFunction( fn ) { function assert (line 898) | function assert( fn ) { function addHandle (line 920) | function addHandle( attrs, handler ) { function siblingCheck (line 935) | function siblingCheck( a, b ) { function createInputPseudo (line 961) | function createInputPseudo( type ) { function createButtonPseudo (line 972) | function createButtonPseudo( type ) { function createDisabledPseudo (line 983) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1039) | function createPositionalPseudo( fn ) { function testContext (line 1062) | function testContext( context ) { function setFilters (line 2150) | function setFilters() {} function toSelector (line 2221) | function toSelector( tokens ) { function addCombinator (line 2231) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2295) | function elementMatcher( matchers ) { function multipleContexts (line 2309) | function multipleContexts( selector, contexts, results ) { function condense (line 2318) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2339) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2432) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2490) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function nodeName (line 2826) | function nodeName( elem, name ) { function winnow (line 2836) | function winnow( elements, qualifier, not ) { function sibling (line 3131) | function sibling( cur, dir ) { function createOptions (line 3218) | function createOptions( options ) { function Identity (line 3443) | function Identity( v ) { function Thrower (line 3446) | function Thrower( ex ) { function adoptValue (line 3450) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3543) | function resolve( depth, deferred, handler, special ) { function completed (line 3908) | function completed() { function fcamelCase (line 4003) | function fcamelCase( all, letter ) { function camelCase (line 4010) | function camelCase( string ) { function Data (line 4027) | function Data() { function getData (line 4196) | function getData( data ) { function dataAttr (line 4221) | function dataAttr( elem, key, data ) { function adjustCSS (line 4554) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4622) | function getDefaultDisplay( elem ) { function showHide (line 4645) | function showHide( elements, show ) { function getAll (line 4746) | function getAll( context, tag ) { function setGlobalEval (line 4771) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4787) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4908) | function returnTrue() { function returnFalse (line 4912) | function returnFalse() { function expectSync (line 4922) | function expectSync( elem, type ) { function safeActiveElement (line 4929) | function safeActiveElement() { function on (line 4935) | function on( elem, types, selector, data, fn, one ) { function leverageNative (line 5420) | function leverageNative( el, type, expectSync ) { function manipulationTarget (line 5791) | function manipulationTarget( elem, content ) { function disableScript (line 5802) | function disableScript( elem ) { function restoreScript (line 5806) | function restoreScript( elem ) { function cloneCopyEvent (line 5816) | function cloneCopyEvent( src, dest ) { function fixInput (line 5851) | function fixInput( src, dest ) { function domManip (line 5864) | function domManip( collection, args, callback, ignored ) { function remove (line 5956) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6249) | function computeStyleTests() { function roundPixelMeasures (line 6293) | function roundPixelMeasures( measure ) { function curCSS (line 6338) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6391) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6416) | function vendorPropName( name ) { function finalPropName (line 6431) | function finalPropName( name ) { function setPositiveNumber (line 6457) | function setPositiveNumber( elem, value, subtract ) { function boxModelAdjustment (line 6469) | function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, ... function getWidthOrHeight (line 6537) | function getWidthOrHeight( elem, dimension, extra ) { function stripAndCollapse (line 7213) | function stripAndCollapse( value ) { function getClass (line 7219) | function getClass( elem ) { function classesToArray (line 7223) | function classesToArray( value ) { function buildParams (line 7817) | function buildParams( prefix, obj, traditional, add ) { FILE: close_loop/SparseDrive_MomAD/leaderboard/docs/assets/vendor/startbootstrap-clean-blog/js/jqBootstrapValidation.js function regexFromString (line 900) | function regexFromString(inputstring) { function executeFunctionByName (line 910) | function executeFunctionByName(functionName, context /*, args*/ ) { FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/agent_wrapper.py class AgentError (line 52) | class AgentError(Exception): method __init__ (line 57) | def __init__(self, message): class TickRuntimeError (line 61) | class TickRuntimeError(Exception): class AgentWrapperFactory (line 64) | class AgentWrapperFactory(object): method get_wrapper (line 67) | def get_wrapper(agent): function validate_sensor_configuration (line 74) | def validate_sensor_configuration(sensors, agent_track, selected_track): class AgentWrapper (line 129) | class AgentWrapper(object): method __init__ (line 137) | def __init__(self, agent): method __call__ (line 143) | def __call__(self): method _preprocess_sensor_spec (line 149) | def _preprocess_sensor_spec(self, sensor_spec): method setup_sensors (line 238) | def setup_sensors(self, vehicle): method cleanup (line 270) | def cleanup(self): class ROSAgentWrapper (line 285) | class ROSAgentWrapper(AgentWrapper): method __init__ (line 292) | def __init__(self, agent): method _preprocess_sensor_spec (line 295) | def _preprocess_sensor_spec(self, sensor_spec): method setup_sensors (line 300) | def setup_sensors(self, vehicle): method cleanup (line 314) | def cleanup(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/autonomous_agent.py class Track (line 21) | class Track(Enum): class AutonomousAgent (line 32) | class AutonomousAgent(object): method __init__ (line 38) | def __init__(self, carla_host, carla_port, debug=False): method setup (line 51) | def setup(self, path_to_conf_file): method sensors (line 59) | def sensors(self): # pylint: disable=no-self-use method run_step (line 81) | def run_step(self, input_data, timestamp): method destroy (line 94) | def destroy(self): method __call__ (line 101) | def __call__(self): method get_ros_version (line 125) | def get_ros_version(): method set_global_plan (line 128) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): method get_hero (line 137) | def get_hero(self): method get_metric_info (line 146) | def get_metric_info(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/dummy_agent.py function get_entry_point (line 16) | def get_entry_point(): class DummyAgent (line 19) | class DummyAgent(AutonomousAgent): method setup (line 25) | def setup(self, path_to_conf_file): method sensors (line 31) | def sensors(self): method run_step (line 68) | def run_step(self, input_data, timestamp): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/human_agent.py function get_entry_point (line 33) | def get_entry_point(): class HumanInterface (line 36) | class HumanInterface(object): method __init__ (line 42) | def __init__(self, width, height, side_scale, left_mirror=False, right... method run_interface (line 57) | def run_interface(self, input_data): method set_black_screen (line 83) | def set_black_screen(self): method _quit (line 91) | def _quit(self): class HumanAgent (line 95) | class HumanAgent(AutonomousAgent): method setup (line 104) | def setup(self, path_to_conf_file): method sensors (line 129) | def sensors(self): method run_step (line 166) | def run_step(self, input_data, timestamp): method destroy (line 179) | def destroy(self): class KeyboardControl (line 187) | class KeyboardControl(object): method __init__ (line 193) | def __init__(self, path_to_conf_file): method _json_to_control (line 227) | def _json_to_control(self): method parse_events (line 240) | def parse_events(self, timestamp): method _parse_vehicle_keys (line 256) | def _parse_vehicle_keys(self, keys, milliseconds): method _parse_json_control (line 286) | def _parse_json_control(self): method _record_control (line 294) | def _record_control(self): method __del__ (line 309) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/npc_agent.py function get_entry_point (line 18) | def get_entry_point(): class NpcAgent (line 21) | class NpcAgent(AutonomousAgent): method setup (line 30) | def setup(self, path_to_conf_file): method sensors (line 38) | def sensors(self): method run_step (line 63) | def run_step(self, input_data, timestamp): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/ros1_agent.py class ROS1Server (line 19) | class ROS1Server(object): method __init__ (line 22) | def __init__(self, debug=True): method start (line 25) | def start(self): method shutdown (line 33) | def shutdown(self): function wait_for_message (line 39) | def wait_for_message(client, topic, topic_type, timeout=None): function wait_for_service (line 67) | def wait_for_service(client, service, timeout=None): class ROS1Agent (line 80) | class ROS1Agent(ROSBaseAgent): method __init__ (line 84) | def __init__(self, carla_host, carla_port, debug=False): method get_ros_version (line 104) | def get_ros_version(): method spawn_object (line 107) | def spawn_object(self, type_, id_, transform, attributes, attach_to=0): method destroy_object (line 129) | def destroy_object(self, uid): method run_step (line 136) | def run_step(self, input_data, timestamp): method set_global_plan (line 139) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): method destroy (line 168) | def destroy(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/ros2_agent.py function wait_for_message (line 31) | def wait_for_message(node, topic, topic_type, timeout=None): class ROS2Agent (line 50) | class ROS2Agent(ROSBaseAgent): method __init__ (line 58) | def __init__(self, carla_host, carla_port, debug=False): method get_ros_version (line 81) | def get_ros_version(): method spawn_object (line 84) | def spawn_object(self, type_, id_, transform, attributes, attach_to=0): method destroy_object (line 107) | def destroy_object(self, uid): method set_global_plan (line 117) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): method destroy (line 139) | def destroy(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/autoagents/ros_base_agent.py class ROSLogger (line 29) | class ROSLogger(object): method __init__ (line 31) | def __init__(self, name): method write (line 47) | def write(self, data): method flush (line 50) | def flush(self): method fileno (line 53) | def fileno(self): method destroy (line 56) | def destroy(self): class ROSLauncher (line 60) | class ROSLauncher(object): method __init__ (line 62) | def __init__(self, app_name, ros_version, debug=False): method run (line 74) | def run(self, package, launch_file, parameters={}, wait=False): method log (line 86) | def log(self): method is_alive (line 93) | def is_alive(self): method terminate (line 98) | def terminate(self): class BridgeHelper (line 107) | class BridgeHelper(object): method carla2ros_pose (line 110) | def carla2ros_pose(cls, x, y, z, roll, pitch, yaw, to_quat=False): method rpy2quat (line 123) | def rpy2quat(roll, pitch, yaw): class ROSBaseAgent (line 128) | class ROSBaseAgent(AutonomousAgent): method __init__ (line 137) | def __init__(self, ros_version, carla_host, carla_port, debug=False): method get_ros_entrypoint (line 165) | def get_ros_entrypoint(self): method spawn_object (line 168) | def spawn_object(self, type_, id_, transform, attributes, attach_to=0): method destroy_object (line 171) | def destroy_object(self, uid): method _vehicle_control_cmd_callback (line 174) | def _vehicle_control_cmd_callback(self, control_msg): method run_step (line 227) | def run_step(self, _, timestamp): method destroy (line 245) | def destroy(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/envs/sensor_interface.py function threaded (line 16) | def threaded(fn): class SensorConfigurationInvalid (line 26) | class SensorConfigurationInvalid(Exception): method __init__ (line 31) | def __init__(self, message): class SensorReceivedNoData (line 35) | class SensorReceivedNoData(Exception): method __init__ (line 40) | def __init__(self, message): class GenericMeasurement (line 44) | class GenericMeasurement(object): method __init__ (line 45) | def __init__(self, data, frame): class BaseReader (line 50) | class BaseReader(object): method __init__ (line 51) | def __init__(self, vehicle, reading_frequency=1.0): method __call__ (line 58) | def __call__(self): method run (line 62) | def run(self): method listen (line 79) | def listen(self, callback): method stop (line 83) | def stop(self): method destroy (line 86) | def destroy(self): class SpeedometerReader (line 90) | class SpeedometerReader(BaseReader): method _get_forward_speed (line 96) | def _get_forward_speed(self, transform=None, velocity=None): method __call__ (line 110) | def __call__(self): class OpenDriveMapReader (line 128) | class OpenDriveMapReader(BaseReader): method __call__ (line 129) | def __call__(self): class CallBack (line 133) | class CallBack(object): method __init__ (line 134) | def __init__(self, tag, sensor_type, sensor, data_provider): method __call__ (line 140) | def __call__(self, data): method _parse_image_cb (line 157) | def _parse_image_cb(self, image, tag): method _parse_lidar_cb (line 163) | def _parse_lidar_cb(self, lidar_data, tag): method _parse_radar_cb (line 169) | def _parse_radar_cb(self, radar_data, tag): method _parse_gnss_cb (line 177) | def _parse_gnss_cb(self, gnss_data, tag): method _parse_imu_cb (line 183) | def _parse_imu_cb(self, imu_data, tag): method _parse_pseudosensor (line 194) | def _parse_pseudosensor(self, package, tag): class SensorInterface (line 198) | class SensorInterface(object): method __init__ (line 199) | def __init__(self): method register_sensor (line 207) | def register_sensor(self, tag, sensor_type, sensor): method update_sensor (line 216) | def update_sensor(self, tag, data, frame): method get_data (line 222) | def get_data(self, frame): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/leaderboard_evaluator.py function find_free_port (line 54) | def find_free_port(starting_port): function get_weather_id (line 64) | def get_weather_id(weather_conditions): class LeaderboardEvaluator (line 80) | class LeaderboardEvaluator(object): method __init__ (line 90) | def __init__(self, args, statistics_manager): method _signal_handler (line 136) | def _signal_handler(self, signum, frame): method __del__ (line 146) | def __del__(self): method _get_running_status (line 155) | def _get_running_status(self): method _cleanup (line 164) | def _cleanup(self): method _setup_simulation (line 197) | def _setup_simulation(self, args): method _reset_world_settings (line 249) | def _reset_world_settings(self): method _load_and_wait_for_world (line 268) | def _load_and_wait_for_world(self, args, town): method _register_statistics (line 296) | def _register_statistics(self, route_index, entry_status, crash_messag... method _load_and_run_scenario (line 306) | def _load_and_run_scenario(self, args, config): method run (line 454) | def run(self, args): function main (line 509) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/scenarios/route_scenario.py class RouteScenario (line 52) | class RouteScenario(BasicScenario): method __init__ (line 63) | def __init__(self, world, config, debug_mode=0, criteria_enable=True): method _get_route (line 109) | def _get_route(self, config): method _filter_scenarios (line 124) | def _filter_scenarios(self, scenario_configs): method _spawn_ego_vehicle (line 144) | def _spawn_ego_vehicle(self): method _get_parking_slots (line 163) | def _get_parking_slots(self, max_distance=100, route_step=10): method spawn_parked_vehicles (line 205) | def spawn_parked_vehicles(self, ego_vehicle, max_scenario_distance=10): method _draw_waypoints (line 241) | def _draw_waypoints(self, waypoints, vertical_shift, size, downsample=1): method get_all_scenario_classes (line 271) | def get_all_scenario_classes(self): method build_scenarios (line 294) | def build_scenarios(self, ego_vehicle, debug=False): method _initialize_actors (line 369) | def _initialize_actors(self, config): method _create_behavior (line 377) | def _create_behavior(self): method _create_test_criteria (line 409) | def _create_test_criteria(self): method _create_weather_behavior (line 438) | def _create_weather_behavior(self): method _create_lights_behavior (line 446) | def _create_lights_behavior(self): method _create_timeout_behavior (line 452) | def _create_timeout_behavior(self): method _initialize_environment (line 458) | def _initialize_environment(self, world): method _create_criterion_tree (line 465) | def _create_criterion_tree(self, scenario, criteria): method __del__ (line 489) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/scenarios/scenario_manager.py class ScenarioManager (line 31) | class ScenarioManager(object): method __init__ (line 48) | def __init__(self, timeout, statistics_manager, debug_mode=0): method signal_handler (line 82) | def signal_handler(self, signum, frame): method cleanup (line 92) | def cleanup(self): method load_scenario (line 108) | def load_scenario(self, scenario, agent, route_index, rep_number): method build_scenarios_loop (line 129) | def build_scenarios_loop(self, debug): method run_scenario (line 139) | def run_scenario(self): method _tick_scenario (line 163) | def _tick_scenario(self): method get_running_status (line 234) | def get_running_status(self): method stop_scenario (line 243) | def stop_scenario(self): method compute_duration_time (line 270) | def compute_duration_time(self): method analyze_scenario (line 280) | def analyze_scenario(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/utils/checkpoint_tools.py function autodetect_proxy (line 10) | def autodetect_proxy(): function fetch_dict (line 24) | def fetch_dict(endpoint): function save_dict (line 50) | def save_dict(endpoint, data): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/utils/result_writer.py class ResultOutputProvider (line 33) | class ResultOutputProvider(object): method __init__ (line 40) | def __init__(self, data): method create_output_text (line 58) | def create_output_text(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/utils/route_indexer.py class RouteIndexer (line 10) | class RouteIndexer(): method __init__ (line 11) | def __init__(self, routes_file, repetitions, routes_subset): method peek (line 28) | def peek(self): method get_next_config (line 31) | def get_next_config(self): method validate_and_resume (line 40) | def validate_and_resume(self, endpoint): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/utils/route_manipulation.py function _location_to_gps (line 20) | def _location_to_gps(lat_ref, lon_ref, location): function location_route_to_gps (line 43) | def location_route_to_gps(route, lat_ref, lon_ref): function _get_latlon_ref (line 60) | def _get_latlon_ref(world): function downsample_route (line 85) | def downsample_route(route, sample_factor): function interpolate_trajectory (line 136) | def interpolate_trajectory(waypoints_trajectory, hop_resolution=1.0): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/utils/route_parser.py function convert_elem_to_transform (line 22) | def convert_elem_to_transform(elem): class RouteParser (line 38) | class RouteParser(object): method parse_routes_file (line 45) | def parse_routes_file(route_filename, routes_subset=''): method parse_weather (line 148) | def parse_weather(route): method is_scenario_at_route (line 175) | def is_scenario_at_route(trigger_transform, route): FILE: close_loop/SparseDrive_MomAD/leaderboard/leaderboard/utils/statistics_manager.py class RouteRecord (line 70) | class RouteRecord(): method __init__ (line 71) | def __init__(self): method to_json (line 96) | def to_json(self): class GlobalRecord (line 101) | class GlobalRecord(): method __init__ (line 102) | def __init__(self): method to_json (line 125) | def to_json(self): class Checkpoint (line 129) | class Checkpoint(): method __init__ (line 131) | def __init__(self): method to_json (line 136) | def to_json(self): class Results (line 147) | class Results(): method __init__ (line 149) | def __init__(self): method to_json (line 157) | def to_json(self): function to_route_record (line 170) | def to_route_record(record_dict): function compute_route_length (line 178) | def compute_route_length(route): class StatisticsManager (line 193) | class StatisticsManager(object): method __init__ (line 200) | def __init__(self, endpoint, debug_endpoint): method add_file_records (line 208) | def add_file_records(self, endpoint): method clear_records (line 218) | def clear_records(self): method sort_records (line 224) | def sort_records(self): method write_live_results (line 234) | def write_live_results(self, index, ego_speed, ego_control, ego_locati... method save_sensors (line 300) | def save_sensors(self, sensors): method save_entry_status (line 303) | def save_entry_status(self, entry_status): method save_progress (line 309) | def save_progress(self, route_index, total_routes): method create_route_data (line 313) | def create_route_data(self, route_id, scenario_name, weather_id, save_... method set_scenario (line 332) | def set_scenario(self, scenario): method remove_scenario (line 337) | def remove_scenario(self): method compute_route_statistics (line 342) | def compute_route_statistics(self, route_index, duration_time_system=-... method compute_global_statistics (line 434) | def compute_global_statistics(self): method validate_and_write_statistics (line 554) | def validate_and_write_statistics(self, sensors_initialized, crashed): method write_statistics (line 597) | def write_statistics(self): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/manage_scenarios.py function get_scenario_transform (line 25) | def get_scenario_transform(scenario_dict): function get_color_validity (line 39) | def get_color_validity(waypoint_transform, scenario_transform, scenario_... function create_scenarios (line 65) | def create_scenarios(world, town_data, tmap, scenarios, debug): function validate_scenarios (line 116) | def validate_scenarios(world, town_data, tmap, scenarios, debug): function draw_scenarios (line 163) | def draw_scenarios(world, town_data, scenarios, debug): function main (line 208) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/merge_statistics.py function check_duplicates (line 7) | def check_duplicates(route_ids): function check_missing_data (line 14) | def check_missing_data(route_ids): function main (line 40) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/pretty_print_json.py function prettify_json (line 21) | def prettify_json(args): function main (line 97) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/route_creator.py function draw_point (line 19) | def draw_point(world, wp, option): function draw_keypoint (line 35) | def draw_keypoint(world, location): function get_saved_data (line 40) | def get_saved_data(filename, route_id, world, grp): function add_data (line 82) | def add_data(points, tmap, world, spectator, grp): function save_data (line 96) | def save_data(filename, route_id, points): function main (line 156) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/route_displayer.py function draw_point (line 57) | def draw_point(world, wp, color): function draw_keypoint (line 61) | def draw_keypoint(world, location): function show_all_routes (line 67) | def show_all_routes(filename, show_scenarios, world, grp): function show_route (line 106) | def show_route(filename, route_id, show_keypoints, show_scenarios, world... function show_saved_scenarios (line 155) | def show_saved_scenarios(route, world): function main (line 167) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/route_summarizer.py function convert_elem_to_location (line 40) | def convert_elem_to_location(elem): function main (line 44) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/scenario_creator.py function show_saved_scenarios (line 208) | def show_saved_scenarios(filename, route_id, world): function get_scenario_type (line 234) | def get_scenario_type(tmap, world, spectator): function get_attributes_data (line 253) | def get_attributes_data(scen_type, trigger_point, tmap, world, spectator): function get_transform_data (line 273) | def get_transform_data(a_name, scen_type, tmap, world, spectator): function get_location_data (line 285) | def get_location_data(a_name, scen_type, tmap, world, spectator, a_type): function get_value_data (line 312) | def get_value_data(a_name): function get_interval_data (line 316) | def get_interval_data(a_name): function print_scenario_data (line 321) | def print_scenario_data(scen_type, scen_attributes): function save_scenario (line 327) | def save_scenario(filename, route_id, scenario_type, scenario_attributes): function prettify_and_save_tree (line 390) | def prettify_and_save_tree(filename, tree): function main (line 423) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/scenario_orderer.py function order_saved_scenarios (line 229) | def order_saved_scenarios(filename, route_id, tmap, grp): function main (line 323) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/scripts/weather_creator.py function main (line 13) | def main(): FILE: close_loop/SparseDrive_MomAD/leaderboard/team_code/pid_controller.py class PID (line 4) | class PID(object): method __init__ (line 5) | def __init__(self, K_P=1.0, K_I=0.0, K_D=0.0, n=20): method step (line 14) | def step(self, error): class PIDController (line 30) | class PIDController(object): method __init__ (line 32) | def __init__(self, turn_KP=0.75, turn_KI=0.75, turn_KD=0.3, turn_n=40,... method control_pid (line 44) | def control_pid(self, waypoints, speed, target): FILE: close_loop/SparseDrive_MomAD/leaderboard/team_code/planner.py class Plotter (line 12) | class Plotter(object): method __init__ (line 13) | def __init__(self, size): method clear (line 18) | def clear(self): method dot (line 24) | def dot(self, pos, node, color=(255, 255, 255), r=2): method show (line 31) | def show(self): class RoutePlanner (line 41) | class RoutePlanner(object): method __init__ (line 42) | def __init__(self, min_distance, max_distance, debug_size=256, lat_ref... method set_route (line 57) | def set_route(self, global_plan, gps=False, global_plan_world = None): method run_step (line 83) | def run_step(self, gps): method gps_to_location (line 120) | def gps_to_location(self, gps): FILE: close_loop/SparseDrive_MomAD/leaderboard/team_code/sparsedrive_b2d_agent.py function get_entry_point (line 47) | def get_entry_point(): class Clock (line 50) | class Clock(): method __init__ (line 51) | def __init__(self): method count (line 55) | def count(self, tag): class SparseDriveAgent (line 64) | class SparseDriveAgent(autonomous_agent.AutonomousAgent): method setup (line 65) | def setup(self, path_to_conf_file, gpu_rank, save_name): method _init (line 240) | def _init(self): method sensors (line 261) | def sensors(self): method tick (line 356) | def tick(self, input_data): method run_step (line 396) | def run_step(self, input_data, timestamp): method save (line 537) | def save(self, tick_data): method destroy (line 581) | def destroy(self): method gps_to_location (line 585) | def gps_to_location(self, gps): method get_augmentation (line 596) | def get_augmentation(self): method invert_pose (line 622) | def invert_pose(self, pose): function draw (line 628) | def draw(input, step, cfg): FILE: close_loop/SparseDrive_MomAD/leaderboard/team_code/uniad_b2d_agent.py function get_entry_point (line 30) | def get_entry_point(): class UniadAgent (line 33) | class UniadAgent(autonomous_agent.AutonomousAgent): method setup (line 34) | def setup(self, path_to_conf_file): method _init (line 169) | def _init(self): method sensors (line 191) | def sensors(self): method tick (line 272) | def tick(self, input_data): method run_step (line 311) | def run_step(self, input_data, timestamp): method save (line 402) | def save(self, tick_data): method destroy (line 420) | def destroy(self): method gps_to_location (line 424) | def gps_to_location(self, gps): FILE: close_loop/SparseDrive_MomAD/leaderboard/team_code/vad_b2d_agent.py function get_entry_point (line 33) | def get_entry_point(): class VadAgent (line 37) | class VadAgent(autonomous_agent.AutonomousAgent): method setup (line 38) | def setup(self, path_to_conf_file): method _init (line 173) | def _init(self): method sensors (line 196) | def sensors(self): method tick (line 275) | def tick(self, input_data): method run_step (line 315) | def run_step(self, input_data, timestamp): method save (line 437) | def save(self, tick_data): method destroy (line 457) | def destroy(self): method gps_to_location (line 461) | def gps_to_location(self, gps): FILE: close_loop/SparseDrive_MomAD/leaderboard/team_code/vad_b2d_agent_visualize.py function float_to_uint8_color (line 35) | def float_to_uint8_color(float_clr): function get_entry_point (line 54) | def get_entry_point(): class VadAgent (line 58) | class VadAgent(autonomous_agent.AutonomousAgent): method setup (line 59) | def setup(self, path_to_conf_file): method _init (line 201) | def _init(self): method sensors (line 223) | def sensors(self): method tick (line 302) | def tick(self, input_data): method run_step (line 342) | def run_step(self, input_data, timestamp): method save (line 453) | def save(self, tick_data,ego_traj,result=None): method draw_traj (line 468) | def draw_traj(self, traj, raw_img,canvas_size=(900,1600),thickness=3,i... method draw_traj_bev (line 501) | def draw_traj_bev(self, traj, raw_img,canvas_size=(512,512),thickness=... method draw_lidar_bbox3d_on_img (line 534) | def draw_lidar_bbox3d_on_img(self,bboxes3d,raw_img,lidar2img_rt,canvas... method plot_rect3d_on_img (line 592) | def plot_rect3d_on_img(self,img,num_rects,rect_corners,scores=None,lab... method destroy (line 616) | def destroy(self): method gps_to_location (line 620) | def gps_to_location(self, gps): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/apis/mmdet_train.py function custom_train_detector (line 38) | def custom_train_detector( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/apis/test.py function custom_encode_mask_results (line 26) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 49) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 122) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 170) | def collect_results_gpu(result_part, size): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/apis/train.py function custom_train_model (line 12) | def custom_train_model( function train_model (line 40) | def train_model( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/core/evaluation/eval_hooks.py function _calc_dynamic_intervals (line 16) | def _calc_dynamic_intervals(start_interval, dynamic_interval_list): class CustomDistEvalHook (line 30) | class CustomDistEvalHook(BaseDistEvalHook): method __init__ (line 31) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 40) | def _decide_interval(self, runner): method before_train_epoch (line 47) | def before_train_epoch(self, runner): method before_train_iter (line 52) | def before_train_iter(self, runner): method _do_evaluate (line 56) | def _do_evaluate(self, runner): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/b2d_3d_dataset.py class B2D3DDataset (line 43) | class B2D3DDataset(Dataset): method __init__ (line 76) | def __init__( method __len__ (line 158) | def __len__(self): method _set_sequence_group_flag (line 161) | def _set_sequence_group_flag(self): method get_augmentation (line 220) | def get_augmentation(self): method __getitem__ (line 266) | def __getitem__(self, idx): method load_annotations (line 277) | def load_annotations(self, ann_file): method anno2geom (line 282) | def anno2geom(self, annos): method get_data_info (line 291) | def get_data_info(self, index): method get_ann_info (line 349) | def get_ann_info(self, index): method get_fut_agent (line 453) | def get_fut_agent(self, idx, sample_rate, frames): method get_ego_trajs (line 493) | def get_ego_trajs(self,idx,sample_rate,past_frames,future_frames): method command2hot (line 526) | def command2hot(self,command,max_dim=6): method invert_pose (line 534) | def invert_pose(self, pose): method _format_bbox (line 540) | def _format_bbox(self, results, jsonfile_prefix=None, tracking=False): method _evaluate_single (line 581) | def _evaluate_single( method load_gt (line 658) | def load_gt(self): method format_results (line 687) | def format_results(self, results, jsonfile_prefix=None, tracking=False): method format_map_results (line 715) | def format_map_results(self, results, prefix=None): method format_motion_results (line 755) | def format_motion_results(self, results, jsonfile_prefix=None, trackin... method _evaluate_single_motion (line 842) | def _evaluate_single_motion(self, method evaluate (line 894) | def evaluate( method show (line 999) | def show(self, results, save_dir=None, show=False, pipeline=None): function get_T_global (line 1109) | def get_T_global(info): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/builder.py function build_dataloader (line 21) | def build_dataloader( function worker_init_fn (line 126) | def worker_init_fn(worker_id, num_workers, rank, seed): function custom_build_dataset (line 154) | def custom_build_dataset(cfg, default_args=None): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/detection/nuscenes_styled_eval_utils.py function center_distance (line 8) | def center_distance(gt_box, pred_box) -> float: function velocity_l2 (line 18) | def velocity_l2(gt_box, pred_box) -> float: function yaw_diff (line 29) | def yaw_diff(gt_box, eval_box, period: float = 2*np.pi) -> float: function angle_diff (line 43) | def angle_diff(x: float, y: float, period: float) -> float: function attr_acc (line 60) | def attr_acc(gt_box, pred_box) -> float: function scale_iou (line 79) | def scale_iou(sample_annotation, sample_result) -> float: function quaternion_yaw (line 105) | def quaternion_yaw(q: Quaternion) -> float: function cummean (line 124) | def cummean(x: np.array) -> np.array: class DetectionMetricData (line 140) | class DetectionMetricData(abc.ABC): method __init__ (line 145) | def __init__(self, method __eq__ (line 179) | def __eq__(self, other): method max_recall_ind (line 186) | def max_recall_ind(self): method max_recall (line 199) | def max_recall(self): method serialize (line 204) | def serialize(self): method deserialize (line 218) | def deserialize(cls, content: dict): method no_predictions (line 230) | def no_predictions(cls): method random_md (line 242) | def random_md(cls): class DetectionMetricDataList (line 254) | class DetectionMetricDataList: method __init__ (line 257) | def __init__(self): method __getitem__ (line 260) | def __getitem__(self, key): method __eq__ (line 263) | def __eq__(self, other): method get_class_data (line 269) | def get_class_data(self, detection_name: str) -> List[Tuple[DetectionM... method get_dist_data (line 273) | def get_dist_data(self, dist_th: float) -> List[Tuple[DetectionMetricD... method set (line 277) | def set(self, detection_name: str, match_distance: float, data: Detect... method serialize (line 281) | def serialize(self) -> dict: method deserialize (line 285) | def deserialize(cls, content: dict): class DetectionMetrics (line 292) | class DetectionMetrics: method __init__ (line 295) | def __init__(self, cfg: dict): method add_label_ap (line 302) | def add_label_ap(self, detection_name: str, dist_th: float, ap: float)... method get_label_ap (line 305) | def get_label_ap(self, detection_name: str, dist_th: float) -> float: method add_label_tp (line 308) | def add_label_tp(self, detection_name: str, metric_name: str, tp: float): method get_label_tp (line 311) | def get_label_tp(self, detection_name: str, metric_name: str) -> float: method add_runtime (line 314) | def add_runtime(self, eval_time: float) -> None: method mean_dist_aps (line 318) | def mean_dist_aps(self) -> Dict[str, float]: method mean_ap (line 323) | def mean_ap(self) -> float: method tp_errors (line 328) | def tp_errors(self) -> Dict[str, float]: method tp_scores (line 341) | def tp_scores(self) -> Dict[str, float]: method nd_score (line 357) | def nd_score(self) -> float: method serialize (line 371) | def serialize(self): method deserialize (line 385) | def deserialize(cls, content: dict): method __eq__ (line 402) | def __eq__(self, other): class DetectionBox (line 412) | class DetectionBox(abc.ABC): method __init__ (line 415) | def __init__(self, method __eq__ (line 447) | def __eq__(self, other): method serialize (line 459) | def serialize(self) -> dict: method deserialize (line 475) | def deserialize(cls, content: dict): method ego_dist (line 489) | def ego_dist(self) -> float: class EvalBoxes (line 497) | class EvalBoxes: method __init__ (line 500) | def __init__(self): method __repr__ (line 506) | def __repr__(self): method __getitem__ (line 509) | def __getitem__(self, item) -> List[DetectionBox]: method __eq__ (line 512) | def __eq__(self, other): method __len__ (line 523) | def __len__(self): method all (line 527) | def all(self) -> List[DetectionBox]: method sample_tokens (line 535) | def sample_tokens(self) -> List[str]: method add_boxes (line 539) | def add_boxes(self, sample_token: str, boxes: List[DetectionBox]) -> N... method serialize (line 543) | def serialize(self) -> dict: method deserialize (line 548) | def deserialize(cls, content: dict, box_cls): function accumulate (line 560) | def accumulate(gt_boxes, function calc_ap (line 716) | def calc_ap(md: DetectionMetricData, min_recall: float, min_precision: f... function calc_tp (line 729) | def calc_tp(md: DetectionMetricData, min_recall: float, metric_name: str... function quaternion_yaw (line 740) | def quaternion_yaw(q: Quaternion) -> float: FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/map/AP.py function average_precision (line 6) | def average_precision(recalls, precisions, mode='area'): function instance_match (line 51) | def instance_match(pred_lines: NDArray, FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/map/distance.py function chamfer_distance (line 5) | def chamfer_distance(line1: NDArray, line2: NDArray) -> float: function frechet_distance (line 23) | def frechet_distance(line1: NDArray, line2: NDArray) -> float: function chamfer_distance_batch (line 37) | def chamfer_distance_batch(pred_lines, gt_lines): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/map/vector_eval.py class VectorEvaluate (line 23) | class VectorEvaluate(object): method __init__ (line 31) | def __init__(self, dataset_cfg: Config, n_workers: int=N_WORKERS) -> N... method gts (line 42) | def gts(self) -> Dict[str, Dict[int, List[NDArray]]]: method interp_fixed_num (line 55) | def interp_fixed_num(self, method interp_fixed_dist (line 74) | def interp_fixed_dist(self, method _evaluate_single (line 96) | def _evaluate_single(self, method evaluate (line 146) | def evaluate(self, FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/motion/motion_eval_uniad.py class MotionEval (line 33) | class MotionEval: method __init__ (line 53) | def __init__(self, method evaluate (line 111) | def evaluate(self) -> Tuple[DetectionMetrics, DetectionMetricDataList]: method render (line 147) | def render(self, metrics: DetectionMetrics, md_list: DetectionMetricDa... method main (line 173) | def main(self, class NuScenesEval (line 207) | class NuScenesEval(MotionEval): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/motion/motion_utils.py class MotionBox (line 44) | class MotionBox(DetectionBox): method __init__ (line 47) | def __init__(self, method __eq__ (line 77) | def __eq__(self, other): method serialize (line 90) | def serialize(self) -> dict: method deserialize (line 107) | def deserialize(cls, content: dict): function load_prediction (line 123) | def load_prediction(result_path: str, max_boxes_per_sample: int, box_cls... function load_gt (line 164) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function accumulate (line 314) | def accumulate(gt_boxes: EvalBoxes, function prediction_metrics (line 490) | def prediction_metrics(gt_box_match, pred_box, miss_thresh=2): function traj_fde (line 507) | def traj_fde(gt_box, pred_box, final_step): class MotionMetricDataList (line 518) | class MotionMetricDataList(DetectionMetricDataList): method deserialize (line 521) | def deserialize(cls, content: dict): class MotionMetricData (line 528) | class MotionMetricData(DetectionMetricData): method __init__ (line 533) | def __init__(self, method __eq__ (line 561) | def __eq__(self, other): method max_recall_ind (line 568) | def max_recall_ind(self): method max_recall (line 581) | def max_recall(self): method serialize (line 586) | def serialize(self): method deserialize (line 598) | def deserialize(cls, content: dict): method no_predictions (line 608) | def no_predictions(cls): method random_md (line 618) | def random_md(cls): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py function check_collision (line 13) | def check_collision(ego_box, boxes): function get_yaw (line 35) | def get_yaw(traj): class PlanningMetric (line 55) | class PlanningMetric(): method __init__ (line 56) | def __init__( method reset (line 67) | def reset(self): method evaluate_single_coll (line 73) | def evaluate_single_coll(self, traj, fut_boxes): method evaluate_coll (line 88) | def evaluate_coll(self, trajs, gt_trajs, fut_boxes): method compute_L2 (line 107) | def compute_L2(self, trajs, gt_trajs, gt_trajs_mask): method update (line 114) | def update(self, trajs, gt_trajs, gt_trajs_mask, fut_boxes): method compute (line 126) | def compute(self): function planning_eval (line 134) | def planning_eval(results, eval_config, logger): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/map_utils/nuscmap_extractor.py class NuscMapExtractor (line 13) | class NuscMapExtractor(object): method __init__ (line 20) | def __init__(self, data_root: str, roi_size: Union[List, Tuple]) -> None: method _union_ped (line 36) | def _union_ped(self, ped_geoms: List[Polygon]) -> List[Polygon]: method get_map_geom (line 87) | def get_map_geom(self, FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/map_utils/utils.py function split_collections (line 9) | def split_collections(geom: BaseGeometry) -> List[Optional[BaseGeometry]]: function get_drivable_area_contour (line 32) | def get_drivable_area_contour(drivable_areas: List[Polygon], function get_ped_crossing_contour (line 85) | def get_ped_crossing_contour(polygon: Polygon, FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/nuscenes_3d_dataset.py class NuScenes3DDataset (line 30) | class NuScenes3DDataset(Dataset): method __init__ (line 80) | def __init__( method __len__ (line 154) | def __len__(self): method _set_sequence_group_flag (line 157) | def _set_sequence_group_flag(self): method get_augmentation (line 214) | def get_augmentation(self): method __getitem__ (line 260) | def __getitem__(self, idx): method get_cat_ids (line 271) | def get_cat_ids(self, idx): method load_annotations (line 285) | def load_annotations(self, ann_file): method anno2geom (line 294) | def anno2geom(self, annos): method get_data_info (line 303) | def get_data_info(self, index): method get_ann_info (line 376) | def get_ann_info(self, index): method _format_bbox (line 449) | def _format_bbox(self, results, jsonfile_prefix=None, tracking=False): method _evaluate_single (line 533) | def _evaluate_single( method format_results (line 623) | def format_results(self, results, jsonfile_prefix=None, tracking=False): method format_map_results (line 651) | def format_map_results(self, results, prefix=None): method format_motion_results (line 691) | def format_motion_results(self, results, jsonfile_prefix=None, trackin... method _evaluate_single_motion (line 778) | def _evaluate_single_motion(self, method evaluate (line 830) | def evaluate( method show (line 935) | def show(self, results, save_dir=None, show=False, pipeline=None): function output_to_nusc_box (line 1045) | def output_to_nusc_box(detection, threshold=None): function lidar_nusc_box_to_global (line 1098) | def lidar_nusc_box_to_global( function get_T_global (line 1125) | def get_T_global(info): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/pipelines/augment.py class ResizeCropFlipImage (line 11) | class ResizeCropFlipImage(object): method __init__ (line 12) | def __init__(self, use_generated_img=False): method __call__ (line 15) | def __call__(self, results): method _img_transform (line 38) | def _img_transform(self, img, aug_configs): class BBoxRotation (line 89) | class BBoxRotation(object): method __call__ (line 90) | def __call__(self, results): method box_rotate (line 119) | def box_rotate(bbox_3d, angle): class PhotoMetricDistortionMultiViewImage (line 134) | class PhotoMetricDistortionMultiViewImage: method __init__ (line 153) | def __init__( method __call__ (line 165) | def __call__(self, results): method __repr__ (line 229) | def __repr__(self): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/pipelines/loading.py class LoadMultiViewImageFromFiles (line 7) | class LoadMultiViewImageFromFiles(object): method __init__ (line 19) | def __init__(self, to_float32=False, color_type="unchanged"): method __call__ (line 23) | def __call__(self, results): method __repr__ (line 65) | def __repr__(self): class LoadPointsFromFile (line 74) | class LoadPointsFromFile(object): method __init__ (line 100) | def __init__( method _load_points (line 124) | def _load_points(self, pts_filename): method __call__ (line 147) | def __call__(self, results): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/pipelines/transform.py class DenseDepthMapGenerator (line 12) | class DenseDepthMapGenerator(object): method __init__ (line 13) | def __init__(self, downsample=1, max_depth=60): method __call__ (line 19) | def __call__(self, input_dict): method decode (line 74) | def decode(self, depth): method _img_transform (line 79) | def _img_transform(self, img, aug_configs): class MultiScaleDepthMapGenerator (line 110) | class MultiScaleDepthMapGenerator(object): method __init__ (line 111) | def __init__(self, downsample=1, max_depth=60): method __call__ (line 117) | def __call__(self, input_dict): class NuScenesSparse4DAdaptor (line 160) | class NuScenesSparse4DAdaptor(object): method __init (line 161) | def __init(self): method __call__ (line 164) | def __call__(self, input_dict): method limit_period (line 221) | def limit_period( class InstanceNameFilter (line 229) | class InstanceNameFilter(object): method __init__ (line 236) | def __init__(self, classes): method __call__ (line 240) | def __call__(self, input_dict): method __repr__ (line 263) | def __repr__(self): class CircleObjectRangeFilter (line 271) | class CircleObjectRangeFilter(object): method __init__ (line 272) | def __init__( method __call__ (line 277) | def __call__(self, input_dict): method __repr__ (line 302) | def __repr__(self): class NormalizeMultiviewImage (line 310) | class NormalizeMultiviewImage(object): method __init__ (line 320) | def __init__(self, mean, std, to_rgb=True): method __call__ (line 325) | def __call__(self, results): method __repr__ (line 342) | def __repr__(self): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/pipelines/vectorize.py class VectorizeMap (line 12) | class VectorizeMap(object): method __init__ (line 27) | def __init__(self, method interp_fixed_num (line 53) | def interp_fixed_num(self, line: LineString) -> NDArray: method interp_fixed_dist (line 69) | def interp_fixed_dist(self, line: LineString) -> NDArray: method get_vectorized_lines (line 88) | def get_vectorized_lines(self, map_geoms: Dict) -> Dict: method normalize_line (line 125) | def normalize_line(self, line: NDArray) -> NDArray: method permute_line (line 145) | def permute_line(self, line: np.ndarray, padding=1e5): method __call__ (line 180) | def __call__(self, input_dict): method __repr__ (line 199) | def __repr__(self): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/samplers/distributed_sampler.py class ForkedPdb (line 11) | class ForkedPdb(pdb.Pdb): method interaction (line 12) | def interaction(self, *args, **kwargs): function set_trace (line 21) | def set_trace(): class DistributedSampler (line 26) | class DistributedSampler(_DistributedSampler): method __init__ (line 27) | def __init__( method __iter__ (line 36) | def __iter__(self): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/samplers/group_in_batch_sampler.py function sync_random_seed (line 13) | def sync_random_seed(seed=None, device="cuda"): class GroupInBatchSampler (line 48) | class GroupInBatchSampler(Sampler): method __init__ (line 57) | def __init__( method _infinite_group_indices (line 109) | def _infinite_group_indices(self): method _group_indices_per_global_sample_idx (line 115) | def _group_indices_per_global_sample_idx(self, global_sample_idx): method __iter__ (line 123) | def __iter__(self): method __len__ (line 173) | def __len__(self): method set_epoch (line 177) | def set_epoch(self, epoch): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/samplers/group_sampler.py class DistributedGroupSampler (line 14) | class DistributedGroupSampler(Sampler): method __init__ (line 32) | def __init__( method __iter__ (line 66) | def __iter__(self): method __len__ (line 115) | def __len__(self): method set_epoch (line 118) | def set_epoch(self, epoch): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/samplers/sampler.py function build_sampler (line 6) | def build_sampler(cfg, default_args): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/datasets/utils.py function box3d_to_corners (line 10) | def box3d_to_corners(box3d): function plot_rect3d_on_img (line 32) | def plot_rect3d_on_img( function draw_lidar_bbox3d_on_img (line 94) | def draw_lidar_bbox3d_on_img( function draw_points_on_img (line 130) | def draw_points_on_img(points, img, lidar2img_rt, color=(0, 255, 0), cir... function draw_lidar_bbox3d_on_bev (line 155) | def draw_lidar_bbox3d_on_bev( function draw_lidar_bbox3d (line 207) | def draw_lidar_bbox3d(bboxes_3d, imgs, lidar2imgs, color=(255, 0, 0)): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/MomAD.py class MomAD (line 27) | class MomAD(BaseDetector): method __init__ (line 28) | def __init__( method extract_feat (line 81) | def extract_feat(self, img, return_depth=False, metas=None): method forward (line 111) | def forward(self, img, **data): method forward_train (line 117) | def forward_train(self, img, **data): method forward_test (line 128) | def forward_test(self, img, **data): method simple_test (line 134) | def simple_test(self, img, **data): method aug_test (line 143) | def aug_test(self, img, **data): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/MomAD_head.py class MomADHead (line 14) | class MomADHead(BaseModule): method __init__ (line 15) | def __init__( method init_weights (line 33) | def init_weights(self): method forward (line 41) | def forward( method loss (line 71) | def loss(self, model_outs, data): method post_process (line 96) | def post_process(self, model_outs, data): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/attention.py function _in_projection_packed (line 27) | def _in_projection_packed(q, k, v, w, b = None): class FlashAttention (line 36) | class FlashAttention(nn.Module): method __init__ (line 46) | def __init__(self, softmax_scale=None, attention_dropout=0.0, device=N... method forward (line 53) | def forward(self, q, kv, class FlashMHA (line 101) | class FlashMHA(nn.Module): method __init__ (line 103) | def __init__(self, embed_dim, num_heads, bias=True, batch_first=True, ... method _reset_parameters (line 126) | def _reset_parameters(self) -> None: method forward (line 132) | def forward(self, q, k, v, key_padding_mask=None): class MultiheadFlashAttention (line 147) | class MultiheadFlashAttention(BaseModule): method __init__ (line 167) | def __init__(self, method forward (line 204) | def forward(self, function gen_sineembed_for_position (line 288) | def gen_sineembed_for_position(pos_tensor, hidden_dim=256): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/base_target.py class BaseTargetWithDenoising (line 7) | class BaseTargetWithDenoising(ABC): method __init__ (line 8) | def __init__(self, num_dn_groups=0, num_temp_dn_groups=0): method sample (line 15) | def sample(self, cls_pred, box_pred, cls_target, box_target): method get_dn_anchors (line 22) | def get_dn_anchors(self, cls_target, box_target, *args, **kwargs): method update_dn (line 29) | def update_dn(self, instance_feature, anchor, *args, **kwargs): method cache_dn (line 35) | def cache_dn( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/blocks.py function linear_relu_ln (line 32) | def linear_relu_ln(embed_dims, in_loops, out_loops, input_dims=None): class DeformableFeatureAggregation (line 46) | class DeformableFeatureAggregation(BaseModule): method __init__ (line 47) | def __init__( method init_weight (line 106) | def init_weight(self): method forward (line 110) | def forward( method _get_weights (line 164) | def _get_weights(self, instance_feature, anchor_embed, metas=None): method project_points (line 199) | def project_points(key_points, projection_mat, image_wh=None): method feature_sampling (line 216) | def feature_sampling( method multi_view_level_fusion (line 248) | def multi_view_level_fusion( class DenseDepthNet (line 265) | class DenseDepthNet(BaseModule): method __init__ (line 266) | def __init__( method forward (line 287) | def forward(self, feature_maps, focal=None, gt_depths=None): method loss (line 303) | def loss(self, depth_preds, gt_depths): class AsymmetricFFN (line 326) | class AsymmetricFFN(BaseModule): method __init__ (line 327) | def __init__( method forward (line 384) | def forward(self, x, identity=None): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/detection3d/decoder.py function decode_box (line 9) | def decode_box(box): class SparseBox3DDecoder (line 24) | class SparseBox3DDecoder(object): method __init__ (line 25) | def __init__( method decode (line 36) | def decode( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/detection3d/detection3d_blocks.py class SparseBox3DEncoder (line 24) | class SparseBox3DEncoder(BaseModule): method __init__ (line 25) | def __init__( method forward (line 57) | def forward(self, box_3d: torch.Tensor): class SparseBox3DRefinementModule (line 78) | class SparseBox3DRefinementModule(BaseModule): method __init__ (line 79) | def __init__( method init_weight (line 118) | def init_weight(self): method forward (line 123) | def forward( class SparseBox3DKeyPointsGenerator (line 160) | class SparseBox3DKeyPointsGenerator(BaseModule): method __init__ (line 161) | def __init__( method init_weight (line 179) | def init_weight(self): method forward (line 183) | def forward( method anchor_projection (line 251) | def anchor_projection( method distance (line 299) | def distance(anchor): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/detection3d/detection3d_head.py class Sparse4DHead (line 28) | class Sparse4DHead(BaseModule): method __init__ (line 29) | def __init__( method init_weights (line 128) | def init_weights(self): method graph_model (line 140) | def graph_model( method forward (line 168) | def forward( method loss (line 414) | def loss(self, model_outs, data, feature_maps=None): method prepare_for_dn_loss (line 524) | def prepare_for_dn_loss(self, model_outs, prefix=""): method post_process (line 551) | def post_process(self, model_outs, output_idx=-1): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/detection3d/losses.py class SparseBox3DLoss (line 11) | class SparseBox3DLoss(nn.Module): method __init__ (line 12) | def __init__( method forward (line 31) | def forward( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/detection3d/target.py class SparseBox3DTarget (line 16) | class SparseBox3DTarget(BaseTargetWithDenoising): method __init__ (line 17) | def __init__( method encode_reg_target (line 48) | def encode_reg_target(self, box_target, device=None): method sample (line 66) | def sample( method _cls_cost (line 122) | def _cls_cost(self, cls_pred, cls_target): method _box_cost (line 146) | def _box_cost(self, box_pred, box_target, instance_reg_weights): method get_dn_anchors (line 164) | def get_dn_anchors(self, cls_target, box_target, gt_instance_id=None): method update_dn (line 295) | def update_dn( method cache_dn (line 398) | def cache_dn( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/grid_mask.py class Grid (line 7) | class Grid(object): method __init__ (line 8) | def __init__( method set_prob (line 20) | def set_prob(self, epoch, max_epoch): method __call__ (line 23) | def __call__(self, img, label): class GridMask (line 75) | class GridMask(nn.Module): method __init__ (line 76) | def __init__( method set_prob (line 89) | def set_prob(self, epoch, max_epoch): method forward (line 92) | def forward(self, x): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/instance_bank.py function topk (line 12) | def topk(confidence, k, *inputs): class InstanceBank (line 25) | class InstanceBank(nn.Module): method __init__ (line 26) | def __init__( method init_weight (line 69) | def init_weight(self): method reset (line 74) | def reset(self): method get (line 84) | def get(self, batch_size, metas=None, dn_metas=None): method update (line 148) | def update(self, instance_feature, anchor, confidence): method cache (line 195) | def cache( method get_instance_id (line 223) | def get_instance_id(self, confidence, anchor=None, threshold=None): method update_instance_id (line 243) | def update_instance_id(self, instance_id=None, confidence=None): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/map/decoder.py class SparsePoint3DDecoder (line 9) | class SparsePoint3DDecoder(object): method __init__ (line 10) | def __init__( method decode (line 19) | def decode( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/map/loss.py class LinesL1Loss (line 10) | class LinesL1Loss(nn.Module): method __init__ (line 12) | def __init__(self, reduction='mean', loss_weight=1.0, beta=0.5): method forward (line 26) | def forward(self, class SparseLineLoss (line 66) | class SparseLineLoss(nn.Module): method __init__ (line 67) | def __init__( method forward (line 84) | def forward( method normalize_line (line 105) | def normalize_line(self, line): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/map/map_blocks.py class SparsePoint3DEncoder (line 20) | class SparsePoint3DEncoder(BaseModule): method __init__ (line 21) | def __init__( method forward (line 35) | def forward(self, anchor: torch.Tensor): class SparsePoint3DRefinementModule (line 41) | class SparsePoint3DRefinementModule(BaseModule): method __init__ (line 42) | def __init__( method init_weight (line 69) | def init_weight(self): method forward (line 74) | def forward( class SparsePoint3DKeyPointsGenerator (line 94) | class SparsePoint3DKeyPointsGenerator(BaseModule): method __init__ (line 95) | def __init__( method init_weight (line 114) | def init_weight(self): method forward (line 118) | def forward( method anchor_projection (line 173) | def anchor_projection( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/map/match_cost.py class LinesL1Cost (line 8) | class LinesL1Cost(object): method __init__ (line 14) | def __init__(self, weight=1.0, beta=0.0, permute=False): method __call__ (line 19) | def __call__(self, lines_pred, gt_lines, **kwargs): class MapQueriesCost (line 62) | class MapQueriesCost(object): method __init__ (line 64) | def __init__(self, cls_cost, reg_cost, iou_cost=None): method __call__ (line 73) | def __call__(self, preds: dict, gts: dict, ignore_cls_cost: bool): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/map/target.py class SparsePoint3DTarget (line 15) | class SparsePoint3DTarget(BaseTargetWithDenoising): method __init__ (line 16) | def __init__( method sample (line 40) | def sample( method normalize_line (line 74) | def normalize_line(self, line): class HungarianLinesAssigner (line 93) | class HungarianLinesAssigner(BaseAssigner): method __init__ (line 112) | def __init__(self, cost=dict, **kwargs): method assign (line 115) | def assign(self, FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/decoder.py class SparseBox3DMotionDecoder (line 14) | class SparseBox3DMotionDecoder(SparseBox3DDecoder): method __init__ (line 15) | def __init__(self): method decode (line 18) | def decode( class HierarchicalPlanningDecoder (line 111) | class HierarchicalPlanningDecoder(object): method __init__ (line 112) | def __init__( method decode (line 125) | def decode( method select (line 155) | def select( method rescore (line 192) | def rescore( function check_collision (line 283) | def check_collision(boxes1, boxes2): function corners_in_box (line 297) | def corners_in_box(boxes1, boxes2): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/instance_queue.py class InstanceQueue (line 16) | class InstanceQueue(nn.Module): method __init__ (line 17) | def __init__( method reset (line 59) | def reset(self): method get (line 72) | def get( method prepare_motion (line 133) | def prepare_motion( method prepare_planning (line 180) | def prepare_planning( method cache_motion (line 246) | def cache_motion(self, instance_feature, det_output, metas): method cache_planning (line 257) | def cache_planning(self, ego_feature, ego_status): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/motion_blocks.py class MotionPlanningRefinementModule (line 17) | class MotionPlanningRefinementModule(BaseModule): method __init__ (line 18) | def __init__( method init_weight (line 80) | def init_weight(self): method forward (line 85) | def forward( class MotionPlanningClsRefinementModule (line 121) | class MotionPlanningClsRefinementModule(BaseModule): method __init__ (line 122) | def __init__( method init_weight (line 184) | def init_weight(self): method forward (line 189) | def forward( class MotionPlanning2thRefinementModule (line 206) | class MotionPlanning2thRefinementModule(BaseModule): method __init__ (line 207) | def __init__( method init_weight (line 254) | def init_weight(self): method forward (line 259) | def forward( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/motion_planning_cls_head.py class MotionPlanningClsHead (line 34) | class MotionPlanningClsHead(BaseModule): method __init__ (line 35) | def __init__( method init_weights (line 152) | def init_weights(self): method get_motion_anchor (line 164) | def get_motion_anchor( method _agent2lidar (line 174) | def _agent2lidar(self, trajs, boxes): method graph_model (line 188) | def graph_model( method forward (line 216) | def forward( method loss (line 381) | def loss(self, method loss_motion (line 395) | def loss_motion(self, model_outs, data, motion_loss_cache): method loss_planning (line 442) | def loss_planning(self, model_outs, data): method post_process (line 479) | def post_process( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/motion_planning_head.py class MotionPlanningHead (line 34) | class MotionPlanningHead(BaseModule): method __init__ (line 35) | def __init__( method init_weights (line 152) | def init_weights(self): method get_motion_anchor (line 164) | def get_motion_anchor( method _agent2lidar (line 174) | def _agent2lidar(self, trajs, boxes): method graph_model (line 188) | def graph_model( method forward (line 216) | def forward( method loss (line 372) | def loss(self, method loss_motion (line 386) | def loss_motion(self, model_outs, data, motion_loss_cache): method loss_planning (line 433) | def loss_planning(self, model_outs, data): method post_process (line 482) | def post_process( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/motion_planning_head_MomAD.py class MLP (line 36) | class MLP(nn.Module): method __init__ (line 37) | def __init__(self, in_channels, hidden_unit, verbose=False): method forward (line 45) | def forward(self, x): class LaneNet (line 49) | class LaneNet(nn.Module): method __init__ (line 50) | def __init__(self, in_channels, hidden_unit, num_subgraph_layers): method forward (line 59) | def forward(self, pts_lane_feats): class MomADMotionPlanningHead (line 83) | class MomADMotionPlanningHead(BaseModule): method __init__ (line 84) | def __init__( method init_weights (line 209) | def init_weights(self): method get_motion_anchor (line 221) | def get_motion_anchor( method _agent2lidar (line 231) | def _agent2lidar(self, trajs, boxes): method graph_model (line 245) | def graph_model( method forward (line 273) | def forward( method select_best_reg (line 463) | def select_best_reg(self, reg_preds, reg_target): method loss (line 476) | def loss(self, method loss_motion (line 492) | def loss_motion(self, model_outs, data, motion_loss_cache): method loss_planning (line 539) | def loss_planning(self, model_outs, data): method loss_planning_refined (line 588) | def loss_planning_refined(self, model_outs, data): method post_process (line 637) | def post_process( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/motion/target.py function get_cls_target (line 8) | def get_cls_target( function get_best_reg (line 22) | def get_best_reg( class MotionTarget (line 40) | class MotionTarget(): method __init__ (line 41) | def __init__( method sample (line 46) | def sample( class PlanningTarget (line 73) | class PlanningTarget(): method __init__ (line 74) | def __init__( method sample (line 85) | def sample( class ClsPlanningTarget (line 112) | class ClsPlanningTarget(): method __init__ (line 113) | def __init__( method sample (line 124) | def sample( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/sparsedrive.py class SparseDrive (line 27) | class SparseDrive(BaseDetector): method __init__ (line 28) | def __init__( method extract_feat (line 81) | def extract_feat(self, img, return_depth=False, metas=None): method forward (line 111) | def forward(self, img, **data): method forward_train (line 117) | def forward_train(self, img, **data): method forward_test (line 127) | def forward_test(self, img, **data): method simple_test (line 133) | def simple_test(self, img, **data): method aug_test (line 141) | def aug_test(self, img, **data): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/models/sparsedrive_head.py class SparseDriveHead (line 14) | class SparseDriveHead(BaseModule): method __init__ (line 15) | def __init__( method init_weights (line 33) | def init_weights(self): method forward (line 41) | def forward( method loss (line 71) | def loss(self, model_outs, data): method post_process (line 96) | def post_process(self, model_outs, data): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/ops/__init__.py function deformable_aggregation_function (line 6) | def deformable_aggregation_function( function feature_maps_format (line 22) | def feature_maps_format(feature_maps, inverse=False): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/ops/deformable_aggregation.py class DeformableAggregationFunction (line 7) | class DeformableAggregationFunction(Function): method forward (line 9) | def forward( method backward (line 41) | def backward(ctx, grad_output): FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/ops/setup.py function make_cuda_ext (line 12) | def make_cuda_ext( FILE: close_loop/SparseDrive_MomAD/mmdet3d_plugin/ops/src/deformable_aggregation.cpp function deformable_aggregation_forward (line 31) | at::Tensor deformable_aggregation_forward( function deformable_aggregation_backward (line 86) | void deformable_aggregation_backward( function PYBIND11_MODULE (line 127) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: close_loop/SparseDrive_MomAD/scenario_runner/manual_control.py function get_actor_display_name (line 105) | def get_actor_display_name(actor, truncate=250): class World (line 114) | class World(object): method __init__ (line 116) | def __init__(self, carla_world, hud, args): method restart (line 138) | def restart(self): method tick (line 173) | def tick(self, clock, wait_for_repetitions): method render (line 185) | def render(self, display): method destroy_sensors (line 189) | def destroy_sensors(self): method destroy (line 194) | def destroy(self): class KeyboardControl (line 214) | class KeyboardControl(object): method __init__ (line 216) | def __init__(self, world, start_in_autopilot): method parse_events (line 225) | def parse_events(self, client, world, clock): method _parse_vehicle_keys (line 335) | def _parse_vehicle_keys(self, keys, milliseconds): method _is_quit_shortcut (line 364) | def _is_quit_shortcut(key): class HUD (line 373) | class HUD(object): method __init__ (line 374) | def __init__(self, width, height): method on_world_tick (line 392) | def on_world_tick(self, timestamp): method tick (line 398) | def tick(self, world, clock): method toggle_info (line 455) | def toggle_info(self): method notification (line 458) | def notification(self, text, seconds=2.0): method error (line 461) | def error(self, text): method render (line 464) | def render(self, display): class FadingText (line 508) | class FadingText(object): method __init__ (line 509) | def __init__(self, font, dim, pos): method set_text (line 516) | def set_text(self, text, color=(255, 255, 255), seconds=2.0): method tick (line 523) | def tick(self, _, clock): method render (line 528) | def render(self, display): class HelpText (line 537) | class HelpText(object): method __init__ (line 539) | def __init__(self, font, width, height): method toggle (line 554) | def toggle(self): method render (line 557) | def render(self, display): class CollisionSensor (line 567) | class CollisionSensor(object): method __init__ (line 568) | def __init__(self, parent_actor, hud): method get_collision_history (line 581) | def get_collision_history(self): method _on_collision (line 588) | def _on_collision(weak_self, event): class LaneInvasionSensor (line 606) | class LaneInvasionSensor(object): method __init__ (line 607) | def __init__(self, parent_actor, hud): method _on_invasion (line 623) | def _on_invasion(weak_self, event): class GnssSensor (line 637) | class GnssSensor(object): method __init__ (line 638) | def __init__(self, parent_actor): method _on_gnss_event (line 652) | def _on_gnss_event(weak_self, event): class IMUSensor (line 665) | class IMUSensor(object): method __init__ (line 666) | def __init__(self, parent_actor): method _IMU_callback (line 683) | def _IMU_callback(weak_self, sensor_data): class RadarSensor (line 704) | class RadarSensor(object): method __init__ (line 705) | def __init__(self, parent_actor): method _Radar_callback (line 730) | def _Radar_callback(weak_self, radar_data): class CameraManager (line 771) | class CameraManager(object): method __init__ (line 772) | def __init__(self, parent_actor, hud): method toggle_camera (line 802) | def toggle_camera(self): method set_sensor (line 806) | def set_sensor(self, index, notify=True, force_respawn=False): method toggle_recording (line 827) | def toggle_recording(self): method render (line 831) | def render(self, display): method _parse_image (line 836) | def _parse_image(weak_self, image): function game_loop (line 884) | def game_loop(args): function main (line 935) | def main(): FILE: close_loop/SparseDrive_MomAD/scenario_runner/metrics_manager.py class MetricsManager (line 31) | class MetricsManager(object): method __init__ (line 37) | def __init__(self, args): method _get_recorder (line 60) | def _get_recorder(self, log): method _get_criteria (line 81) | def _get_criteria(self, criteria_file): method _get_metric_class (line 93) | def _get_metric_class(self, metric_file): method _get_recorder_map (line 116) | def _get_recorder_map(self, recorder_str): function main (line 127) | def main(): FILE: close_loop/SparseDrive_MomAD/scenario_runner/no_rendering_mode.py function get_actor_display_name (line 157) | def get_actor_display_name(actor, truncate=250): class Util (line 162) | class Util(object): method blits (line 165) | def blits(destination_surface, source_surfaces, rect=None, blend_mode=0): method length (line 170) | def length(v): method get_bounding_box (line 174) | def get_bounding_box(actor): class ModuleManager (line 191) | class ModuleManager(object): method __init__ (line 192) | def __init__(self): method register_module (line 195) | def register_module(self, module): method clear_modules (line 198) | def clear_modules(self): method tick (line 201) | def tick(self, clock): method render (line 206) | def render(self, display): method get_module (line 211) | def get_module(self, name): method start_modules (line 216) | def start_modules(self): class FadingText (line 226) | class FadingText(object): method __init__ (line 227) | def __init__(self, font, dim, pos): method set_text (line 234) | def set_text(self, text, color=COLOR_WHITE, seconds=2.0): method tick (line 241) | def tick(self, clock): method render (line 246) | def render(self, display): class HelpText (line 255) | class HelpText(object): method __init__ (line 256) | def __init__(self, font, width, height): method toggle (line 270) | def toggle(self): method render (line 273) | def render(self, display): class ModuleHUD (line 283) | class ModuleHUD (object): method __init__ (line 285) | def __init__(self, name, width, height): method start (line 291) | def start(self): method _init_hud_params (line 294) | def _init_hud_params(self): method _init_data_params (line 306) | def _init_data_params(self): method notification (line 311) | def notification(self, text, seconds=2.0): method tick (line 314) | def tick(self, clock): method add_info (line 317) | def add_info(self, module_name, info): method render_vehicles_ids (line 320) | def render_vehicles_ids(self, vehicle_id_surface, list_actors, world_t... method render (line 344) | def render(self, display): class TrafficLightSurfaces (line 396) | class TrafficLightSurfaces(object): method __init__ (line 399) | def __init__(self): method rotozoom (line 424) | def rotozoom(self, angle, scale): class MapImage (line 434) | class MapImage(object): method __init__ (line 435) | def __init__(self, carla_world, carla_map, pixels_per_meter, show_trig... method draw_road_map (line 458) | def draw_road_map(self, map_surface, carla_world, carla_map, world_to_... method world_to_pixel (line 763) | def world_to_pixel(self, location, offset=(0, 0)): method world_to_pixel_width (line 768) | def world_to_pixel_width(self, width): method scale_map (line 771) | def scale_map(self, scale): class ModuleWorld (line 778) | class ModuleWorld(object): method __init__ (line 779) | def __init__(self, name, args, timeout): method _get_data_from_carla (line 819) | def _get_data_from_carla(self): method start (line 836) | def start(self): method select_hero_actor (line 888) | def select_hero_actor(self): method _spawn_hero (line 897) | def _spawn_hero(self): method tick (line 914) | def tick(self, clock): method update_hud_info (line 921) | def update_hud_info(self, clock): method on_world_tick (line 966) | def on_world_tick(weak_self, timestamp): method _split_actors (line 975) | def _split_actors(self): method _render_traffic_lights (line 1009) | def _render_traffic_lights(self, surface, list_tl, world_to_pixel): method _render_speed_limits (line 1039) | def _render_speed_limits(self, surface, list_sl, world_to_pixel, world... method _render_walkers (line 1074) | def _render_walkers(self, surface, list_w, world_to_pixel): method _render_vehicles (line 1090) | def _render_vehicles(self, surface, list_v, world_to_pixel): method render_actors (line 1111) | def render_actors(self, surface, vehicles, traffic_lights, speed_limit... method clip_surfaces (line 1121) | def clip_surfaces(self, clipping_rect): method _compute_scale (line 1126) | def _compute_scale(self, scale_factor): method render (line 1147) | def render(self, display): method destroy (line 1235) | def destroy(self): class ModuleInput (line 1243) | class ModuleInput(object): method __init__ (line 1244) | def __init__(self, name): method start (line 1254) | def start(self): method render (line 1258) | def render(self, display): method tick (line 1261) | def tick(self, clock): method _parse_events (line 1264) | def _parse_events(self): method _parse_keys (line 1327) | def _parse_keys(self, milliseconds): method _parse_mouse (line 1342) | def _parse_mouse(self): method parse_input (line 1349) | def parse_input(self, clock): method _is_quit_shortcut (line 1361) | def _is_quit_shortcut(key): function game_loop (line 1376) | def game_loop(args): function exit_game (line 1418) | def exit_game(): function main (line 1428) | def main(): FILE: close_loop/SparseDrive_MomAD/scenario_runner/scenario_runner.py function get_carla_version (line 38) | def get_carla_version(): function get_carla_version (line 43) | def get_carla_version(): class ScenarioRunner (line 63) | class ScenarioRunner(object): method __init__ (line 93) | def __init__(self, args): method destroy (line 131) | def destroy(self): method _signal_handler (line 144) | def _signal_handler(self, signum, frame): method _get_scenario_class_or_fail (line 152) | def _get_scenario_class_or_fail(self, scenario): method _cleanup (line 180) | def _cleanup(self): method _prepare_ego_vehicles (line 217) | def _prepare_ego_vehicles(self, ego_vehicles): method _analyze_scenario (line 259) | def _analyze_scenario(self, config): method _record_criteria (line 287) | def _record_criteria(self, criteria, name): method _load_and_wait_for_world (line 319) | def _load_and_wait_for_world(self, town, ego_vehicles=None): method _load_and_run_scenario (line 368) | def _load_and_run_scenario(self, config): method _run_scenarios (line 451) | def _run_scenarios(self): method _run_route (line 474) | def _run_route(self): method _run_openscenario (line 490) | def _run_openscenario(self): method run (line 512) | def run(self): function main (line 528) | def main(): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/agent_wrapper.py class AgentWrapper (line 20) | class AgentWrapper(object): method __init__ (line 29) | def __init__(self, agent): method __call__ (line 35) | def __call__(self): method setup_sensors (line 41) | def setup_sensors(self, vehicle, debug_mode=False): method cleanup (line 87) | def cleanup(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/autonomous_agent.py class AutonomousAgent (line 19) | class AutonomousAgent(object): method __init__ (line 25) | def __init__(self, path_to_conf_file): method setup (line 36) | def setup(self, path_to_conf_file): method sensors (line 42) | def sensors(self): # pylint: disable=no-self-use method run_step (line 64) | def run_step(self, input_data, timestamp): method destroy (line 77) | def destroy(self): method __call__ (line 84) | def __call__(self): method set_global_plan (line 100) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/dummy_agent.py class DummyAgent (line 17) | class DummyAgent(AutonomousAgent): method setup (line 23) | def setup(self, path_to_conf_file): method sensors (line 28) | def sensors(self): method run_step (line 61) | def run_step(self, input_data, timestamp): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/human_agent.py class HumanInterface (line 34) | class HumanInterface(object): method __init__ (line 40) | def __init__(self, width, height): method run_interface (line 51) | def run_interface(self, input_data): method quit_interface (line 64) | def quit_interface(self): class HumanAgent (line 71) | class HumanAgent(AutonomousAgent): method setup (line 81) | def setup(self, path_to_conf_file): method sensors (line 94) | def sensors(self): method run_step (line 120) | def run_step(self, input_data, timestamp): method destroy (line 132) | def destroy(self): class KeyboardControl (line 139) | class KeyboardControl(object): method __init__ (line 145) | def __init__(self, path_to_conf_file): method _json_to_control (line 180) | def _json_to_control(self): method parse_events (line 196) | def parse_events(self, timestamp): method _parse_vehicle_keys (line 212) | def _parse_vehicle_keys(self, keys, milliseconds): method _parse_json_control (line 242) | def _parse_json_control(self): method _record_control (line 253) | def _record_control(self): method __del__ (line 272) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/npc_agent.py class NpcAgent (line 19) | class NpcAgent(AutonomousAgent): method setup (line 28) | def setup(self, path_to_conf_file): method sensors (line 34) | def sensors(self): method run_step (line 59) | def run_step(self, input_data, timestamp): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/ros_agent.py class RosAgent (line 40) | class RosAgent(AutonomousAgent): method setup (line 65) | def setup(self, path_to_conf_file): method destroy (line 162) | def destroy(self): method on_vehicle_control (line 183) | def on_vehicle_control(self, data): method build_camera_info (line 201) | def build_camera_info(self, attributes): # pylint: disable=no-self-use method publish_plan (line 224) | def publish_plan(self): method sensors (line 247) | def sensors(self): method get_header (line 256) | def get_header(self): method publish_lidar (line 264) | def publish_lidar(self, sensor_id, data): method publish_gnss (line 285) | def publish_gnss(self, sensor_id, data): method publish_camera (line 301) | def publish_camera(self, sensor_id, data): method publish_can (line 315) | def publish_can(self, sensor_id, data): method publish_hd_map (line 357) | def publish_hd_map(self, sensor_id, data): method use_stepping_mode (line 402) | def use_stepping_mode(self): # pylint: disable=no-self-use method run_step (line 408) | def run_step(self, input_data, timestamp): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/autoagents/sensor_interface.py class SensorReceivedNoData (line 26) | class SensorReceivedNoData(Exception): class CallBack (line 33) | class CallBack(object): method __init__ (line 39) | def __init__(self, tag, sensor, data_provider): method __call__ (line 48) | def __call__(self, data): method _parse_image_cb (line 66) | def _parse_image_cb(self, image, tag): method _parse_lidar_cb (line 75) | def _parse_lidar_cb(self, lidar_data, tag): method _parse_radar_cb (line 84) | def _parse_radar_cb(self, radar_data, tag): method _parse_gnss_cb (line 95) | def _parse_gnss_cb(self, gnss_data, tag): method _parse_imu_cb (line 104) | def _parse_imu_cb(self, imu_data, tag): class SensorInterface (line 119) | class SensorInterface(object): method __init__ (line 125) | def __init__(self): method register_sensor (line 133) | def register_sensor(self, tag, sensor): method update_sensor (line 142) | def update_sensor(self, tag, data, timestamp): method get_data (line 151) | def get_data(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/metrics/examples/basic_metric.py class BasicMetric (line 13) | class BasicMetric(object): method __init__ (line 18) | def __init__(self, town_map, log, criteria=None): method _create_metric (line 31) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/metrics/examples/criteria_filter.py class CriteriaFilter (line 21) | class CriteriaFilter(BasicMetric): method _create_metric (line 26) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/metrics/examples/distance_between_vehicles.py class DistanceBetweenVehicles (line 23) | class DistanceBetweenVehicles(BasicMetric): method _create_metric (line 28) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/metrics/examples/distance_to_lane_center.py class DistanceToLaneCenter (line 22) | class DistanceToLaneCenter(BasicMetric): method _create_metric (line 27) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/metrics/tools/metrics_log.py class MetricsLog (line 20) | class MetricsLog(object): # pylint: disable=too-many-public-methods method __init__ (line 25) | def __init__(self, recorder): method get_actor_collisions (line 34) | def get_actor_collisions(self, actor_id): method get_total_frame_count (line 52) | def get_total_frame_count(self): method get_elapsed_time (line 59) | def get_elapsed_time(self, frame): method get_delta_time (line 66) | def get_delta_time(self, frame): method get_platform_time (line 73) | def get_platform_time(self, frame): method get_ego_vehicle_id (line 81) | def get_ego_vehicle_id(self): method get_actor_ids_with_role_name (line 87) | def get_actor_ids_with_role_name(self, role_name): method get_actor_ids_with_type_id (line 103) | def get_actor_ids_with_type_id(self, type_id): method get_actor_attributes (line 119) | def get_actor_attributes(self, actor_id): method get_actor_bounding_box (line 131) | def get_actor_bounding_box(self, actor_id): method get_traffic_light_trigger_volume (line 146) | def get_traffic_light_trigger_volume(self, traffic_light_id): method get_actor_alive_frames (line 161) | def get_actor_alive_frames(self, actor_id): method _get_actor_state (line 184) | def _get_actor_state(self, actor_id, state, frame): method _get_all_actor_states (line 208) | def _get_all_actor_states(self, actor_id, state, first_frame=None, las... method _get_states_at_frame (line 234) | def _get_states_at_frame(self, frame, state, actor_list=None): method get_actor_transform (line 256) | def get_actor_transform(self, actor_id, frame): method get_all_actor_transforms (line 262) | def get_all_actor_transforms(self, actor_id, first_frame=None, last_fr... method get_actor_transforms_at_frame (line 268) | def get_actor_transforms_at_frame(self, frame, actor_list=None): method get_actor_velocity (line 276) | def get_actor_velocity(self, actor_id, frame): method get_all_actor_velocities (line 282) | def get_all_actor_velocities(self, actor_id, first_frame=None, last_fr... method get_actor_velocities_at_frame (line 288) | def get_actor_velocities_at_frame(self, frame, actor_list=None): method get_actor_angular_velocity (line 296) | def get_actor_angular_velocity(self, actor_id, frame): method get_all_actor_angular_velocities (line 302) | def get_all_actor_angular_velocities(self, actor_id, first_frame=None,... method get_actor_angular_velocities_at_frame (line 308) | def get_actor_angular_velocities_at_frame(self, frame, actor_list=None): method get_actor_acceleration (line 316) | def get_actor_acceleration(self, actor_id, frame): method get_all_actor_accelerations (line 322) | def get_all_actor_accelerations(self, actor_id, first_frame=None, last... method get_actor_accelerations_at_frame (line 328) | def get_actor_accelerations_at_frame(self, frame, actor_list=None): method get_vehicle_control (line 336) | def get_vehicle_control(self, vehicle_id, frame): method get_vehicle_physics_control (line 342) | def get_vehicle_physics_control(self, vehicle_id, frame): method get_walker_speed (line 356) | def get_walker_speed(self, walker_id, frame): method get_traffic_light_state (line 363) | def get_traffic_light_state(self, traffic_light_id, frame): method is_traffic_light_frozen (line 369) | def is_traffic_light_frozen(self, traffic_light_id, frame): method get_traffic_light_elapsed_time (line 375) | def get_traffic_light_elapsed_time(self, traffic_light_id, frame): method get_traffic_light_state_time (line 381) | def get_traffic_light_state_time(self, traffic_light_id, state, frame): method get_vehicle_lights (line 398) | def get_vehicle_lights(self, vehicle_id, frame): method is_vehicle_light_active (line 404) | def is_vehicle_light_active(self, light, vehicle_id, frame): method get_scene_light_state (line 416) | def get_scene_light_state(self, light_id, frame): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/metrics/tools/metrics_parser.py function parse_actor (line 17) | def parse_actor(info): function parse_transform (line 29) | def parse_transform(info): function parse_control (line 45) | def parse_control(info): function parse_vehicle_lights (line 58) | def parse_vehicle_lights(info): function parse_traffic_light (line 81) | def parse_traffic_light(info): function parse_velocity (line 97) | def parse_velocity(info): function parse_angular_velocity (line 106) | def parse_angular_velocity(info): function parse_scene_lights (line 115) | def parse_scene_lights(info): function parse_bounding_box (line 130) | def parse_bounding_box(info): function parse_state_times (line 157) | def parse_state_times(info): function parse_vector_list (line 166) | def parse_vector_list(info): function parse_gears_control (line 178) | def parse_gears_control(info): function parse_wheels_control (line 187) | def parse_wheels_control(info): class MetricsParser (line 204) | class MetricsParser(object): method __init__ (line 209) | def __init__(self, recorder_info): method get_row_elements (line 216) | def get_row_elements(self, indent_num, split_string): method next_row (line 222) | def next_row(self): method parse_recorder_info (line 229) | def parse_recorder_info(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py class OpenScenarioConfiguration (line 27) | class OpenScenarioConfiguration(ScenarioConfiguration): method __init__ (line 34) | def __init__(self, filename, client, custom_params): method _validate_openscenario_configuration (line 64) | def _validate_openscenario_configuration(self): method _validate_openscenario_catalog_configuration (line 74) | def _validate_openscenario_catalog_configuration(self, catalog_xml_tree): method _parse_openscenario_configuration (line 84) | def _parse_openscenario_configuration(self): method _check_version (line 98) | def _check_version(self): method _load_catalogs (line 106) | def _load_catalogs(self): method _set_scenario_name (line 144) | def _set_scenario_name(self): method _set_carla_town (line 155) | def _set_carla_town(self): method _set_parameters (line 217) | def _set_parameters(self): method _set_actor_information (line 232) | def _set_actor_information(self): method _extract_vehicle_information (line 290) | def _extract_vehicle_information(self, obj, rolename, vehicle, args): method _extract_pedestrian_information (line 313) | def _extract_pedestrian_information(self, obj, rolename, pedestrian, a... method _extract_misc_information (line 324) | def _extract_misc_information(self, obj, rolename, misc, args): method _get_actor_transform (line 339) | def _get_actor_transform(self, actor_name): method _get_actor_speed (line 377) | def _get_actor_speed(self, actor_name): method _validate_result (line 405) | def _validate_result(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarioconfigs/route_scenario_configuration.py class RouteConfiguration (line 18) | class RouteConfiguration(object): method __init__ (line 24) | def __init__(self, route=None): method parse_xml (line 27) | def parse_xml(self, node): class RouteScenarioConfiguration (line 43) | class RouteScenarioConfiguration(ScenarioConfiguration): method __init__ (line 49) | def __init__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarioconfigs/scenario_configuration.py class ActorConfigurationData (line 15) | class ActorConfigurationData(object): method __init__ (line 21) | def __init__(self, model, transform, rolename='other', speed=0, autopi... method parse_from_node (line 34) | def parse_from_node(node, rolename): method parse_from_dict (line 65) | def parse_from_dict(actor_dict, rolename): class ScenarioConfiguration (line 87) | class ScenarioConfiguration(object): method __init__ (line 97) | def __init__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py class ActorControl (line 28) | class ActorControl(object): method __init__ (line 65) | def __init__(self, actor, control_py_module, args, scenario_file_path): method reset (line 91) | def reset(self): method update_target_speed (line 97) | def update_target_speed(self, target_speed, start_time=None): method update_waypoints (line 109) | def update_waypoints(self, waypoints, start_time=None): method update_offset (line 121) | def update_offset(self, offset, start_time=None): method check_reached_waypoint_goal (line 134) | def check_reached_waypoint_goal(self): method get_last_longitudinal_command (line 143) | def get_last_longitudinal_command(self): method get_last_waypoint_command (line 152) | def get_last_waypoint_command(self): method get_last_lane_offset_command (line 161) | def get_last_lane_offset_command(self): method set_init_speed (line 170) | def set_init_speed(self): method run_step (line 176) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py class BasicControl (line 17) | class BasicControl(object): method __init__ (line 51) | def __init__(self, actor): method update_target_speed (line 57) | def update_target_speed(self, speed): method update_waypoints (line 67) | def update_waypoints(self, waypoints, start_time=None): method update_offset (line 77) | def update_offset(self, offset, start_time=None): method set_init_speed (line 87) | def set_init_speed(self): method check_reached_waypoint_goal (line 93) | def check_reached_waypoint_goal(self): method reset (line 102) | def reset(self): method run_step (line 111) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/carla_autopilot.py class CarlaAutoPilotControl (line 21) | class CarlaAutoPilotControl(BasicControl): method __init__ (line 35) | def __init__(self, actor, args=None): method reset (line 39) | def reset(self): method run_step (line 45) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py class ExternalControl (line 19) | class ExternalControl(BasicControl): method __init__ (line 29) | def __init__(self, actor, args=None): method reset (line 32) | def reset(self): method run_step (line 39) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py class NpcVehicleControl (line 22) | class NpcVehicleControl(BasicControl): method __init__ (line 35) | def __init__(self, actor, args=None): method _update_plan (line 48) | def _update_plan(self): method _update_offset (line 59) | def _update_offset(self): method reset (line 65) | def reset(self): method run_step (line 75) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py class PedestrianControl (line 19) | class PedestrianControl(BasicControl): method __init__ (line 28) | def __init__(self, actor, args=None): method reset (line 34) | def reset(self): method run_step (line 41) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py class SimpleVehicleControl (line 28) | class SimpleVehicleControl(BasicControl): method __init__ (line 85) | def __init__(self, actor, args=None): method _on_obstacle (line 128) | def _on_obstacle(self, event): method reset (line 140) | def reset(self): method run_step (line 153) | def run_step(self): method _offset_waypoint (line 221) | def _offset_waypoint(self, transform): method _set_new_velocity (line 241) | def _set_new_velocity(self, next_location): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py class VehicleLongitudinalControl (line 19) | class VehicleLongitudinalControl(BasicControl): method __init__ (line 30) | def __init__(self, actor, args=None): method reset (line 33) | def reset(self): method run_step (line 40) | def run_step(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/visualizer.py class Visualizer (line 26) | class Visualizer(object): method __init__ (line 56) | def __init__(self, actor): method reset (line 83) | def reset(self): method _on_camera_update (line 94) | def _on_camera_update(self, image, birdseye): method render (line 112) | def render(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/carla_data_provider.py function calculate_velocity (line 25) | def calculate_velocity(actor): class CarlaDataProvider (line 34) | class CarlaDataProvider(object): # pylint: disable=too-many-public-methods method register_actor (line 74) | def register_actor(actor, transform=None): method update_osc_global_params (line 100) | def update_osc_global_params(parameters): method get_osc_global_param_value (line 107) | def get_osc_global_param_value(ref): method register_actors (line 114) | def register_actors(actors, transforms=None): method on_carla_tick (line 125) | def on_carla_tick(): method get_velocity (line 149) | def get_velocity(actor): method get_location (line 163) | def get_location(actor): method get_transform (line 177) | def get_transform(actor): method set_client (line 191) | def set_client(client): method get_client (line 198) | def get_client(): method set_world (line 205) | def set_world(world): method get_world (line 218) | def get_world(): method get_map (line 225) | def get_map(world=None): method get_random_seed (line 241) | def get_random_seed(): method get_global_route_planner (line 248) | def get_global_route_planner(): method get_all_actors (line 255) | def get_all_actors(): method is_sync_mode (line 268) | def is_sync_mode(): method set_runtime_init_mode (line 275) | def set_runtime_init_mode(flag): method is_runtime_init_mode (line 282) | def is_runtime_init_mode(): method find_weather_presets (line 289) | def find_weather_presets(): method prepare_map (line 299) | def prepare_map(): method annotate_trafficlight_in_group (line 317) | def annotate_trafficlight_in_group(traffic_light): method get_trafficlight_trigger_location (line 353) | def get_trafficlight_trigger_location(traffic_light): # pylint: dis... method update_light_states (line 377) | def update_light_states(ego_light, annotations, states, freeze=False, ... method reset_lights (line 409) | def reset_lights(reset_params): method get_next_traffic_light (line 420) | def get_next_traffic_light(actor, use_cached_location=True): method generate_spawn_points (line 457) | def generate_spawn_points(): method create_blueprint (line 467) | def create_blueprint(model, rolename='scenario', color=None, actor_cat... method handle_actor_batch (line 553) | def handle_actor_batch(batch, tick=True): method request_new_actor (line 585) | def request_new_actor(model, spawn_point, rolename='scenario', autopil... method request_new_actors (line 636) | def request_new_actors(actor_list, attribute_filter=None, tick=True): method request_new_batch_actors (line 711) | def request_new_batch_actors(model, amount, spawn_points, autopilot=Fa... method get_actors (line 764) | def get_actors(): method actor_id_exists (line 773) | def actor_id_exists(actor_id): method get_hero_actor (line 783) | def get_hero_actor(): method get_actor_by_id (line 793) | def get_actor_by_id(actor_id): method remove_actor_by_id (line 805) | def remove_actor_by_id(actor_id): method remove_actors_in_surrounding (line 817) | def remove_actors_in_surrounding(location, distance): method get_traffic_manager_port (line 831) | def get_traffic_manager_port(): method set_traffic_manager_port (line 838) | def set_traffic_manager_port(tm_port): method cleanup (line 845) | def cleanup(): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/lights_sim.py class RouteLightsBehavior (line 20) | class RouteLightsBehavior(py_trees.behaviour.Behaviour): method __init__ (line 36) | def __init__(self, ego_vehicle, radius=50, radius_increase=15, name="L... method update (line 51) | def update(self): method _get_night_mode (line 70) | def _get_night_mode(self, weather): method _turn_close_lights_on (line 91) | def _turn_close_lights_on(self, location): method _turn_all_lights_off (line 134) | def _turn_all_lights_off(self): method terminate (line 154) | def terminate(self, new_status): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/result_writer.py class ResultOutputProvider (line 20) | class ResultOutputProvider(object): method __init__ (line 27) | def __init__(self, data, result, stdout=True, filename=None, junitfile... method write (line 49) | def write(self): method create_output_text (line 65) | def create_output_text(self): method _write_to_reportjson (line 137) | def _write_to_reportjson(self): method _write_to_junit (line 206) | def _write_to_junit(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/scenario_manager.py class ScenarioManager (line 26) | class ScenarioManager(object): method __init__ (line 44) | def __init__(self, debug_mode=False, sync_mode=False, timeout=2.0): method _reset (line 67) | def _reset(self): method cleanup (line 79) | def cleanup(self): method load_scenario (line 97) | def load_scenario(self, scenario, agent=None): method run_scenario (line 116) | def run_scenario(self): method _tick_scenario (line 150) | def _tick_scenario(self, timestamp): method get_running_status (line 188) | def get_running_status(self): method stop_scenario (line 195) | def stop_scenario(self): method analyze_scenario (line 201) | def analyze_scenario(self, stdout, filename, junit, json): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py function calculate_distance (line 49) | def calculate_distance(location, other_location, global_planner=None): function get_actor_control (line 76) | def get_actor_control(actor): class AtomicBehavior (line 90) | class AtomicBehavior(py_trees.behaviour.Behaviour): method __init__ (line 101) | def __init__(self, name, actor=None): method setup (line 110) | def setup(self, unused_timeout=15): method initialise (line 117) | def initialise(self): method terminate (line 133) | def terminate(self, new_status): class RunScript (line 140) | class RunScript(AtomicBehavior): method __init__ (line 160) | def __init__(self, script, base_path=None, name="RunScript"): method update (line 169) | def update(self): class ChangeParameter (line 191) | class ChangeParameter(AtomicBehavior): method __init__ (line 200) | def __init__(self, parameter_ref, value, rule=None, name="ChangeParame... method update (line 207) | def update(self): class ChangeWeather (line 227) | class ChangeWeather(AtomicBehavior): method __init__ (line 244) | def __init__(self, weather, name="ChangeWeather"): method update (line 251) | def update(self): class ChangeRoadFriction (line 262) | class ChangeRoadFriction(AtomicBehavior): method __init__ (line 278) | def __init__(self, friction, name="ChangeRoadFriction"): method update (line 285) | def update(self): class ChangeActorControl (line 311) | class ChangeActorControl(AtomicBehavior): method __init__ (line 332) | def __init__(self, actor, control_py_module, args, scenario_file_path=... method update (line 341) | def update(self): class UpdateAllActorControls (line 368) | class UpdateAllActorControls(AtomicBehavior): method __init__ (line 380) | def __init__(self, name="UpdateAllActorControls"): method update (line 386) | def update(self): class ChangeActorTargetSpeed (line 408) | class ChangeActorTargetSpeed(AtomicBehavior): method __init__ (line 459) | def __init__(self, actor, target_speed, init_speed=False, method initialise (line 480) | def initialise(self): method update (line 520) | def update(self): class SyncArrivalOSC (line 570) | class SyncArrivalOSC(AtomicBehavior): method __init__ (line 593) | def __init__(self, actor, master_actor, actor_target, master_target, f... method initialise (line 613) | def initialise(self): method update (line 651) | def update(self): method terminate (line 695) | def terminate(self, new_status): class ChangeActorWaypoints (line 728) | class ChangeActorWaypoints(AtomicBehavior): method __init__ (line 756) | def __init__(self, actor, waypoints, name="ChangeActorWaypoints"): method initialise (line 765) | def initialise(self): method update (line 842) | def update(self): class ChangeActorLateralMotion (line 872) | class ChangeActorLateralMotion(AtomicBehavior): method __init__ (line 914) | def __init__(self, actor, direction='left', distance_lane_change=25, d... method initialise (line 933) | def initialise(self): method update (line 972) | def update(self): class ChangeActorLaneOffset (line 1030) | class ChangeActorLaneOffset(AtomicBehavior): method __init__ (line 1065) | def __init__(self, actor, offset, relative_actor=None, continuous=True... method initialise (line 1080) | def initialise(self): method update (line 1106) | def update(self): method terminate (line 1182) | def terminate(self, new_status): class ActorTransformSetterToOSCPosition (line 1202) | class ActorTransformSetterToOSCPosition(AtomicBehavior): method __init__ (line 1222) | def __init__(self, actor, osc_position, physics=True, name="ActorTrans... method initialise (line 1231) | def initialise(self): method update (line 1239) | def update(self): class AccelerateToVelocity (line 1261) | class AccelerateToVelocity(AtomicBehavior): method __init__ (line 1276) | def __init__(self, actor, throttle_value, target_velocity, name="Accel... method initialise (line 1287) | def initialise(self): method update (line 1295) | def update(self): class AccelerateToCatchUp (line 1314) | class AccelerateToCatchUp(AtomicBehavior): method __init__ (line 1334) | def __init__(self, actor, other_actor, throttle_value=1, delta_velocit... method initialise (line 1352) | def initialise(self): method update (line 1358) | def update(self): class KeepVelocity (line 1393) | class KeepVelocity(AtomicBehavior): method __init__ (line 1412) | def __init__(self, actor, target_velocity, force_speed=False, method initialise (line 1434) | def initialise(self): method update (line 1448) | def update(self): method terminate (line 1485) | def terminate(self, new_status): class ChangeAutoPilot (line 1502) | class ChangeAutoPilot(AtomicBehavior): method __init__ (line 1518) | def __init__(self, actor, activate, parameters=None, name="ChangeAutoP... method update (line 1529) | def update(self): class StopVehicle (line 1567) | class StopVehicle(AtomicBehavior): method __init__ (line 1580) | def __init__(self, actor, brake_value, name="Stopping"): method update (line 1591) | def update(self): class SyncArrival (line 1613) | class SyncArrival(AtomicBehavior): method __init__ (line 1630) | def __init__(self, actor, actor_reference, target_location, gain=1, na... method update (line 1643) | def update(self): method terminate (line 1677) | def terminate(self, new_status): class SyncArrivalWithAgent (line 1689) | class SyncArrivalWithAgent(AtomicBehavior): method __init__ (line 1708) | def __init__(self, actor, reference_actor, actor_target, reference_tar... method initialise (line 1723) | def initialise(self): method update (line 1730) | def update(self): method terminate (line 1767) | def terminate(self, new_status): class CutIn (line 1774) | class CutIn(AtomicBehavior): method __init__ (line 1793) | def __init__(self, actor, reference_actor, direction, speed_perc=100, method initialise (line 1812) | def initialise(self): method update (line 1822) | def update(self): class AddNoiseToVehicle (line 1837) | class AddNoiseToVehicle(AtomicBehavior): method __init__ (line 1851) | def __init__(self, actor, steer_value, throttle_value, name="Jittering"): method update (line 1861) | def update(self): class AddNoiseToRouteEgo (line 1876) | class AddNoiseToRouteEgo(AtomicBehavior): method __init__ (line 1890) | def __init__(self, actor, throttle_mean, throttle_std, steer_mean, ste... method update (line 1902) | def update(self): class ChangeNoiseParameters (line 1925) | class ChangeNoiseParameters(AtomicBehavior): method __init__ (line 1936) | def __init__(self, new_steer_noise, new_throttle_noise, method update (line 1952) | def update(self): class BasicAgentBehavior (line 1965) | class BasicAgentBehavior(AtomicBehavior): method __init__ (line 1977) | def __init__(self, actor, target_location=None, plan=None, target_spee... method initialise (line 1994) | def initialise(self): method update (line 2006) | def update(self): method terminate (line 2017) | def terminate(self, new_status): class ConstantVelocityAgentBehavior (line 2025) | class ConstantVelocityAgentBehavior(AtomicBehavior): method __init__ (line 2040) | def __init__(self, actor, target_location, target_speed=None, method initialise (line 2057) | def initialise(self): method update (line 2067) | def update(self): method terminate (line 2081) | def terminate(self, new_status): class AdaptiveConstantVelocityAgentBehavior (line 2090) | class AdaptiveConstantVelocityAgentBehavior(AtomicBehavior): method __init__ (line 2108) | def __init__(self, actor, reference_actor, target_location=None, speed... method initialise (line 2125) | def initialise(self): method update (line 2139) | def update(self): method terminate (line 2155) | def terminate(self, new_status): class Idle (line 2164) | class Idle(AtomicBehavior): method __init__ (line 2176) | def __init__(self, duration=float("inf"), name="Idle"): method initialise (line 2185) | def initialise(self): method update (line 2192) | def update(self): class WaitForever (line 2203) | class WaitForever(AtomicBehavior): method __init__ (line 2212) | def __init__(self, name="WaitForever"): method update (line 2219) | def update(self): class WaypointFollower (line 2226) | class WaypointFollower(AtomicBehavior): method __init__ (line 2268) | def __init__(self, actor, target_speed=None, plan=None, blackboard_que... method initialise (line 2287) | def initialise(self): method _apply_local_planner (line 2314) | def _apply_local_planner(self, actor): method update (line 2353) | def update(self): method terminate (line 2428) | def terminate(self, new_status): class LaneChange (line 2447) | class LaneChange(WaypointFollower): method __init__ (line 2475) | def __init__(self, actor, speed=10, direction='left', distance_same_la... method initialise (line 2491) | def initialise(self): method update (line 2502) | def update(self): class SetInitSpeed (line 2526) | class SetInitSpeed(AtomicBehavior): method __init__ (line 2533) | def __init__(self, actor, init_speed=10, name='SetInitSpeed'): method initialise (line 2541) | def initialise(self): method update (line 2553) | def update(self): class HandBrakeVehicle (line 2561) | class HandBrakeVehicle(AtomicBehavior): method __init__ (line 2574) | def __init__(self, vehicle, hand_brake_value, name="Braking"): method update (line 2584) | def update(self): class ActorDestroy (line 2601) | class ActorDestroy(AtomicBehavior): method __init__ (line 2613) | def __init__(self, actor, name="ActorDestroy"): method update (line 2620) | def update(self): class ActorTransformSetter (line 2630) | class ActorTransformSetter(AtomicBehavior): method __init__ (line 2650) | def __init__(self, actor, transform, physics=True, name="ActorTransfor... method initialise (line 2659) | def initialise(self): method update (line 2666) | def update(self): class BatchActorTransformSetter (line 2683) | class BatchActorTransformSetter(AtomicBehavior): method __init__ (line 2696) | def __init__(self, actor_transform_list, physics=True, name="BatchActo... method update (line 2705) | def update(self): class TrafficLightStateSetter (line 2720) | class TrafficLightStateSetter(AtomicBehavior): method __init__ (line 2732) | def __init__(self, actor, state, name="TrafficLightStateSetter"): method update (line 2742) | def update(self): class ActorSource (line 2760) | class ActorSource(AtomicBehavior): method __init__ (line 2777) | def __init__(self, actor_type_list, transform, threshold, blackboard_q... method update (line 2791) | def update(self): class ActorSink (line 2818) | class ActorSink(AtomicBehavior): method __init__ (line 2832) | def __init__(self, sink_location, threshold, name="ActorSink"): method update (line 2840) | def update(self): class ActorFlow (line 2846) | class ActorFlow(AtomicBehavior): method __init__ (line 2861) | def __init__(self, source_wp, sink_wp, spawn_dist_interval, sink_dist=2, method initialise (line 2897) | def initialise(self): method _spawn_actor (line 2912) | def _spawn_actor(self, transform): method update (line 2941) | def update(self): method stop_constant_velocity (line 2969) | def stop_constant_velocity(self): method terminate (line 2979) | def terminate(self, new_status): class OppositeActorFlow (line 3010) | class OppositeActorFlow(AtomicBehavior): method __init__ (line 3024) | def __init__(self, reference_wp, reference_actor, spawn_dist_interval, method _move_waypoint_forward (line 3055) | def _move_waypoint_forward(self, wp, distance): method _move_waypoint_backwards (line 3068) | def _move_waypoint_backwards(self, wp, distance): method initialise (line 3081) | def initialise(self): method _spawn_actor (line 3097) | def _spawn_actor(self): method update (line 3111) | def update(self): method terminate (line 3137) | def terminate(self, new_status): class InvadingActorFlow (line 3159) | class InvadingActorFlow(AtomicBehavior): method __init__ (line 3173) | def __init__(self, source_wp, sink_wp, reference_actor, spawn_dist, method initialise (line 3208) | def initialise(self): method _spawn_actor (line 3214) | def _spawn_actor(self): method update (line 3226) | def update(self): method terminate (line 3252) | def terminate(self, new_status): class BicycleFlow (line 3274) | class BicycleFlow(AtomicBehavior): method __init__ (line 3288) | def __init__(self, plan, spawn_dist_interval, sink_dist=2, method initialise (line 3317) | def initialise(self): method _spawn_actor (line 3329) | def _spawn_actor(self, transform): method update (line 3365) | def update(self): method terminate (line 3395) | def terminate(self, new_status): class OpenVehicleDoor (line 3417) | class OpenVehicleDoor(AtomicBehavior): method __init__ (line 3429) | def __init__(self, actor, vehicle_door, name="OpenVehicleDoor"): method initialise (line 3437) | def initialise(self): method update (line 3444) | def update(self): class TrafficLightFreezer (line 3453) | class TrafficLightFreezer(AtomicBehavior): method __init__ (line 3463) | def __init__(self, traffic_lights_dict, duration=10000, name="TrafficL... method initialise (line 3471) | def initialise(self): method update (line 3490) | def update(self): method terminate (line 3497) | def terminate(self, new_status): class StartRecorder (line 3507) | class StartRecorder(AtomicBehavior): method __init__ (line 3522) | def __init__(self, recorder_name, name="StartRecorder"): method update (line 3530) | def update(self): class StopRecorder (line 3535) | class StopRecorder(AtomicBehavior): method __init__ (line 3544) | def __init__(self, name="StopRecorder"): method update (line 3551) | def update(self): class TrafficLightManipulator (line 3556) | class TrafficLightManipulator(AtomicBehavior): method __init__ (line 3608) | def __init__(self, ego_vehicle, subtype, debug=False, name="TrafficLig... method update (line 3628) | def update(self): method passed_enough_time (line 3740) | def passed_enough_time(self, time_limit): method set_intersection_state (line 3763) | def set_intersection_state(self, choice): method get_waiting_time (line 3775) | def get_waiting_time(self, annotation, direction): method get_traffic_light_configuration (line 3791) | def get_traffic_light_configuration(self, subtype, annotations): method variable_cleanup (line 3828) | def variable_cleanup(self): class ScenarioTriggerer (line 3843) | class ScenarioTriggerer(AtomicBehavior): method __init__ (line 3854) | def __init__(self, actor, route, blackboard_list, distance, debug=Fals... method add_blackboard (line 3873) | def add_blackboard(self, blackboard): method update (line 3879) | def update(self): class KeepLongitudinalGap (line 3946) | class KeepLongitudinalGap(AtomicBehavior): method __init__ (line 3959) | def __init__(self, actor, reference_actor, gap, gap_type="distance", m... method initialise (line 3979) | def initialise(self): method update (line 3998) | def update(self): class SwitchWrongDirectionTest (line 4047) | class SwitchWrongDirectionTest(AtomicBehavior): method __init__ (line 4057) | def __init__(self, active, name="SwitchWrongDirectionTest"): method update (line 4064) | def update(self): class SwitchMinSpeedCriteria (line 4069) | class SwitchMinSpeedCriteria(AtomicBehavior): method __init__ (line 4071) | def __init__(self, active, name="ChangeMinSpeed"): method update (line 4079) | def update(self): class WalkerFlow (line 4088) | class WalkerFlow(AtomicBehavior): method __init__ (line 4105) | def __init__(self, source_location, sink_locations, sink_locations_pro... method update (line 4134) | def update(self): method _destroy_walker (line 4174) | def _destroy_walker(self, walker, controller): method terminate (line 4179) | def terminate(self, new_status): class AIWalkerBehavior (line 4189) | class AIWalkerBehavior(AtomicBehavior): method __init__ (line 4200) | def __init__(self, source_location, sink_location, method initialise (line 4218) | def initialise(self): method update (line 4240) | def update(self): method _destroy_walker (line 4252) | def _destroy_walker(self, walker, controller): method terminate (line 4259) | def terminate(self, new_status): class ScenarioTimeout (line 4269) | class ScenarioTimeout(AtomicBehavior): method __init__ (line 4284) | def __init__(self, duration, scenario_name, name="ScenarioTimeout"): method initialise (line 4296) | def initialise(self): method update (line 4304) | def update(self): method terminate (line 4316) | def terminate(self, new_status): class MovePedestrianWithEgo (line 4327) | class MovePedestrianWithEgo(AtomicBehavior): method __init__ (line 4329) | def __init__(self, reference_actor, actor, distance, displacement=0, n... method initialise (line 4347) | def initialise(self): method update (line 4356) | def update(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py class Criterion (line 31) | class Criterion(py_trees.behaviour.Behaviour): method __init__ (line 49) | def __init__(self, method initialise (line 71) | def initialise(self): method terminate (line 77) | def terminate(self, new_status): class MaxVelocityTest (line 87) | class MaxVelocityTest(Criterion): method __init__ (line 98) | def __init__(self, actor, max_velocity, optional=False, name="CheckMax... method update (line 105) | def update(self): class DrivenDistanceTest (line 131) | class DrivenDistanceTest(Criterion): method __init__ (line 144) | def __init__(self, actor, distance, acceptable_distance=None, optional... method initialise (line 153) | def initialise(self): method update (line 157) | def update(self): method terminate (line 193) | def terminate(self, new_status): class AverageVelocityTest (line 203) | class AverageVelocityTest(Criterion): method __init__ (line 217) | def __init__(self, actor, velocity, acceptable_velocity=None, optional... method initialise (line 228) | def initialise(self): method update (line 232) | def update(self): method terminate (line 272) | def terminate(self, new_status): class CollisionTest (line 281) | class CollisionTest(Criterion): method __init__ (line 299) | def __init__(self, actor, other_actor=None, other_actor_type=None, method initialise (line 315) | def initialise(self): method update (line 324) | def update(self): method terminate (line 349) | def terminate(self, new_status): method _count_collisions (line 359) | def _count_collisions(self, event): # pylint: disable=too-many-ret... class ActorBlockedTest (line 417) | class ActorBlockedTest(Criterion): method __init__ (line 429) | def __init__(self, actor, min_speed, max_time, name="ActorBlockedTest"... method update (line 440) | def update(self): class KeepLaneTest (line 479) | class KeepLaneTest(Criterion): method __init__ (line 488) | def __init__(self, actor, optional=False, name="CheckKeepLane"): method update (line 499) | def update(self): method terminate (line 517) | def terminate(self, new_status): method _count_lane_invasion (line 526) | def _count_lane_invasion(self, event): class ReachedRegionTest (line 533) | class ReachedRegionTest(Criterion): method __init__ (line 544) | def __init__(self, actor, min_x, max_x, min_y, max_y, name="ReachedReg... method update (line 555) | def update(self): class OffRoadTest (line 581) | class OffRoadTest(Criterion): method __init__ (line 597) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 610) | def update(self): class EndofRoadTest (line 661) | class EndofRoadTest(Criterion): method __init__ (line 675) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 689) | def update(self): class OnSidewalkTest (line 728) | class OnSidewalkTest(Criterion): method __init__ (line 743) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 762) | def update(self): method terminate (line 924) | def terminate(self, new_status): method _set_event_message (line 960) | def _set_event_message(self, event, location, distance): method _set_event_dict (line 977) | def _set_event_dict(self, event, location, distance): class OutsideRouteLanesTest (line 984) | class OutsideRouteLanesTest(Criterion): method __init__ (line 1001) | def __init__(self, actor, route, optional=False, name="OutsideRouteLan... method update (line 1026) | def update(self): method _set_traffic_event (line 1082) | def _set_traffic_event(self): method _is_outside_driving_lanes (line 1106) | def _is_outside_driving_lanes(self, location): method _is_at_wrong_lane (line 1128) | def _is_at_wrong_lane(self, location): class WrongLaneTest (line 1169) | class WrongLaneTest(Criterion): method __init__ (line 1181) | def __init__(self, actor, optional=False, name="WrongLaneTest"): method update (line 1198) | def update(self): method terminate (line 1292) | def terminate(self, new_status): method _set_event_message (line 1314) | def _set_event_message(self, event, location, distance, road_id, lane_... method _set_event_dict (line 1329) | def _set_event_dict(self, event, location, distance, road_id, lane_id): class InRadiusRegionTest (line 1340) | class InRadiusRegionTest(Criterion): method __init__ (line 1350) | def __init__(self, actor, x, y, radius, name="InRadiusRegionTest"): method update (line 1359) | def update(self): class InRouteTest (line 1387) | class InRouteTest(Criterion): method __init__ (line 1403) | def __init__(self, actor, route, offroad_min=None, offroad_max=30, nam... method update (line 1438) | def update(self): class RouteCompletionTest (line 1513) | class RouteCompletionTest(Criterion): method __init__ (line 1529) | def __init__(self, actor, route, name="RouteCompletionTest", terminate... method _get_acummulated_percentages (line 1550) | def _get_acummulated_percentages(self): method update (line 1564) | def update(self): method terminate (line 1606) | def terminate(self, new_status): class RunningRedLightTest (line 1620) | class RunningRedLightTest(Criterion): method __init__ (line 1631) | def __init__(self, actor, name="RunningRedLightTest", terminate_on_fai... method is_vehicle_crossing_line (line 1649) | def is_vehicle_crossing_line(self, seg1, seg2): method update (line 1659) | def update(self): method rotate_point (line 1751) | def rotate_point(self, point, angle): method get_traffic_light_waypoints (line 1759) | def get_traffic_light_waypoints(self, traffic_light): class RunningStopTest (line 1799) | class RunningStopTest(Criterion): method __init__ (line 1812) | def __init__(self, actor, name="RunningStopTest", terminate_on_failure... method point_inside_boundingbox (line 1828) | def point_inside_boundingbox(self, point, bb_center, bb_extent, multip... method is_actor_affected_by_stop (line 1847) | def is_actor_affected_by_stop(self, wp_list, stop): method _scan_for_stop_sign (line 1867) | def _scan_for_stop_sign(self, actor_transform, wp_list): method _get_waypoints (line 1888) | def _get_waypoints(self, actor): method update (line 1908) | def update(self): class MinimumSpeedRouteTest (line 1957) | class MinimumSpeedRouteTest(Criterion): method __init__ (line 1970) | def __init__(self, actor, route, checkpoints=1, name="MinimumSpeedRout... method update (line 2003) | def update(self): method _set_traffic_event (line 2058) | def _set_traffic_event(self): method terminate (line 2075) | def terminate(self, new_status): class YieldToEmergencyVehicleTest (line 2089) | class YieldToEmergencyVehicleTest(Criterion): method __init__ (line 2103) | def __init__(self, actor, ev, optional=False, name="YieldToEmergencyVe... method update (line 2111) | def update(self): method terminate (line 2138) | def terminate(self, new_status): class ScenarioTimeoutTest (line 2152) | class ScenarioTimeoutTest(Criterion): method __init__ (line 2162) | def __init__(self, actor, scenario_name, optional=False, name="Scenari... method update (line 2171) | def update(self): method terminate (line 2177) | def terminate(self, new_status): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py class AtomicCondition (line 41) | class AtomicCondition(py_trees.behaviour.Behaviour): method __init__ (line 52) | def __init__(self, name): method setup (line 60) | def setup(self, unused_timeout=15): method initialise (line 67) | def initialise(self): method terminate (line 73) | def terminate(self, new_status): class InTriggerDistanceToOSCPosition (line 80) | class InTriggerDistanceToOSCPosition(AtomicCondition): method __init__ (line 95) | def __init__(self, actor, osc_position, distance, along_route=False, method initialise (line 114) | def initialise(self): method update (line 118) | def update(self): class InTimeToArrivalToOSCPosition (line 145) | class InTimeToArrivalToOSCPosition(AtomicCondition): method __init__ (line 160) | def __init__(self, actor, osc_position, time, along_route=False, method initialise (line 179) | def initialise(self): method update (line 183) | def update(self): class StandStill (line 223) | class StandStill(AtomicCondition): method __init__ (line 236) | def __init__(self, actor, name, duration=float("inf")): method initialise (line 247) | def initialise(self): method update (line 254) | def update(self): class RelativeVelocityToOtherActor (line 273) | class RelativeVelocityToOtherActor(AtomicCondition): method __init__ (line 288) | def __init__(self, actor, other_actor, speed, comparison_operator=oper... method update (line 300) | def update(self): class TriggerVelocity (line 323) | class TriggerVelocity(AtomicCondition): method __init__ (line 337) | def __init__(self, actor, target_velocity, comparison_operator=operato... method update (line 347) | def update(self): class TriggerAcceleration (line 367) | class TriggerAcceleration(AtomicCondition): method __init__ (line 381) | def __init__(self, actor, target_acceleration, comparison_operator=ope... method update (line 391) | def update(self): class TimeOfDayComparison (line 414) | class TimeOfDayComparison(AtomicCondition): method __init__ (line 428) | def __init__(self, dattime, comparison_operator=operator.gt, name="Tim... method update (line 436) | def update(self): class OSCStartEndCondition (line 460) | class OSCStartEndCondition(AtomicCondition): method __init__ (line 473) | def __init__(self, element_type, element_name, rule, name="OSCStartEnd... method initialise (line 485) | def initialise(self): method update (line 492) | def update(self): class InTriggerRegion (line 509) | class InTriggerRegion(AtomicCondition): method __init__ (line 522) | def __init__(self, actor, min_x, max_x, min_y, max_y, name="TriggerReg... method update (line 535) | def update(self): class InTriggerDistanceToVehicle (line 556) | class InTriggerDistanceToVehicle(AtomicCondition): method __init__ (line 574) | def __init__(self, reference_actor, actor, distance, comparison_operat... method update (line 593) | def update(self): class InTriggerDistanceToLocation (line 616) | class InTriggerDistanceToLocation(AtomicCondition): method __init__ (line 631) | def __init__(self, method update (line 647) | def update(self): class InTriggerDistanceToNextIntersection (line 668) | class InTriggerDistanceToNextIntersection(AtomicCondition): method __init__ (line 682) | def __init__(self, actor, distance, name="InTriggerDistanceToNextInter... method update (line 698) | def update(self): class InTriggerDistanceToLocationAlongRoute (line 715) | class InTriggerDistanceToLocationAlongRoute(AtomicCondition): method __init__ (line 732) | def __init__(self, actor, route, location, distance, name="InTriggerDi... method update (line 745) | def update(self): class InTimeToArrivalToLocation (line 766) | class InTimeToArrivalToLocation(AtomicCondition): method __init__ (line 783) | def __init__(self, actor, time, location, comparison_operator=operator... method update (line 794) | def update(self): class InTimeToArrivalToVehicle (line 821) | class InTimeToArrivalToVehicle(AtomicCondition): method __init__ (line 838) | def __init__(self, actor, other_actor, time, condition_freespace=False, method update (line 859) | def update(self): class InTimeToArrivalToVehicleSideLane (line 912) | class InTimeToArrivalToVehicleSideLane(InTimeToArrivalToLocation): method __init__ (line 930) | def __init__(self, actor, other_actor, time, side_lane, method update (line 957) | def update(self): class WaitUntilInFront (line 985) | class WaitUntilInFront(AtomicCondition): method __init__ (line 998) | def __init__(self, actor, other_actor, factor=1, check_distance=True, ... method update (line 1018) | def update(self): class WaitUntilInFrontPosition (line 1061) | class WaitUntilInFrontPosition(AtomicCondition): method __init__ (line 1071) | def __init__(self, actor, transform, check_distance=True, distance=10,... method update (line 1086) | def update(self): class DriveDistance (line 1112) | class DriveDistance(AtomicCondition): method __init__ (line 1124) | def __init__(self, actor, distance, name="DriveDistance"): method initialise (line 1135) | def initialise(self): method update (line 1139) | def update(self): class AtRightmostLane (line 1159) | class AtRightmostLane(AtomicCondition): method __init__ (line 1170) | def __init__(self, actor, name="AtRightmostLane"): method update (line 1179) | def update(self): class WaitForTrafficLightState (line 1201) | class WaitForTrafficLightState(AtomicCondition): method __init__ (line 1214) | def __init__(self, actor, state, name="WaitForTrafficLightState"): method update (line 1223) | def update(self): class WaitEndIntersection (line 1240) | class WaitEndIntersection(AtomicCondition): method __init__ (line 1248) | def __init__(self, actor, junction_id=None, debug=False, name="WaitEnd... method update (line 1256) | def update(self): class WaitForBlackboardVariable (line 1280) | class WaitForBlackboardVariable(AtomicCondition): method __init__ (line 1289) | def __init__(self, variable_name, variable_value, var_init_value=None, method update (line 1301) | def update(self): class CheckParameter (line 1315) | class CheckParameter(AtomicCondition): method __init__ (line 1321) | def __init__(self, parameter_ref, value, comparison_operator, debug=Fa... method update (line 1328) | def update(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/timer.py class GameTime (line 20) | class GameTime(object): method on_carla_tick (line 36) | def on_carla_tick(timestamp): method restart (line 50) | def restart(): method get_time (line 60) | def get_time(): method get_carla_time (line 67) | def get_carla_time(): method get_wallclocktime (line 74) | def get_wallclocktime(): method get_frame (line 81) | def get_frame(): class SimulationTimeCondition (line 88) | class SimulationTimeCondition(py_trees.behaviour.Behaviour): method __init__ (line 98) | def __init__(self, timeout, comparison_operator=operator.gt, name="Sim... method initialise (line 108) | def initialise(self): method update (line 115) | def update(self): class TimeOut (line 134) | class TimeOut(SimulationTimeCondition): method __init__ (line 142) | def __init__(self, timeout, name="TimeOut"): method update (line 149) | def update(self): class RouteTimeoutBehavior (line 162) | class RouteTimeoutBehavior(py_trees.behaviour.Behaviour): method __init__ (line 170) | def __init__(self, ego_vehicle, route, debug=False, name="RouteTimeout... method initialise (line 201) | def initialise(self): method update (line 208) | def update(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/traffic_events.py class TrafficEventType (line 13) | class TrafficEventType(Enum): class TrafficEvent (line 38) | class TrafficEvent(object): method __init__ (line 44) | def __init__(self, event_type, frame, message="", dictionary=None): method get_type (line 58) | def get_type(self): method get_frame (line 62) | def get_frame(self): method set_frame (line 66) | def set_frame(self, frame): method set_message (line 70) | def set_message(self, message): method get_message (line 74) | def get_message(self): method set_dict (line 78) | def set_dict(self, dictionary): method get_dict (line 82) | def get_dict(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/watchdog.py class Watchdog (line 21) | class Watchdog(object): method __init__ (line 35) | def __init__(self, timeout=1.0, interval=None): method start (line 43) | def start(self): method stop (line 51) | def stop(self): method pause (line 58) | def pause(self): method resume (line 63) | def resume(self): method update (line 68) | def update(self): method _callback (line 76) | def _callback(self, watchdog): method get_status (line 84) | def get_status(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenariomanager/weather_sim.py class Weather (line 26) | class Weather(object): method __init__ (line 51) | def __init__(self, carla_weather, dtime=None, animation=False): method update (line 71) | def update(self, delta_time=0): class OSCWeatherBehavior (line 91) | class OSCWeatherBehavior(py_trees.behaviour.Behaviour): method __init__ (line 111) | def __init__(self, name="WeatherBehavior"): method initialise (line 119) | def initialise(self): method update (line 125) | def update(self): class RouteWeatherBehavior (line 169) | class RouteWeatherBehavior(py_trees.behaviour.Behaviour): method __init__ (line 182) | def __init__(self, ego_vehicle, route, weathers, debug=False, name="Ro... method _get_route_percentages (line 218) | def _get_route_percentages(self): method get_route_weathers (line 233) | def get_route_weathers(self): method update (line 275) | def update(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/actor_flow.py function convert_dict_to_location (line 34) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 45) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 51) | def get_interval_parameter(config, name, p_type, default): class EnterActorFlow (line 60) | class EnterActorFlow(BasicScenario): method __init__ (line 67) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 96) | def _create_behavior(self): method _create_test_criteria (line 144) | def _create_test_criteria(self): method __del__ (line 154) | def __del__(self): class EnterActorFlowV2 (line 161) | class EnterActorFlowV2(EnterActorFlow): method _create_behavior (line 165) | def _create_behavior(self): class HighwayExit (line 230) | class HighwayExit(BasicScenario): method __init__ (line 240) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 267) | def _create_behavior(self): method _create_test_criteria (line 298) | def _create_test_criteria(self): method __del__ (line 308) | def __del__(self): class MergerIntoSlowTraffic (line 315) | class MergerIntoSlowTraffic(BasicScenario): method __init__ (line 325) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 355) | def _create_behavior(self): method _create_test_criteria (line 401) | def _create_test_criteria(self): method __del__ (line 411) | def __del__(self): class MergerIntoSlowTrafficV2 (line 418) | class MergerIntoSlowTrafficV2(MergerIntoSlowTraffic): method _create_behavior (line 423) | def _create_behavior(self): class InterurbanActorFlow (line 485) | class InterurbanActorFlow(BasicScenario): method __init__ (line 491) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_entry_exit_route_lanes (line 531) | def _get_entry_exit_route_lanes(self, wp, route): method _create_behavior (line 567) | def _create_behavior(self): method _create_test_criteria (line 597) | def _create_test_criteria(self): method __del__ (line 607) | def __del__(self): class InterurbanAdvancedActorFlow (line 614) | class InterurbanAdvancedActorFlow(BasicScenario): method __init__ (line 621) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method get_lane_key (line 650) | def get_lane_key(self, waypoint): method _get_junction_entry_wp (line 653) | def _get_junction_entry_wp(self, entry_wp): method _get_junction_exit_wp (line 661) | def _get_junction_exit_wp(self, exit_wp): method _initialize_actors (line 669) | def _initialize_actors(self, config): method _create_behavior (line 729) | def _create_behavior(self): method _create_test_criteria (line 764) | def _create_test_criteria(self): method __del__ (line 774) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/background_activity.py function get_lane_key (line 31) | def get_lane_key(waypoint): function get_road_key (line 36) | def get_road_key(waypoint): function is_lane_at_road (line 41) | def is_lane_at_road(lane_key, road_key): function get_lane_key_from_ids (line 45) | def get_lane_key_from_ids(road_id, lane_id): function draw_string (line 77) | def draw_string(world, location, string='', debug_type=DEBUG_ROAD, persi... function draw_point (line 85) | def draw_point(world, location, point_type=DEBUG_SMALL, debug_type=DEBUG... function draw_arrow (line 93) | def draw_arrow(world, location1, location2, arrow_type=DEBUG_SMALL, debu... class Source (line 104) | class Source(object): method __init__ (line 110) | def __init__(self, wp, actors, entry_lane_wp='', active=True): # pyli... class Junction (line 120) | class Junction(object): method __init__ (line 126) | def __init__(self, junction, junction_id, route_entry_index=None, rout... method contains_wp (line 154) | def contains_wp(self, wp): class BackgroundBehavior (line 165) | class BackgroundBehavior(AtomicBehavior): method __init__ (line 170) | def __init__(self, ego_actor, route, debug=False, name="BackgroundBeha... method _get_route_data (line 262) | def _get_route_data(self, route): method _get_road_radius (line 282) | def _get_road_radius(self): method initialise (line 292) | def initialise(self): method update (line 302) | def update(self): method terminate (line 344) | def terminate(self, new_status): method _check_background_actors (line 351) | def _check_background_actors(self): method _create_junction_dict (line 362) | def _create_junction_dict(self): method _get_junctions_data (line 371) | def _get_junctions_data(self): method _filter_fake_junctions (line 414) | def _filter_fake_junctions(self, data): method _get_complex_junctions (line 492) | def _get_complex_junctions(self): method _join_complex_junctions (line 537) | def _join_complex_junctions(self, filtered_data): method _get_fake_lane_pairs (line 580) | def _get_fake_lane_pairs(self, fake_data): method _get_junction_entry_wp (line 604) | def _get_junction_entry_wp(self, entry_wp): method _get_junction_exit_wp (line 614) | def _get_junction_exit_wp(self, exit_wp): method _get_closest_junction_waypoint (line 623) | def _get_closest_junction_waypoint(self, waypoint, junction_wps): method _is_route_wp_behind_junction_wp (line 645) | def _is_route_wp_behind_junction_wp(self, route_wp, junction_wp): method _add_junctions_topology (line 655) | def _add_junctions_topology(self, route_data): method _is_junction (line 819) | def _is_junction(self, waypoint): method _add_actor_dict_element (line 828) | def _add_actor_dict_element(self, actor_dict, actor, exit_lane_key='',... method _switch_to_junction_mode (line 841) | def _switch_to_junction_mode(self, junction): method _end_junction_behavior (line 873) | def _end_junction_behavior(self, junction): method _search_for_next_junction (line 937) | def _search_for_next_junction(self): method _initialise_connecting_lanes (line 949) | def _initialise_connecting_lanes(self, junction): method _monitor_incoming_junctions (line 965) | def _monitor_incoming_junctions(self): method _monitor_ego_junction_exit (line 986) | def _monitor_ego_junction_exit(self): method _add_incoming_actors (line 995) | def _add_incoming_actors(self, junction, source): method _move_road_sources (line 1025) | def _move_road_sources(self, prev_ego_index): method _update_road_sources (line 1063) | def _update_road_sources(self): method _initialise_road_behavior (line 1121) | def _initialise_road_behavior(self, road_wps): method _initialise_opposite_sources (line 1158) | def _initialise_opposite_sources(self): method _initialise_road_checker (line 1185) | def _initialise_road_checker(self): method _initialise_junction_sources (line 1204) | def _initialise_junction_sources(self, junction): method _initialise_junction_exits (line 1242) | def _initialise_junction_exits(self, junction): method _update_junction_sources (line 1298) | def _update_junction_sources(self): method _monitor_topology_changes (line 1339) | def _monitor_topology_changes(self, prev_index): method _move_opposite_sources (line 1510) | def _move_opposite_sources(self, prev_index): method _update_opposite_sources (line 1578) | def _update_opposite_sources(self): method _update_parameters (line 1609) | def _update_parameters(self): method _compute_parameters (line 1733) | def _compute_parameters(self): method _stop_road_front_vehicles (line 1740) | def _stop_road_front_vehicles(self): method _start_road_front_vehicles (line 1755) | def _start_road_front_vehicles(self): method _stop_road_back_vehicles (line 1767) | def _stop_road_back_vehicles(self): method _start_road_back_vehicles (line 1778) | def _start_road_back_vehicles(self): method _move_actors_forward (line 1786) | def _move_actors_forward(self, actors, space): method _switch_route_sources (line 1802) | def _switch_route_sources(self, enabled): method _leave_space_in_front (line 1815) | def _leave_space_in_front(self, space): method _leave_crossing_space (line 1839) | def _leave_crossing_space(self, collision_wp): method _remove_road_lane (line 1860) | def _remove_road_lane(self, lane_wp): method _readd_road_lane (line 1874) | def _readd_road_lane(self, lane_offset): method _handle_junction_scenario (line 1936) | def _handle_junction_scenario(self, junction_data): method _clear_junction_middle (line 1964) | def _clear_junction_middle(self): method _clear_ego_entry (line 1977) | def _clear_ego_entry(self): method _remove_junction_entries (line 1999) | def _remove_junction_entries(self, wps): method _remove_junction_exits (line 2034) | def _remove_junction_exits(self, wps): method _stop_non_ego_route_entries (line 2067) | def _stop_non_ego_route_entries(self): method _extent_road_exit_space (line 2086) | def _extent_road_exit_space(self, space): method _initialise_actor (line 2109) | def _initialise_actor(self, actor): method _spawn_actor (line 2119) | def _spawn_actor(self, spawn_wp, ego_dist=0): method _spawn_actors (line 2140) | def _spawn_actors(self, spawn_wps, ego_dist=0): method _spawn_source_actor (line 2164) | def _spawn_source_actor(self, source, ego_dist=20): method _is_location_behind_ego (line 2185) | def _is_location_behind_ego(self, location): method _update_road_actors (line 2194) | def _update_road_actors(self): method _set_road_actor_speed (line 2236) | def _set_road_actor_speed(self, location, actor, multiplier=1): method _monitor_road_changes (line 2260) | def _monitor_road_changes(self, prev_route_index): method _update_junction_actors (line 2366) | def _update_junction_actors(self): method _update_opposite_actors (line 2471) | def _update_opposite_actors(self): method _set_actors_speed (line 2495) | def _set_actors_speed(self): method _remove_actor_info (line 2509) | def _remove_actor_info(self, actor): method _destroy_actor (line 2547) | def _destroy_actor(self, actor): method _update_ego_data (line 2556) | def _update_ego_data(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/background_activity_parametrizer.py function get_parameter (line 19) | def get_parameter(config, name): class BackgroundActivityParametrizer (line 25) | class BackgroundActivityParametrizer(BasicScenario): method __init__ (line 32) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 62) | def _create_behavior(self): method _create_test_criteria (line 77) | def _create_test_criteria(self): method __del__ (line 84) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/basic_scenario.py class BasicScenario (line 28) | class BasicScenario(object): method __init__ (line 34) | def __init__(self, name, ego_vehicles, config, world, method _initialize_environment (line 138) | def _initialize_environment(self, world): method _initialize_actors (line 161) | def _initialize_actors(self, config): method _setup_scenario_trigger (line 174) | def _setup_scenario_trigger(self, config): method _setup_scenario_end (line 194) | def _setup_scenario_end(self, config): method _create_behavior (line 211) | def _create_behavior(self): method _create_test_criteria (line 219) | def _create_test_criteria(self): method _create_weather_behavior (line 228) | def _create_weather_behavior(self): method _create_lights_behavior (line 236) | def _create_lights_behavior(self): method _create_timeout_behavior (line 244) | def _create_timeout_behavior(self): method change_control (line 251) | def change_control(self, control): # pylint: disable=no-self-use method get_criteria (line 261) | def get_criteria(self): method _extract_nodes_from_tree (line 277) | def _extract_nodes_from_tree(self, tree): # pylint: disable=no-self-use method terminate (line 297) | def terminate(self): method remove_all_actors (line 319) | def remove_all_actors(self): method get_parking_slots (line 332) | def get_parking_slots(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/blocked_intersection.py function convert_dict_to_location (line 32) | def convert_dict_to_location(actor_dict): class BlockedIntersection (line 44) | class BlockedIntersection(BasicScenario): method __init__ (line 50) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 78) | def _initialize_actors(self, config): method _create_behavior (line 103) | def _create_behavior(self): method _create_test_criteria (line 136) | def _create_test_criteria(self): method __del__ (line 146) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/change_lane.py class ChangeLane (line 36) | class ChangeLane(BasicScenario): method __init__ (line 50) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 111) | def _create_behavior(self): method _create_test_criteria (line 164) | def _create_test_criteria(self): method __del__ (line 177) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/construction_crash_vehicle.py function get_value_parameter (line 33) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 39) | def get_interval_parameter(config, name, p_type, default): class ConstructionObstacle (line 48) | class ConstructionObstacle(BasicScenario): method __init__ (line 58) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 86) | def _initialize_actors(self, config): method _move_waypoint_forward (line 98) | def _move_waypoint_forward(self, wp, distance): method _spawn_side_prop (line 109) | def _spawn_side_prop(self, wp): method _create_cones_side (line 135) | def _create_cones_side(self, start_transform, forward_vector, z_inc=0,... method _create_construction_setup (line 155) | def _create_construction_setup(self, start_transform, lane_width): method _create_behavior (line 217) | def _create_behavior(self): method _create_test_criteria (line 253) | def _create_test_criteria(self): method __del__ (line 263) | def __del__(self): class ConstructionObstacleTwoWays (line 270) | class ConstructionObstacleTwoWays(ConstructionObstacle): method __init__ (line 274) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 279) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/control_loss.py class ControlLoss (line 29) | class ControlLoss(BasicScenario): method __init__ (line 37) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 59) | def _initialize_actors(self, config): method _get_noise_parameters (line 106) | def _get_noise_parameters(self): method _create_behavior (line 115) | def _create_behavior(self): method _create_test_criteria (line 162) | def _create_test_criteria(self): method __del__ (line 171) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/cross_bicycle_flow.py function convert_dict_to_location (line 27) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 39) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 46) | def get_interval_parameter(config, name, p_type, default): class CrossingBicycleFlow (line 55) | class CrossingBicycleFlow(BasicScenario): method __init__ (line 62) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 94) | def _initialize_actors(self, config): method _get_traffic_lights (line 141) | def _get_traffic_lights(self, tls, ego_dist): method _create_behavior (line 157) | def _create_behavior(self): method _create_test_criteria (line 192) | def _create_test_criteria(self): method __del__ (line 202) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/cut_in.py class CutIn (line 32) | class CutIn(BasicScenario): method __init__ (line 41) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 68) | def _initialize_actors(self, config): method _create_behavior (line 91) | def _create_behavior(self): method _create_test_criteria (line 142) | def _create_test_criteria(self): method __del__ (line 154) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/cut_in_with_static_vehicle.py function get_value_parameter (line 29) | def get_value_parameter(config, name, p_type, default): class StaticCutIn (line 36) | class StaticCutIn(BasicScenario): method __init__ (line 43) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 83) | def _initialize_actors(self, config): method _create_behavior (line 204) | def _create_behavior(self): method _create_test_criteria (line 258) | def _create_test_criteria(self): method __del__ (line 267) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/follow_leading_vehicle.py class FollowLeadingVehicle (line 41) | class FollowLeadingVehicle(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 87) | def _initialize_actors(self, config): method _create_behavior (line 97) | def _create_behavior(self): method _create_test_criteria (line 139) | def _create_test_criteria(self): method __del__ (line 152) | def __del__(self): class FollowLeadingVehicleWithObstacle (line 159) | class FollowLeadingVehicleWithObstacle(BasicScenario): method __init__ (line 170) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 193) | def _initialize_actors(self, config): method _create_behavior (line 234) | def _create_behavior(self): method _create_test_criteria (line 292) | def _create_test_criteria(self): method __del__ (line 305) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/freeride.py class FreeRide (line 19) | class FreeRide(BasicScenario): method __init__ (line 25) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _setup_scenario_trigger (line 39) | def _setup_scenario_trigger(self, config): method _create_behavior (line 44) | def _create_behavior(self): method _create_test_criteria (line 51) | def _create_test_criteria(self): method __del__ (line 64) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/green_traffic_light.py class PriorityAtJunction (line 22) | class PriorityAtJunction(BasicScenario): method __init__ (line 30) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 47) | def _initialize_actors(self, config): method _get_traffic_lights (line 67) | def _get_traffic_lights(self, junction, junction_dist): method _create_behavior (line 78) | def _create_behavior(self): method _create_test_criteria (line 87) | def _create_test_criteria(self): method __del__ (line 94) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/hard_break.py class HardBreakRoute (line 24) | class HardBreakRoute(BasicScenario): method __init__ (line 34) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 50) | def _initialize_actors(self, config): method _create_behavior (line 56) | def _create_behavior(self): method _create_test_criteria (line 70) | def _create_test_criteria(self): method __del__ (line 76) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/highway_cut_in.py function convert_dict_to_location (line 30) | def convert_dict_to_location(actor_dict): class HighwayCutIn (line 41) | class HighwayCutIn(BasicScenario): method __init__ (line 48) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 92) | def _create_behavior(self): method _create_test_criteria (line 130) | def _create_test_criteria(self): method __del__ (line 139) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/invading_turn.py function convert_dict_to_location (line 29) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 41) | def get_value_parameter(config, name, p_type, default): class InvadingTurn (line 48) | class InvadingTurn(BasicScenario): method __init__ (line 57) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 88) | def _initialize_actors(self, config): method _create_obstacle (line 112) | def _create_obstacle(self): method _create_behavior (line 139) | def _create_behavior(self): method _create_test_criteria (line 168) | def _create_test_criteria(self): method __del__ (line 178) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/left_turn_enter_flow.py function get_value_parameter (line 30) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 36) | def get_interval_parameter(config, name, p_type, default): class JunctionLeftTurnEnterFlow (line 46) | class JunctionLeftTurnEnterFlow(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 135) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 148) | def __del__(self): class SignalizedJunctionLeftTurnEnterFlow (line 155) | class SignalizedJunctionLeftTurnEnterFlow(JunctionLeftTurnEnterFlow): method __init__ (line 162) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 168) | def _initialize_actors(self, config): method _create_behavior (line 192) | def _create_behavior(self): class NonSignalizedJunctionLeftTurnEnterFlow (line 232) | class NonSignalizedJunctionLeftTurnEnterFlow(JunctionLeftTurnEnterFlow): method __init__ (line 239) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 245) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/maneuver_opposite_direction.py class ManeuverOppositeDirection (line 32) | class ManeuverOppositeDirection(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 118) | def _create_behavior(self): method _create_test_criteria (line 156) | def _create_test_criteria(self): method __del__ (line 168) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/no_signal_junction_crossing.py class NoSignalJunctionCrossing (line 28) | class NoSignalJunctionCrossing(BasicScenario): method __init__ (line 46) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 63) | def _initialize_actors(self, config): method _create_behavior (line 77) | def _create_behavior(self): method _create_test_criteria (line 148) | def _create_test_criteria(self): method __del__ (line 160) | def __del__(self): class NoSignalJunctionCrossingRoute (line 167) | class NoSignalJunctionCrossingRoute(BasicScenario): method __init__ (line 175) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 192) | def _create_behavior(self): method _create_test_criteria (line 201) | def _create_test_criteria(self): method __del__ (line 208) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/object_crash_intersection.py function get_sidewalk_transform (line 37) | def get_sidewalk_transform(waypoint, offset): class BaseVehicleTurning (line 58) | class BaseVehicleTurning(BasicScenario): method __init__ (line 70) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_target_waypoint (line 100) | def _get_target_waypoint(self): method _initialize_actors (line 114) | def _initialize_actors(self, config): method _create_behavior (line 160) | def _create_behavior(self): method _create_test_criteria (line 201) | def _create_test_criteria(self): method __del__ (line 208) | def __del__(self): class VehicleTurningRight (line 215) | class VehicleTurningRight(BaseVehicleTurning): method __init__ (line 221) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... class VehicleTurningLeft (line 231) | class VehicleTurningLeft(BaseVehicleTurning): method __init__ (line 237) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... class VehicleTurningRoute (line 247) | class VehicleTurningRoute(BaseVehicleTurning): method __init__ (line 253) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_test_criteria (line 262) | def _create_test_criteria(self): class VehicleTurningRoutePedestrian (line 269) | class VehicleTurningRoutePedestrian(BasicScenario): method __init__ (line 281) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 303) | def _initialize_actors(self, config): method _create_behavior (line 368) | def _create_behavior(self): method _create_test_criteria (line 402) | def _create_test_criteria(self): method __del__ (line 409) | def __del__(self): method _replace_walker (line 417) | def _replace_walker(self, adversary): method _setup_scenario_trigger (line 430) | def _setup_scenario_trigger(self, config): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/object_crash_vehicle.py function get_value_parameter (line 34) | def get_value_parameter(config, name, p_type, default): class StationaryObjectCrossing (line 41) | class StationaryObjectCrossing(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 95) | def _create_behavior(self): method _create_test_criteria (line 122) | def _create_test_criteria(self): method __del__ (line 134) | def __del__(self): class DynamicObjectCrossing (line 141) | class DynamicObjectCrossing(BasicScenario): method __init__ (line 152) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_sidewalk_transform (line 193) | def _get_sidewalk_transform(self, waypoint, offset): method _initialize_actors (line 217) | def _initialize_actors(self, config): method _create_behavior (line 293) | def _create_behavior(self): method _create_test_criteria (line 333) | def _create_test_criteria(self): method __del__ (line 342) | def __del__(self): method _replace_walker (line 350) | def _replace_walker(self, adversary): method _setup_scenario_trigger (line 363) | def _setup_scenario_trigger(self, config): class ParkingCrossingPedestrian (line 379) | class ParkingCrossingPedestrian(BasicScenario): method __init__ (line 391) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_blocker_transform (line 426) | def _get_blocker_transform(self, waypoint): method _get_walker_transform (line 441) | def _get_walker_transform(self, waypoint): method _initialize_actors (line 460) | def _initialize_actors(self, config): method _create_behavior (line 501) | def _create_behavior(self): method _create_test_criteria (line 540) | def _create_test_criteria(self): method __del__ (line 549) | def __del__(self): method _replace_walker (line 557) | def _replace_walker(self, walker): method _setup_scenario_trigger (line 570) | def _setup_scenario_trigger(self, config): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/open_scenario.py function repeatable_behavior (line 27) | def repeatable_behavior(behaviour, name=None): class ClearBlackboardVariablesStartingWith (line 48) | class ClearBlackboardVariablesStartingWith(py_trees.behaviours.Success): method __init__ (line 58) | def __init__(self, method initialise (line 65) | def initialise(self): class StoryElementStatusToBlackboard (line 75) | class StoryElementStatusToBlackboard(Decorator): method __init__ (line 86) | def __init__(self, child, story_element_type, element_name): method initialise (line 92) | def initialise(self): method update (line 103) | def update(self): method terminate (line 110) | def terminate(self, new_status): function get_xml_path (line 149) | def get_xml_path(tree, node): class OpenScenario (line 172) | class OpenScenario(BasicScenario): method __init__ (line 178) | def __init__(self, world, ego_vehicles, config, config_file, debug_mod... method _initialize_parameters (line 192) | def _initialize_parameters(self): method _initialize_environment (line 218) | def _initialize_environment(self, world): method _create_environment_behavior (line 224) | def _create_environment_behavior(self): method _create_init_behavior (line 239) | def _create_init_behavior(self): method _create_behavior (line 275) | def _create_behavior(self): method _create_weather_behavior (line 443) | def _create_weather_behavior(self): method _create_condition_container (line 449) | def _create_condition_container(self, node, story, name='Conditions Gr... method _create_test_criteria (line 483) | def _create_test_criteria(self): method __del__ (line 503) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py class OppositeVehicleJunction (line 39) | class OppositeVehicleJunction(BasicScenario): method __init__ (line 45) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 77) | def _initialize_actors(self, config): method _create_behavior (line 155) | def _create_behavior(self): method _create_test_criteria (line 158) | def _create_test_criteria(self): method __del__ (line 167) | def __del__(self): class OppositeVehicleRunningRedLight (line 174) | class OppositeVehicleRunningRedLight(OppositeVehicleJunction): method __init__ (line 179) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 187) | def _initialize_actors(self, config): method _create_behavior (line 202) | def _create_behavior(self): class OppositeVehicleTakingPriority (line 256) | class OppositeVehicleTakingPriority(OppositeVehicleJunction): method __init__ (line 261) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 269) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/other_leading_vehicle.py class OtherLeadingVehicle (line 33) | class OtherLeadingVehicle(BasicScenario): method __init__ (line 43) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 69) | def _initialize_actors(self, config): method _create_behavior (line 91) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 150) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/parking_cut_in.py class ParkingCutIn (line 26) | class ParkingCutIn(BasicScenario): method __init__ (line 33) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 66) | def _initialize_actors(self, config): method _get_displaced_location (line 115) | def _get_displaced_location(self, actor, wp): method _create_behavior (line 131) | def _create_behavior(self): method _create_test_criteria (line 170) | def _create_test_criteria(self): method __del__ (line 179) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/parking_exit.py function convert_dict_to_location (line 30) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 42) | def get_value_parameter(config, name, p_type, default): class ParkingExit (line 49) | class ParkingExit(BasicScenario): method __init__ (line 62) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 108) | def _initialize_actors(self, config): method _get_displaced_location (line 168) | def _get_displaced_location(self, actor, wp): method _create_behavior (line 184) | def _create_behavior(self): method _create_test_criteria (line 215) | def _create_test_criteria(self): method __del__ (line 225) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/pedestrian_crossing.py function convert_dict_to_location (line 30) | def convert_dict_to_location(actor_dict): class PedestrianCrossing (line 42) | class PedestrianCrossing(BasicScenario): method __init__ (line 54) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _get_walker_transform (line 86) | def _get_walker_transform(self, wp, displacement): method _initialize_actors (line 106) | def _initialize_actors(self, config): method _create_behavior (line 150) | def _create_behavior(self): method _create_test_criteria (line 203) | def _create_test_criteria(self): method __del__ (line 212) | def __del__(self): method _replace_walker (line 220) | def _replace_walker(self, walker): method _setup_scenario_trigger (line 233) | def _setup_scenario_trigger(self, config): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/route_obstacles.py function get_value_parameter (line 36) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 42) | def get_interval_parameter(config, name, p_type, default): class Accident (line 52) | class Accident(BasicScenario): method __init__ (line 59) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _move_waypoint_forward (line 90) | def _move_waypoint_forward(self, wp, distance): method _spawn_side_prop (line 101) | def _spawn_side_prop(self, wp): method _spawn_obstacle (line 127) | def _spawn_obstacle(self, wp, blueprint, accident_actor=False): method _initialize_actors (line 149) | def _initialize_actors(self, config): method _create_behavior (line 188) | def _create_behavior(self): method _create_test_criteria (line 220) | def _create_test_criteria(self): method __del__ (line 230) | def __del__(self): class AccidentTwoWays (line 237) | class AccidentTwoWays(Accident): method __init__ (line 241) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 246) | def _create_behavior(self): class ParkedObstacle (line 284) | class ParkedObstacle(BasicScenario): method __init__ (line 290) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _move_waypoint_forward (line 318) | def _move_waypoint_forward(self, wp, distance): method _spawn_side_prop (line 329) | def _spawn_side_prop(self, wp): method _spawn_obstacle (line 355) | def _spawn_obstacle(self, wp, blueprint): method _initialize_actors (line 373) | def _initialize_actors(self, config): method _create_behavior (line 394) | def _create_behavior(self): method _create_test_criteria (line 425) | def _create_test_criteria(self): method __del__ (line 435) | def __del__(self): class ParkedObstacleTwoWays (line 442) | class ParkedObstacleTwoWays(ParkedObstacle): method __init__ (line 446) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 451) | def _create_behavior(self): class HazardAtSideLane (line 490) | class HazardAtSideLane(BasicScenario): method __init__ (line 496) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _move_waypoint_forward (line 532) | def _move_waypoint_forward(self, wp, distance): method _spawn_obstacle (line 543) | def _spawn_obstacle(self, wp, blueprint): method _initialize_actors (line 558) | def _initialize_actors(self, config): method _create_behavior (line 591) | def _create_behavior(self): method _create_test_criteria (line 641) | def _create_test_criteria(self): method __del__ (line 651) | def __del__(self): class HazardAtSideLaneTwoWays (line 658) | class HazardAtSideLaneTwoWays(HazardAtSideLane): method __init__ (line 662) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 668) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/route_scenario.py class RouteScenario (line 54) | class RouteScenario(BasicScenario): method __init__ (line 61) | def __init__(self, world, config, debug_mode=False, criteria_enable=Tr... method _get_route (line 84) | def _get_route(self, config): method _filter_scenarios (line 101) | def _filter_scenarios(self, scenario_configs): method _spawn_ego_vehicle (line 120) | def _spawn_ego_vehicle(self): method _estimate_route_timeout (line 131) | def _estimate_route_timeout(self): method _draw_waypoints (line 145) | def _draw_waypoints(self, world, waypoints, vertical_shift, size, pers... method _scenario_sampling (line 175) | def _scenario_sampling(self, potential_scenarios, random_seed=0): method get_all_scenario_classes (line 187) | def get_all_scenario_classes(self): method _build_scenarios (line 208) | def _build_scenarios(self, world, ego_vehicle, scenario_definitions, s... method _initialize_actors (line 250) | def _initialize_actors(self, config): method _create_behavior (line 258) | def _create_behavior(self): method _create_test_criteria (line 292) | def _create_test_criteria(self): method _create_weather_behavior (line 328) | def _create_weather_behavior(self): method _create_lights_behavior (line 336) | def _create_lights_behavior(self): method _create_timeout_behavior (line 342) | def _create_timeout_behavior(self): method _initialize_environment (line 348) | def _initialize_environment(self, world): method _create_criterion_tree (line 355) | def _create_criterion_tree(self, scenario, criteria): method __del__ (line 380) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/sequentially_lane_change.py class SequentialLaneChange (line 19) | class SequentialLaneChange(BasicScenario): method __init__ (line 21) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 35) | def _initialize_actors(self, config): method _create_behavior (line 38) | def _create_behavior(self): method _create_test_criteria (line 47) | def _create_test_criteria(self): method __del__ (line 58) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/signalized_junction_left_turn.py function get_value_parameter (line 30) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 36) | def get_interval_parameter(config, name, p_type, default): class JunctionLeftTurn (line 46) | class JunctionLeftTurn(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 135) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 148) | def __del__(self): class SignalizedJunctionLeftTurn (line 155) | class SignalizedJunctionLeftTurn(JunctionLeftTurn): method __init__ (line 162) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 166) | def _initialize_actors(self, config): method _create_behavior (line 190) | def _create_behavior(self): class NonSignalizedJunctionLeftTurn (line 229) | class NonSignalizedJunctionLeftTurn(JunctionLeftTurn): method __init__ (line 236) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 240) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/signalized_junction_right_turn.py function get_value_parameter (line 32) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 38) | def get_interval_parameter(config, name, p_type, default): class JunctionRightTurn (line 48) | class JunctionRightTurn(BasicScenario): method __init__ (line 54) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 86) | def _initialize_actors(self, config): method _create_behavior (line 140) | def _create_behavior(self): method _create_test_criteria (line 143) | def _create_test_criteria(self): method __del__ (line 153) | def __del__(self): class SignalizedJunctionRightTurn (line 160) | class SignalizedJunctionRightTurn(JunctionRightTurn): method __init__ (line 165) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 169) | def _initialize_actors(self, config): method _create_behavior (line 190) | def _create_behavior(self): class NonSignalizedJunctionRightTurn (line 225) | class NonSignalizedJunctionRightTurn(JunctionRightTurn): method __init__ (line 230) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 234) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/t_junction.py class T_Junction (line 19) | class T_Junction(BasicScenario): method __init__ (line 26) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 40) | def _initialize_actors(self, config): method _create_behavior (line 43) | def _create_behavior(self): method _create_test_criteria (line 52) | def _create_test_criteria(self): method __del__ (line 63) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/vanilla_turn.py function get_value_parameter (line 30) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 36) | def get_interval_parameter(config, name, p_type, default): class VanillaJunctionTurn (line 46) | class VanillaJunctionTurn(BasicScenario): method __init__ (line 53) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 76) | def _initialize_actors(self, config): method _create_behavior (line 92) | def _create_behavior(self): method _create_test_criteria (line 95) | def _create_test_criteria(self): method __del__ (line 105) | def __del__(self): class VanillaSignalizedTurnEncounterGreenLight (line 112) | class VanillaSignalizedTurnEncounterGreenLight(VanillaJunctionTurn): method __init__ (line 119) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 123) | def _initialize_actors(self, config): method _create_behavior (line 144) | def _create_behavior(self): class VanillaSignalizedTurnEncounterGreenLightLong (line 162) | class VanillaSignalizedTurnEncounterGreenLightLong(VanillaJunctionTurn): method __init__ (line 169) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 173) | def _initialize_actors(self, config): method _create_behavior (line 194) | def _create_behavior(self): class VanillaNonSignalizedTurn (line 212) | class VanillaNonSignalizedTurn(VanillaJunctionTurn): method __init__ (line 219) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 223) | def _create_behavior(self): class VanillaSignalizedTurnEncounterRedLight (line 240) | class VanillaSignalizedTurnEncounterRedLight(VanillaJunctionTurn): method __init__ (line 247) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 252) | def _initialize_actors(self, config): method _create_behavior (line 273) | def _create_behavior(self): class VanillaSignalizedTurnEncounterRedLightLong (line 291) | class VanillaSignalizedTurnEncounterRedLightLong(VanillaJunctionTurn): method __init__ (line 298) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 303) | def _initialize_actors(self, config): method _create_behavior (line 324) | def _create_behavior(self): class VanillaNonSignalizedTurnEncounterStopsign (line 342) | class VanillaNonSignalizedTurnEncounterStopsign(VanillaJunctionTurn): method __init__ (line 349) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 353) | def _create_behavior(self): class VanillaNonSignalizedTurnEncounterStopsignLong (line 370) | class VanillaNonSignalizedTurnEncounterStopsignLong(VanillaJunctionTurn): method __init__ (line 377) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 381) | def _create_behavior(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/vehicle_opens_door.py function get_value_parameter (line 36) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 43) | def get_interval_parameter(config, name, p_type, default): class VehicleOpensDoorTwoWays (line 53) | class VehicleOpensDoorTwoWays(BasicScenario): method __init__ (line 58) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_displaced_location (line 86) | def _get_displaced_location(self, actor, wp): method _move_waypoint_forward (line 102) | def _move_waypoint_forward(self, wp, distance): method _initialize_actors (line 113) | def _initialize_actors(self, config): method _create_behavior (line 149) | def _create_behavior(self): method _create_test_criteria (line 200) | def _create_test_criteria(self): method __del__ (line 210) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/scenarios/yield_to_emergency_vehicle.py class YieldToEmergencyVehicle (line 30) | class YieldToEmergencyVehicle(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 82) | def _initialize_actors(self, config): method _create_behavior (line 110) | def _create_behavior(self): method _create_test_criteria (line 161) | def _create_test_criteria(self): method __del__ (line 173) | def __del__(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py class BasicAgent (line 20) | class BasicAgent(object): method __init__ (line 28) | def __init__(self, vehicle, target_speed=20, opt_dict={}): method add_emergency_stop (line 73) | def add_emergency_stop(self, control): method set_target_speed (line 85) | def set_target_speed(self, speed): method follow_speed_limits (line 92) | def follow_speed_limits(self, value=True): method get_local_planner (line 100) | def get_local_planner(self): method get_global_planner (line 104) | def get_global_planner(self): method set_destination (line 108) | def set_destination(self, end_location, start_location=None): method set_global_plan (line 131) | def set_global_plan(self, plan, stop_waypoint_creation=True, clean_que... method trace_route (line 145) | def trace_route(self, start_waypoint, end_waypoint): method run_step (line 156) | def run_step(self): method done (line 185) | def done(self): method ignore_traffic_lights (line 189) | def ignore_traffic_lights(self, active=True): method ignore_stop_signs (line 193) | def ignore_stop_signs(self, active=True): method ignore_vehicles (line 197) | def ignore_vehicles(self, active=True): method _affected_by_traffic_light (line 201) | def _affected_by_traffic_light(self, lights_list=None, max_distance=No... method _vehicle_obstacle_detected (line 251) | def _vehicle_obstacle_detected(self, vehicle_list=None, max_distance=N... FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py class BehaviorAgent (line 20) | class BehaviorAgent(BasicAgent): method __init__ (line 33) | def __init__(self, vehicle, behavior='normal'): method _update_information (line 65) | def _update_information(self): method _vehicle_obstacle_detected (line 84) | def _vehicle_obstacle_detected(self, vehicle_list, proximity_th, up_an... method traffic_light_manager (line 140) | def traffic_light_manager(self): method _tailgating (line 150) | def _tailgating(self, waypoint, vehicle_list): method collision_and_car_avoid_manager (line 188) | def collision_and_car_avoid_manager(self, waypoint): method pedestrian_avoid_manager (line 225) | def pedestrian_avoid_manager(self, waypoint): method car_following_manager (line 253) | def car_following_manager(self, vehicle, distance, debug=False): method run_step (line 296) | def run_step(self, debug=False): method emergency_stop (line 364) | def emergency_stop(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_types.py class Cautious (line 7) | class Cautious(object): class Normal (line 18) | class Normal(object): class Aggressive (line 29) | class Aggressive(object): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py class VehiclePIDController (line 15) | class VehiclePIDController(): method __init__ (line 23) | def __init__(self, vehicle, args_lateral, args_longitudinal, offset=0,... method run_step (line 54) | def run_step(self, target_speed, waypoint): method change_longitudinal_PID (line 95) | def change_longitudinal_PID(self, args_longitudinal): method change_lateral_PID (line 99) | def change_lateral_PID(self, args_lateral): class PIDLongitudinalController (line 104) | class PIDLongitudinalController(): method __init__ (line 109) | def __init__(self, vehicle, K_P=1.0, K_I=0.0, K_D=0.0, dt=0.03): method run_step (line 126) | def run_step(self, target_speed, debug=False): method _pid_control (line 141) | def _pid_control(self, target_speed, current_speed): method change_parameters (line 162) | def change_parameters(self, K_P, K_I, K_D, dt): class PIDLateralController (line 170) | class PIDLateralController(): method __init__ (line 175) | def __init__(self, vehicle, offset=0, K_P=1.0, K_I=0.0, K_D=0.0, dt=0.... method run_step (line 195) | def run_step(self, waypoint): method _pid_control (line 207) | def _pid_control(self, waypoint, vehicle_transform): method change_parameters (line 253) | def change_parameters(self, K_P, K_I, K_D, dt): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py class GlobalRoutePlanner (line 19) | class GlobalRoutePlanner(object): method __init__ (line 24) | def __init__(self, wmap, sampling_resolution): method trace_route (line 41) | def trace_route(self, origin, destination): method _build_topology (line 84) | def _build_topology(self): method _build_graph (line 118) | def _build_graph(self): method _find_loose_ends (line 173) | def _find_loose_ends(self): method _lane_change_link (line 217) | def _lane_change_link(self): method _localize (line 259) | def _localize(self, location): method _distance_heuristic (line 272) | def _distance_heuristic(self, n1, n2): method _path_search (line 281) | def _path_search(self, origin, destination): method _successive_last_intersection_edge (line 298) | def _successive_last_intersection_edge(self, index, route): method _turn_decision (line 320) | def _turn_decision(self, index, route, threshold=math.radians(35)): method _find_closest_in_list (line 382) | def _find_closest_in_list(self, current_waypoint, waypoint_list): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py class RoadOption (line 17) | class RoadOption(Enum): class LocalPlanner (line 31) | class LocalPlanner(object): method __init__ (line 43) | def __init__(self, vehicle, opt_dict={}): method reset_vehicle (line 110) | def reset_vehicle(self): method _init_controller (line 114) | def _init_controller(self): method set_speed (line 129) | def set_speed(self, speed): method follow_speed_limits (line 141) | def follow_speed_limits(self, value=True): method _compute_next_waypoints (line 150) | def _compute_next_waypoints(self, k=1): method set_global_plan (line 181) | def set_global_plan(self, current_plan, stop_waypoint_creation=True, c... method run_step (line 208) | def run_step(self, debug=False): method get_incoming_waypoint_and_direction (line 262) | def get_incoming_waypoint_and_direction(self, steps=3): method done (line 278) | def done(self): function _retrieve_options (line 287) | def _retrieve_options(list_waypoints, current_waypoint): function _compute_connection (line 309) | def _compute_connection(current_waypoint, next_waypoint, threshold=35): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py function draw_waypoints (line 15) | def draw_waypoints(world, waypoints, z=0.5): function get_speed (line 31) | def get_speed(vehicle): function get_trafficlight_trigger_location (line 42) | def get_trafficlight_trigger_location(traffic_light): function is_within_distance (line 66) | def is_within_distance(target_transform, reference_transform, max_distan... function compute_magnitude_angle (line 106) | def compute_magnitude_angle(target_location, current_location, orientati... function distance_vehicle (line 124) | def distance_vehicle(waypoint, vehicle_transform): function vector (line 138) | def vector(location_1, location_2): function compute_distance (line 152) | def compute_distance(location_1, location_2): function positive (line 165) | def positive(num): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/carla_mocks/carla.py class command (line 15) | class command: method SpawnActor (line 18) | def SpawnActor(blueprint, point): method SetSimulatePhysics (line 23) | def SetSimulatePhysics(blueprint, physics): method FutureActor (line 26) | def FutureActor(): method ApplyTransform (line 29) | def ApplyTransform(): method SetAutopilot (line 32) | def SetAutopilot(actor, autopilot, port): method SetVehicleLightState (line 35) | def SetVehicleLightState(): method DestroyActor (line 38) | def DestroyActor(actor): method then (line 41) | def then(self, other_command): class CarlaBluePrint (line 45) | class CarlaBluePrint(object): method __init__ (line 47) | def __init__(self): method has_attribute (line 51) | def has_attribute(self, attribute_string=''): method set_attribute (line 54) | def set_attribute(self, key, value): method has_tag (line 57) | def has_tag(self, tag_string=''): class CarlaBluePrintLibrary (line 61) | class CarlaBluePrintLibrary: method filter (line 62) | def filter(self, filterstring): method __len__ (line 65) | def __len__(self): method find (line 68) | def find(self, filterstring): class GeoLocation (line 72) | class GeoLocation: class Vector3D (line 77) | class Vector3D: method __init__ (line 82) | def __init__(self, x=0, y=0, z=0): class Location (line 88) | class Location(): method __init__ (line 93) | def __init__(self, x=0, y=0, z=0): method distance (line 98) | def distance(self, other): class Rotation (line 102) | class Rotation(): method __init__ (line 107) | def __init__(self, pitch=0, roll=0, yaw=0): method get_forward_vector (line 112) | def get_forward_vector(self): class Transform (line 116) | class Transform: method __init__ (line 120) | def __init__(self, location=Location(0, 0, 0), rotation=Rotation(0, 0,... class Waypoint (line 125) | class Waypoint(): class Map (line 133) | class Map: method get_spawn_points (line 136) | def get_spawn_points(self): method transform_to_geolocation (line 139) | def transform_to_geolocation(self, transform): method get_waypoint (line 142) | def get_waypoint(self, transform): method get_waypoint_xodr (line 145) | def get_waypoint_xodr(self, a, b, c): method get_topology (line 148) | def get_topology(self): class TrafficLightState (line 152) | class TrafficLightState: class WeatherParameters (line 159) | class WeatherParameters: class WorldSettings (line 176) | class WorldSettings: class ActorList (line 187) | class ActorList: method __init__ (line 189) | def __init__(self, actor_list): method filter (line 192) | def filter(self, filterstring): method __len__ (line 195) | def __len__(self): method __getitem__ (line 198) | def __getitem__(self, i): class Control (line 202) | class Control: class Actor (line 208) | class Actor: method __init__ (line 210) | def __init__(self): method get_transform (line 219) | def get_transform(self): method get_location (line 222) | def get_location(self): method get_world (line 225) | def get_world(self): method get_control (line 228) | def get_control(self): method destroy (line 231) | def destroy(self): method listen (line 234) | def listen(self, callback): class Walker (line 238) | class Walker(Actor): class Vehicle (line 242) | class Vehicle(Actor): class World (line 246) | class World: method get_settings (line 249) | def get_settings(self): method get_map (line 252) | def get_map(self): method get_blueprint_library (line 255) | def get_blueprint_library(self): method wait_for_tick (line 258) | def wait_for_tick(self): method get_actors (line 261) | def get_actors(self, ids=[]): method try_spawn_actor (line 269) | def try_spawn_actor(self, blueprint, spawn_point): method spawn_actor (line 276) | def spawn_actor(self, blueprint, spawn_point, attach_to): class Client (line 281) | class Client: method load_world (line 284) | def load_world(self, name): method get_world (line 287) | def get_world(self): method get_trafficmanager (line 290) | def get_trafficmanager(self, port): method apply_batch_sync (line 293) | def apply_batch_sync(self, batch, sync_mode=False): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tests/test_xosc_load.py class TestLoadingXOSC (line 20) | class TestLoadingXOSC(TestCase): method test_all_xosc (line 25) | def test_all_xosc(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/background_manager.py class ChangeRoadBehavior (line 18) | class ChangeRoadBehavior(AtomicBehavior): method __init__ (line 29) | def __init__(self, num_front_vehicles=None, num_back_vehicles=None, sp... method update (line 36) | def update(self): class ChangeOppositeBehavior (line 43) | class ChangeOppositeBehavior(AtomicBehavior): method __init__ (line 53) | def __init__(self, source_dist=None, spawn_dist=None, active=None, nam... method update (line 59) | def update(self): class ChangeJunctionBehavior (line 66) | class ChangeJunctionBehavior(AtomicBehavior): method __init__ (line 76) | def __init__(self, source_dist=None, spawn_dist=None, max_actors=None,... method update (line 83) | def update(self): class SetMaxSpeed (line 90) | class SetMaxSpeed(AtomicBehavior): method __init__ (line 95) | def __init__(self, max_speed, name="SetMaxSpeed"): method update (line 99) | def update(self): class StopFrontVehicles (line 104) | class StopFrontVehicles(AtomicBehavior): method __init__ (line 110) | def __init__(self, name="StopFrontVehicles"): method update (line 113) | def update(self): class StartFrontVehicles (line 118) | class StartFrontVehicles(AtomicBehavior): method __init__ (line 124) | def __init__(self, name="StartFrontVehicles"): method update (line 127) | def update(self): class StopBackVehicles (line 132) | class StopBackVehicles(AtomicBehavior): method __init__ (line 137) | def __init__(self, name="StopBackVehicles"): method update (line 140) | def update(self): class StartBackVehicles (line 146) | class StartBackVehicles(AtomicBehavior): method __init__ (line 150) | def __init__(self, name="StartBackVehicles"): method update (line 153) | def update(self): class LeaveSpaceInFront (line 159) | class LeaveSpaceInFront(AtomicBehavior): method __init__ (line 164) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 168) | def update(self): method __init__ (line 230) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 234) | def update(self): class SwitchRouteSources (line 174) | class SwitchRouteSources(AtomicBehavior): method __init__ (line 178) | def __init__(self, enabled=True, name="SwitchRouteSources"): method update (line 182) | def update(self): class RemoveRoadLane (line 188) | class RemoveRoadLane(AtomicBehavior): method __init__ (line 197) | def __init__(self, lane_wp, name="RemoveRoadLane"): method update (line 201) | def update(self): class ReAddRoadLane (line 207) | class ReAddRoadLane(AtomicBehavior): method __init__ (line 215) | def __init__(self, offset, name="BA_ReAddRoadLane"): method update (line 219) | def update(self): class LeaveSpaceInFront (line 225) | class LeaveSpaceInFront(AtomicBehavior): method __init__ (line 164) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 168) | def update(self): method __init__ (line 230) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 234) | def update(self): class LeaveCrossingSpace (line 240) | class LeaveCrossingSpace(AtomicBehavior): method __init__ (line 245) | def __init__(self, collision_wp, name="LeaveCrossingSpace"): method update (line 249) | def update(self): class HandleJunctionScenario (line 254) | class HandleJunctionScenario(AtomicBehavior): method __init__ (line 268) | def __init__(self, clear_junction=True, clear_ego_entry=True, remove_e... method update (line 279) | def update(self): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/openscenario_parser.py function oneshot_with_check (line 77) | def oneshot_with_check(variable_name, behaviour, name=None): class ParameterRef (line 90) | class ParameterRef: method __init__ (line 96) | def __init__(self, reference_text) -> None: method is_literal (line 101) | def is_literal(self) -> bool: method is_parameter (line 107) | def is_parameter(self) -> bool: method _is_matching (line 113) | def _is_matching(self, pattern: str) -> bool: method get_interpreted_value (line 123) | def get_interpreted_value(self): method __float__ (line 137) | def __float__(self) -> float: method __int__ (line 144) | def __int__(self) -> int: method __str__ (line 151) | def __str__(self) -> str: method __repr__ (line 155) | def __repr__(self): method __radd__ (line 159) | def __radd__(self, other) -> bool: method __add__ (line 162) | def __add__(self, other) -> bool: method __rsub__ (line 165) | def __rsub__(self, other) -> bool: method __sub__ (line 168) | def __sub__(self, other) -> bool: method __rmul__ (line 171) | def __rmul__(self, other) -> bool: method __mul__ (line 174) | def __mul__(self, other) -> bool: method __truediv__ (line 177) | def __truediv__(self, other) -> bool: method __rtruediv__ (line 180) | def __rtruediv__(self, other) -> bool: method __eq__ (line 183) | def __eq__(self, other) -> bool: method __ne__ (line 186) | def __ne__(self, other) -> bool: method __ge__ (line 189) | def __ge__(self, other) -> bool: method __le__ (line 192) | def __le__(self, other) -> bool: method __gt__ (line 195) | def __gt__(self, other) -> bool: method __lt__ (line 198) | def __lt__(self, other) -> bool: method __GE__ (line 201) | def __GE__(self, other) -> bool: # pylint: disable=invalid-name method __LE__ (line 204) | def __LE__(self, other) -> bool: # pylint: disable=invalid-name method __GT__ (line 207) | def __GT__(self, other) -> bool: # pylint: disable=invalid-name method __LT__ (line 210) | def __LT__(self, other) -> bool: # pylint: disable=invalid-name method __iadd__ (line 213) | def __iadd__(self, other) -> bool: method __isub__ (line 216) | def __isub__(self, other) -> bool: method __abs__ (line 219) | def __abs__(self): class OpenScenarioParser (line 223) | class OpenScenarioParser(object): method get_traffic_light_from_osc_name (line 255) | def get_traffic_light_from_osc_name(name): method set_osc_filepath (line 287) | def set_osc_filepath(filepath): method set_use_carla_coordinate_system (line 295) | def set_use_carla_coordinate_system(): method set_parameters (line 304) | def set_parameters(xml_tree, additional_parameter_dict=None): method set_global_parameters (line 342) | def set_global_parameters(parameter_dict): method get_catalog_entry (line 353) | def get_catalog_entry(catalogs, catalog_reference): method assign_catalog_parameters (line 373) | def assign_catalog_parameters(entry_instance, catalog_reference): method get_friction_from_env_action (line 414) | def get_friction_from_env_action(xml_tree, catalogs): method get_weather_from_env_action (line 448) | def get_weather_from_env_action(xml_tree, catalogs): method get_controller (line 504) | def get_controller(xml_tree, catalogs): method get_route (line 543) | def get_route(xml_tree, catalogs): method convert_position_to_transform (line 579) | def convert_position_to_transform(position, actor_list=None): method convert_condition_to_atomic (line 810) | def convert_condition_to_atomic(condition, actor_list): method convert_maneuver_to_atomic (line 1108) | def convert_maneuver_to_atomic(action, actor, actor_list, catalogs): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/py_trees_port.py class Decorator (line 18) | class Decorator(py_trees.behaviour.Behaviour): method __init__ (line 28) | def __init__(self, child, name): method tick (line 48) | def tick(self): method stop (line 74) | def stop(self, new_status=py_trees.common.Status.INVALID): method tip (line 91) | def tip(self): function oneshot_behavior (line 103) | def oneshot_behavior(variable_name, behaviour, name=None): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/route_manipulation.py function _location_to_gps (line 22) | def _location_to_gps(lat_ref, lon_ref, location): function location_route_to_gps (line 45) | def location_route_to_gps(route, lat_ref, lon_ref): function _get_latlon_ref (line 62) | def _get_latlon_ref(world): function downsample_route (line 87) | def downsample_route(route, sample_factor): function interpolate_trajectory (line 133) | def interpolate_trajectory(waypoints_trajectory, hop_resolution=1.0): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/route_parser.py function convert_elem_to_transform (line 24) | def convert_elem_to_transform(elem): class RouteParser (line 40) | class RouteParser(object): method parse_routes_file (line 47) | def parse_routes_file(route_filename, single_route_id=''): method parse_weather (line 99) | def parse_weather(route): method is_scenario_at_route (line 126) | def is_scenario_at_route(trigger_transform, route): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/scenario_helper.py function get_distance_along_route (line 25) | def get_distance_along_route(route, target_location): function get_crossing_point (line 121) | def get_crossing_point(actor): function get_geometric_linear_intersection (line 138) | def get_geometric_linear_intersection(ego_location, other_location, move... function get_location_in_distance (line 191) | def get_location_in_distance(actor, distance): function get_location_in_distance_from_wp (line 208) | def get_location_in_distance_from_wp(waypoint, distance, stop_at_junctio... function get_waypoint_in_distance (line 228) | def get_waypoint_in_distance(waypoint, distance, stop_at_junction=True): function generate_target_waypoint_list (line 247) | def generate_target_waypoint_list(waypoint, turn=0): function generate_target_waypoint_list_multilane (line 282) | def generate_target_waypoint_list_multilane(waypoint, change='left', # ... function generate_target_waypoint (line 364) | def generate_target_waypoint(waypoint, turn=0): function generate_target_waypoint_in_route (line 389) | def generate_target_waypoint_in_route(waypoint, route): function choose_at_junction (line 428) | def choose_at_junction(current_waypoint, next_choices, direction=0): function get_intersection (line 458) | def get_intersection(ego_actor, other_actor): function detect_lane_obstacle (line 491) | def detect_lane_obstacle(actor, extension_factor=3, margin=1.02): function get_junction_topology (line 528) | def get_junction_topology(junction): function filter_junction_wp_direction (line 574) | def filter_junction_wp_direction(reference_wp, wp_list, direction='oppos... function get_closest_traffic_light (line 602) | def get_closest_traffic_light(waypoint, traffic_lights=None): function get_offset_transform (line 626) | def get_offset_transform(transform, offset): function get_troad_from_transform (line 638) | def get_troad_from_transform(actor_transform): function get_distance_between_actors (line 688) | def get_distance_between_actors(current, target, distance_type="euclidia... function get_same_dir_lanes (line 740) | def get_same_dir_lanes(waypoint): function get_opposite_dir_lanes (line 770) | def get_opposite_dir_lanes(waypoint): class RotatedRectangle (line 805) | class RotatedRectangle(object): method __init__ (line 811) | def __init__(self, c_x, c_y, width, height, angle): method get_contour (line 818) | def get_contour(self): method intersection (line 828) | def intersection(self, other): FILE: close_loop/SparseDrive_MomAD/scenario_runner/srunner/tools/scenario_parser.py class ScenarioConfigurationParser (line 22) | class ScenarioConfigurationParser(object): method parse_scenario_configuration (line 29) | def parse_scenario_configuration(scenario_name, additional_config_file... method get_list_of_scenarios (line 98) | def get_list_of_scenarios(additional_config_file_name): FILE: close_loop/SparseDrive_MomAD/tools/ability_benchmark.py function get_infraction_status (line 20) | def get_infraction_status(record): function update_Ability (line 28) | def update_Ability(scenario_name, Ability_Statistic, status): function update_Success (line 36) | def update_Success(scenario_name, Success_Statistic, status): function get_position (line 48) | def get_position(xml_route): function get_route_result (line 53) | def get_route_result(records, route_id): function get_waypoint_route (line 60) | def get_waypoint_route(locs, grp): function main (line 70) | def main(args): FILE: close_loop/SparseDrive_MomAD/tools/data_collect.py class Env_Manager (line 18) | class Env_Manager(): method tick (line 22) | def tick(self, input_data): method _preprocess_sensor_spec (line 247) | def _preprocess_sensor_spec(self, sensor_spec): method setup_sensors (line 396) | def setup_sensors(self): method sensors (line 430) | def sensors(self): method _get_position (line 699) | def _get_position(self, tick_data): method get_target_gps (line 704) | def get_target_gps(self, gps, compass): method save (line 740) | def save(self, near_node, far_node, near_command, far_command, tick_da... method _point_inside_boundingbox (line 826) | def _point_inside_boundingbox(self, point, bb_center, bb_extent, multi... method affected_by_traffic_light (line 842) | def affected_by_traffic_light(self, traffic_light, center, window_size... method get_traffic_color (line 851) | def get_traffic_color(self, state): method get_affect_sign (line 864) | def get_affect_sign(self, actors): method get_actor_filter_traffic_sign (line 914) | def get_actor_filter_traffic_sign(self): method get_actor_filter_traffic_light (line 929) | def get_actor_filter_traffic_light(self): method get_actor_filter_vehicle (line 1019) | def get_actor_filter_vehicle(self): method _get_forward_speed (line 1045) | def _get_forward_speed(self, transform=None, velocity=None): method get_sensors_anno (line 1059) | def get_sensors_anno(self): method get_bounding_boxes (line 1127) | def get_bounding_boxes(self, lidar=None, radar=None): method polar_to_cartesian (line 1584) | def polar_to_cartesian(self, altitude, azimuth, depth): method get_radar_points_in_bbox (line 1595) | def get_radar_points_in_bbox(self, vehicle_pos, vehicle_yaw, extent, r... method get_lidar_points_in_bbox (line 1621) | def get_lidar_points_in_bbox(self, vehicle_pos, vehicle_yaw, extent, l... method gps_to_location (line 1644) | def gps_to_location(self, gps): method _get_latlon_ref (line 1655) | def _get_latlon_ref(self): FILE: close_loop/SparseDrive_MomAD/tools/efficiency_smoothness_benchmark.py function chunk_arrays (line 32) | def chunk_arrays(arrays, m): function chunk_array (line 36) | def chunk_array(arr, m): function seg_compute_comfort_metric (line 40) | def seg_compute_comfort_metric(acceleration, function compute_comfort_metric (line 65) | def compute_comfort_metric( function _approximate_derivatives (line 168) | def _approximate_derivatives( function _within_bound (line 196) | def _within_bound( function _phase_unwrap (line 214) | def _phase_unwrap(headings): function read_from_json (line 237) | def read_from_json(filepath, metric_dir=None): FILE: close_loop/SparseDrive_MomAD/tools/gen_hdmap.py function check_waypoints_status (line 13) | def check_waypoints_status(waypoints_list): class TriggerVolumeGettor (line 32) | class TriggerVolumeGettor(object): method get_global_bbx (line 35) | def get_global_bbx(actor, bbx): method get_corners_from_actor_list (line 43) | def get_corners_from_actor_list(actor_list): method insert_point_into_dict (line 58) | def insert_point_into_dict(lane_marking_dict, corners, road_id, parent... method get_stop_sign_trigger_volume (line 71) | def get_stop_sign_trigger_volume(all_stop_sign_actors, lane_marking_di... method get_traffic_light_trigger_volume (line 89) | def get_traffic_light_trigger_volume(all_trafficlight_actors, lane_mar... class LankMarkingGettor (line 144) | class LankMarkingGettor(object): method get_lanemarkings (line 167) | def get_lanemarkings(carla_map, lane_marking_dict={}, pixels_per_meter... method get_lane_markings_two_side (line 191) | def get_lane_markings_two_side(waypoints, lane_marking_dict): method get_connected_road_id (line 303) | def get_connected_road_id(waypoint): method insert_element_into_dict (line 311) | def insert_element_into_dict(id, element, lane_marking_dict): method get_lateral_shifted_transform (line 319) | def get_lateral_shifted_transform(transform, shift): FILE: close_loop/SparseDrive_MomAD/tools/generate_video.py function create_video (line 8) | def create_video(images_folder, output_video, fps, font_scale, text_colo... FILE: close_loop/SparseDrive_MomAD/tools/merge_route_json.py function merge_route_json (line 6) | def merge_route_json(folder_path): FILE: close_loop/SparseDrive_MomAD/tools/split_xml.py function split_list_into_n_parts (line 4) | def split_list_into_n_parts(lst, n): function main (line 8) | def main(base_route, task_num, algo, planner_type): FILE: close_loop/SparseDrive_MomAD/tools/utils.py function get_image_point (line 15) | def get_image_point(loc, K, w2c): function point_in_canvas_wh (line 38) | def point_in_canvas_wh(pos): function get_forward_vector (line 44) | def get_forward_vector(yaw): function calculate_cube_vertices (line 55) | def calculate_cube_vertices(center, extent): function draw_dashed_line (line 74) | def draw_dashed_line(img, start_point, end_point, color, thickness=1, da... function world_to_ego (line 103) | def world_to_ego(point_world, w2e): function vector_angle (line 109) | def vector_angle(v1, v2): function get_weather_id (line 118) | def get_weather_id(weather_conditions): function compute_2d_distance (line 134) | def compute_2d_distance(loc1, loc2): function build_projection_matrix (line 137) | def build_projection_matrix(w, h, fov, is_behind_camera=False): function convert_depth (line 150) | def convert_depth(data): function get_relative_transform (line 160) | def get_relative_transform(ego_matrix, vehicle_matrix): function normalize_angle (line 175) | def normalize_angle(x): function build_skeleton (line 181) | def build_skeleton(ped, sk_links): function get_matrix (line 203) | def get_matrix(location, rotation): FILE: close_loop/SparseDrive_MomAD/tools/visualize.py function visualize_data (line 13) | def visualize_data(file_path, map_path, vis_bbox=True, vis_top_down=Tru... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/analysis_tools/analyze_logs.py function cal_train_time (line 10) | def cal_train_time(log_dicts, args): function plot_curve (line 33) | def plot_curve(log_dicts, args): function add_plot_parser (line 112) | 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 188) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/analysis_tools/benchmark.py function parse_args (line 17) | def parse_args(): function main (line 33) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/analysis_tools/visual.py function render_annotation (line 46) | def render_annotation( function get_sample_data (line 147) | def get_sample_data(sample_data_token: str, function get_predicted_data (line 210) | def get_predicted_data(sample_data_token: str, function lidiar_render (line 275) | def lidiar_render(sample_token, data,out_path=None): function get_color (line 320) | def get_color(category_name: str): function render_sample_data (line 351) | def render_sample_data( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/apis/mmdet_train.py function custom_train_detector (line 25) | def custom_train_detector(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/apis/test.py function custom_encode_mask_results (line 24) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 44) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 115) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 162) | def collect_results_gpu(result_part, size): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/apis/train.py function custom_train_model (line 9) | def custom_train_model(model, function train_model (line 36) | def train_model(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/create_data.py function kitti_data_prep (line 17) | def kitti_data_prep(root_path, info_prefix, version, out_dir): function nuscenes_data_prep (line 52) | def nuscenes_data_prep(root_path, function lyft_data_prep (line 93) | def lyft_data_prep(root_path, info_prefix, version, max_sweeps=10): function scannet_data_prep (line 111) | def scannet_data_prep(root_path, info_prefix, out_dir, workers): function s3dis_data_prep (line 124) | def s3dis_data_prep(root_path, info_prefix, out_dir, workers): function sunrgbd_data_prep (line 137) | def sunrgbd_data_prep(root_path, info_prefix, out_dir, workers): function waymo_data_prep (line 150) | def waymo_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/create_gt_database.py function _poly2mask (line 16) | def _poly2mask(mask_ann, img_h, img_w): function _parse_coco_ann_info (line 32) | def _parse_coco_ann_info(ann_info): function crop_image_patch_v2 (line 69) | def crop_image_patch_v2(pos_proposals, pos_assigned_gt_inds, gt_masks): function crop_image_patch (line 89) | def crop_image_patch(pos_proposals, gt_masks, pos_assigned_gt_inds, org_... function create_groundtruth_database (line 109) | def create_groundtruth_database(dataset_class_name, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/indoor_converter.py function create_indoor_info_file (line 11) | def create_indoor_info_file(data_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/kitti_converter.py function convert_to_kitti_info_version2 (line 15) | def convert_to_kitti_info_version2(info): function _read_imageset_file (line 40) | def _read_imageset_file(path): function _calculate_num_points_in_gt (line 46) | def _calculate_num_points_in_gt(data_path, function create_kitti_info_file (line 87) | def create_kitti_info_file(data_path, function create_waymo_info_file (line 151) | def create_waymo_info_file(data_path, function _create_reduced_point_cloud (line 232) | def _create_reduced_point_cloud(data_path, function create_reduced_point_cloud (line 291) | def create_reduced_point_cloud(data_path, function export_2d_annotation (line 334) | def export_2d_annotation(root_path, info_path, mono3d=True): function get_2d_boxes (line 381) | def get_2d_boxes(info, occluded, mono3d=True): function generate_record (line 492) | def generate_record(ann_rec, x1, y1, x2, y2, sample_data_token, filename): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/kitti_data_utils.py function get_image_index_str (line 10) | def get_image_index_str(img_idx, use_prefix_id=False): function get_kitti_info_path (line 17) | def get_kitti_info_path(idx, function get_image_path (line 40) | def get_image_path(idx, function get_label_path (line 51) | def get_label_path(idx, function get_velodyne_path (line 62) | def get_velodyne_path(idx, function get_calib_path (line 72) | def get_calib_path(idx, function get_pose_path (line 82) | def get_pose_path(idx, function get_label_anno (line 92) | def get_label_anno(label_path): function _extend_matrix (line 136) | def _extend_matrix(mat): function get_kitti_image_info (line 141) | def get_kitti_image_info(path, function get_waymo_image_info (line 265) | def get_waymo_image_info(path, function kitti_anno_to_label_file (line 444) | def kitti_anno_to_label_file(annos, folder): function add_difficulty_to_annos (line 467) | def add_difficulty_to_annos(info): function kitti_result_line (line 512) | def kitti_result_line(result_dict, precision=4): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/lyft_converter.py function create_lyft_infos (line 18) | def create_lyft_infos(root_path, function _fill_trainval_infos (line 93) | def _fill_trainval_infos(lyft, function export_2d_annotation (line 214) | def export_2d_annotation(root_path, info_path, version): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/lyft_data_fixer.py function fix_lyft (line 7) | def fix_lyft(root_folder='./data/lyft', version='v1.01'): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/nuimage_converter.py function parse_args (line 32) | def parse_args(): function get_img_annos (line 63) | def get_img_annos(nuim, img_info, cat2id, out_dir, data_root, seg_root): function export_nuim_to_coco (line 150) | def export_nuim_to_coco(nuim, data_root, out_dir, extra_tag, version, np... function main (line 215) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/nuscenes_converter.py function create_nuscenes_infos (line 32) | def create_nuscenes_infos(root_path, function get_available_scenes (line 115) | def get_available_scenes(nusc): function _get_can_bus_info (line 156) | def _get_can_bus_info(nusc, nusc_can_bus, sample): function _fill_trainval_infos (line 181) | def _fill_trainval_infos(nusc, function obtain_sensor2top (line 322) | def obtain_sensor2top(nusc, function export_2d_annotation (line 384) | def export_2d_annotation(root_path, info_path, version, mono3d=True): function get_2d_boxes (line 448) | def get_2d_boxes(nusc, function post_process_coords (line 580) | def post_process_coords( function generate_record (line 613) | def generate_record(ann_rec: dict, x1: float, y1: float, x2: float, y2: ... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/s3dis_data_utils.py class S3DISData (line 9) | class S3DISData(object): method __init__ (line 19) | def __init__(self, root_path, split='Area_1'): method __len__ (line 42) | def __len__(self): method get_infos (line 45) | def get_infos(self, num_workers=4, has_label=True, sample_id_list=None): method get_bboxes (line 112) | def get_bboxes(self, points, pts_instance_mask, pts_semantic_mask): class S3DISSegData (line 151) | class S3DISSegData(object): method __init__ (line 163) | def __init__(self, method get_seg_infos (line 189) | def get_seg_infos(self): method _convert_to_label (line 201) | def _convert_to_label(self, mask): method get_scene_idxs_and_label_weight (line 211) | def get_scene_idxs_and_label_weight(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/scannet_data_utils.py class ScanNetData (line 9) | class ScanNetData(object): method __init__ (line 19) | def __init__(self, root_path, split='train'): method __len__ (line 44) | def __len__(self): method get_aligned_box_label (line 47) | def get_aligned_box_label(self, idx): method get_unaligned_box_label (line 53) | def get_unaligned_box_label(self, idx): method get_axis_align_matrix (line 59) | def get_axis_align_matrix(self, idx): method get_images (line 65) | def get_images(self, idx): method get_extrinsics (line 73) | def get_extrinsics(self, idx): method get_intrinsics (line 81) | def get_intrinsics(self, idx): method get_infos (line 87) | def get_infos(self, num_workers=4, has_label=True, sample_id_list=None): class ScanNetSegData (line 198) | class ScanNetSegData(object): method __init__ (line 210) | def __init__(self, method get_seg_infos (line 239) | def get_seg_infos(self): method _convert_to_label (line 253) | def _convert_to_label(self, mask): method get_scene_idxs_and_label_weight (line 263) | def get_scene_idxs_and_label_weight(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/sunrgbd_data_utils.py function random_sampling (line 9) | def random_sampling(points, num_points, replace=None, return_choices=Fal... class SUNRGBDInstance (line 33) | class SUNRGBDInstance(object): method __init__ (line 35) | def __init__(self, line): class SUNRGBDData (line 59) | class SUNRGBDData(object): method __init__ (line 70) | def __init__(self, root_path, split='train', use_v1=False): method __len__ (line 95) | def __len__(self): method get_image (line 98) | def get_image(self, idx): method get_image_shape (line 102) | def get_image_shape(self, idx): method get_depth (line 106) | def get_depth(self, idx): method get_calibration (line 111) | def get_calibration(self, idx): method get_label_objects (line 120) | def get_label_objects(self, idx): method get_infos (line 126) | def get_infos(self, num_workers=4, has_label=True, sample_id_list=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/data_converter/waymo_converter.py class Waymo2KITTI (line 23) | class Waymo2KITTI(object): method __init__ (line 38) | def __init__(self, method convert (line 92) | def convert(self): method convert_one (line 99) | def convert_one(self, file_idx): method __len__ (line 128) | def __len__(self): method save_image (line 132) | def save_image(self, frame, file_idx, frame_idx): method save_calib (line 147) | def save_calib(self, frame, file_idx, frame_idx): method save_lidar (line 203) | def save_lidar(self, frame, file_idx, frame_idx): method save_label (line 253) | def save_label(self, frame, file_idx, frame_idx): method save_pose (line 353) | def save_pose(self, frame, file_idx, frame_idx): method create_folder (line 372) | def create_folder(self): method convert_range_image_to_point_cloud (line 392) | def convert_range_image_to_point_cloud(self, method cart_to_homo (line 500) | def cart_to_homo(self, mat): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/fp16/train.py function parse_args (line 27) | def parse_args(): function main (line 96) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/misc/browse_dataset.py function parse_args (line 15) | def parse_args(): function build_data_cfg (line 53) | def build_data_cfg(config_path, skip_type, cfg_options): function to_depth_mode (line 79) | def to_depth_mode(points, bboxes): function show_det_data (line 90) | def show_det_data(idx, dataset, out_dir, filename, show=False): function show_seg_data (line 107) | def show_seg_data(idx, dataset, out_dir, filename, show=False): function show_proj_bbox_img (line 124) | def show_proj_bbox_img(idx, function main (line 184) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/misc/print_config.py function parse_args (line 6) | def parse_args(): function main (line 16) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/misc/visualize_results.py function parse_args (line 9) | def parse_args(): function main (line 21) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/bevformer/apis/mmdet_train.py function custom_train_detector (line 30) | def custom_train_detector(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/bevformer/apis/test.py function custom_encode_mask_results (line 25) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 45) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 116) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 163) | def collect_results_gpu(result_part, size): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/bevformer/apis/train.py function custom_train_model (line 9) | def custom_train_model(model, function train_model (line 36) | def train_model(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/bevformer/hooks/custom_hooks.py class TransferWeight (line 5) | class TransferWeight(Hook): method __init__ (line 7) | def __init__(self, every_n_inters=1): method after_train_iter (line 10) | def after_train_iter(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/datasets/nuscenes.py function _compute_iou (line 80) | def _compute_iou(box1, box2): class NuscenesDataset (line 99) | class NuscenesDataset(Dataset): method __init__ (line 100) | def __init__(self, name, data_root, datum_names=CAMERA_NAMES, min_num_... method _build_dataset_item_info (line 122) | def _build_dataset_item_info(self, name): method _get_split_scenes (line 142) | def _get_split_scenes(self, name): method __len__ (line 158) | def __len__(self): method _build_id (line 161) | def _build_id(self, scene_name, sample_idx, datum_name): method _index_instance_tokens (line 166) | def _index_instance_tokens(self): method get_instance_annotations (line 176) | def get_instance_annotations(self, annotation_list, K, image_shape, po... method _get_ego_velocity (line 252) | def _get_ego_velocity(self, current, max_time_diff=1.5): method __getitem__ (line 290) | def __getitem__(self, idx): method getitem_by_datumtoken (line 328) | def getitem_by_datumtoken(self, datum_token): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/datasets/transform_utils.py function transform_instance_annotations (line 16) | def transform_instance_annotations( function _create_empty_instances (line 73) | def _create_empty_instances(image_size): function annotations_to_instances (line 83) | def annotations_to_instances( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/layers/iou_loss.py class IOULoss (line 8) | class IOULoss(nn.Module): method __init__ (line 17) | def __init__(self, loc_loss_type='iou'): method forward (line 21) | def forward(self, pred, target, weight=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/layers/normalization.py class Scale (line 12) | class Scale(nn.Module): method __init__ (line 13) | def __init__(self, init_value=1.0): method forward (line 17) | def forward(self, input): class Offset (line 21) | class Offset(nn.Module): method __init__ (line 22) | def __init__(self, init_value=0.): method forward (line 26) | def forward(self, input): class ModuleListDial (line 30) | class ModuleListDial(nn.ModuleList): method __init__ (line 31) | def __init__(self, modules=None): method forward (line 35) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/layers/smooth_l1_loss.py function smooth_l1_loss (line 9) | def smooth_l1_loss(input: torch.Tensor, target: torch.Tensor, beta: floa... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/modeling/core.py class DD3D (line 21) | class DD3D(nn.Module): method __init__ (line 22) | def __init__(self, method forward (line 88) | def forward(self, features, batched_inputs): method compute_locations (line 204) | def compute_locations(self, features): method forward_train (line 215) | def forward_train(self, features, batched_inputs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/modeling/disentangled_box3d_loss.py class DisentangledBox3DLoss (line 12) | class DisentangledBox3DLoss(nn.Module): method __init__ (line 13) | def __init__(self, smooth_l1_loss_beta, max_loss_per_group): method forward (line 18) | def forward(self, box3d_pred, box3d_targets, locations, weights=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/modeling/fcos2d.py function get_world_size (line 21) | def get_world_size() -> int: function compute_ctrness_targets (line 28) | def compute_ctrness_targets(reg_targets): class FCOS2DHead (line 37) | class FCOS2DHead(nn.Module): method __init__ (line 38) | def __init__(self, method init_weights (line 125) | def init_weights(self): method forward (line 143) | def forward(self, x): class FCOS2DLoss (line 172) | class FCOS2DLoss(nn.Module): method __init__ (line 173) | def __init__(self, method forward (line 188) | def forward(self, logits, box2d_reg, centerness, targets): class FCOS2DInference (line 263) | class FCOS2DInference(): method __init__ (line 264) | def __init__(self, cfg): method __call__ (line 272) | def __call__(self, logits, box2d_reg, centerness, locations, image_siz... method forward_for_single_feature_map (line 291) | def forward_for_single_feature_map(self, logits, box2d_reg, centerness... method nms_and_top_k (line 367) | def nms_and_top_k(self, instances_per_im, score_key_for_nms="scores"): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/modeling/fcos3d.py function predictions_to_boxes3d (line 17) | def predictions_to_boxes3d( class FCOS3DHead (line 56) | class FCOS3DHead(nn.Module): method __init__ (line 57) | def __init__(self, method _init_weights (line 155) | def _init_weights(self): method forward (line 172) | def forward(self, x): class FCOS3DLoss (line 203) | class FCOS3DLoss(nn.Module): method __init__ (line 204) | def __init__(self, method forward (line 237) | def forward( class FCOS3DInference (line 330) | class FCOS3DInference(): method __init__ (line 331) | def __init__(self, cfg): method __call__ (line 343) | def __call__( method forward_for_single_feature_map (line 356) | def forward_for_single_feature_map( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/modeling/nuscenes_dd3d.py function get_world_size (line 22) | def get_world_size() -> int: class NuscenesDD3DTargetPreparer (line 29) | class NuscenesDD3DTargetPreparer(DD3DTargetPreparer): method __init__ (line 30) | def __init__(self, **kwargs): method __call__ (line 34) | def __call__(self, locations, gt_instances, feature_shapes): method compute_targets_for_locations (line 106) | def compute_targets_for_locations(self, locations, targets, size_range... class NuscenesLoss (line 207) | class NuscenesLoss(nn.Module): method __init__ (line 208) | def __init__(self, attr_loss_weight=0.2, speed_loss_weight=0.2): method forward (line 214) | def forward(self, attr_logits, speeds, fcos2d_info, targets): class NuscenesInference (line 285) | class NuscenesInference(): method __init__ (line 286) | def __init__(self, cfg): method __call__ (line 289) | def __call__(self, attr_logits, speeds, pred_instances, fcos2d_info): class NuscenesDD3D (line 317) | class NuscenesDD3D(DD3D): method __init__ (line 318) | def __init__(self, method forward (line 380) | def forward(self, features, batched_inputs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/modeling/prepare_targets.py class DD3DTargetPreparer (line 11) | class DD3DTargetPreparer(): method __init__ (line 12) | def __init__(self, method __call__ (line 35) | def __call__(self, locations, gt_instances, feature_shapes): method compute_targets_for_locations (line 101) | def compute_targets_for_locations(self, locations, targets, size_range... method get_sample_region (line 186) | def get_sample_region(self, boxes, num_loc_list, loc_xs, loc_ys): method _transpose (line 221) | def _transpose(self, training_targets, num_loc_list): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/structures/boxes3d.py function quaternion_to_matrix (line 17) | def quaternion_to_matrix(quaternions: torch.Tensor) -> torch.Tensor: function _to_tensor (line 47) | def _to_tensor(x, dim): class GenericBoxes3D (line 64) | class GenericBoxes3D(): method __init__ (line 65) | def __init__(self, quat, tvec, size): method tvec (line 71) | def tvec(self): method corners (line 76) | def corners(self): method from_vectors (line 99) | def from_vectors(cls, vecs, device="cpu"): method cat (line 126) | def cat(cls, boxes_list, dim=0): method split (line 141) | def split(self, split_sizes, dim=0): method __getitem__ (line 149) | def __getitem__(self, item): method __len__ (line 165) | def __len__(self): method clone (line 169) | def clone(self): method vectorize (line 174) | def vectorize(self): method device (line 179) | def device(self): method to (line 182) | def to(self, *args, **kwargs): class Boxes3D (line 189) | class Boxes3D(GenericBoxes3D): method __init__ (line 194) | def __init__(self, quat, proj_ctr, depth, size, inv_intrinsics): method tvec (line 202) | def tvec(self): method from_vectors (line 208) | def from_vectors(cls, vecs, intrinsics, device="cpu"): method cat (line 253) | def cat(cls, boxes_list, dim=0): method split (line 270) | def split(self, split_sizes, dim=0): method __getitem__ (line 280) | def __getitem__(self, item): method __len__ (line 304) | def __len__(self): method clone (line 308) | def clone(self): method to (line 315) | def to(self, *args, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/structures/image_list.py function _as_tensor (line 13) | def _as_tensor(x: Tuple[int, int]) -> torch.Tensor: class ImageList (line 26) | class ImageList(object): method __init__ (line 44) | def __init__(self, tensor: torch.Tensor, image_sizes: List[Tuple[int, ... method intrinsics (line 57) | def intrinsics(self): method image_paths (line 64) | def image_paths(self): method __len__ (line 67) | def __len__(self) -> int: method __getitem__ (line 70) | def __getitem__(self, idx) -> torch.Tensor: method to (line 84) | def to(self, *args: Any, **kwargs: Any) -> "ImageList": method device (line 89) | def device(self) -> device: method from_tensors (line 93) | def from_tensors( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/structures/pose.py class Pose (line 6) | class Pose: method __init__ (line 10) | def __init__(self, wxyz=np.float32([1., 0., 0., 0.]), tvec=np.float32(... method __repr__ (line 30) | def __repr__(self): method copy (line 35) | def copy(self): method __mul__ (line 45) | def __mul__(self, other): method __rmul__ (line 73) | def __rmul__(self, other): method inverse (line 76) | def inverse(self): method matrix (line 89) | def matrix(self): method rotation_matrix (line 102) | def rotation_matrix(self): method rotation (line 114) | def rotation(self): method translation (line 125) | def translation(self): method from_matrix (line 136) | def from_matrix(cls, transformation_matrix): method from_rotation_translation (line 151) | def from_rotation_translation(cls, rotation_matrix, tvec): method __eq__ (line 163) | def __eq__(self, other): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/structures/transform3d.py function make_device (line 16) | def make_device(device: Device) -> torch.device: function get_device (line 36) | def get_device(x, device: Optional[Device] = None) -> torch.device: function _safe_det_3x3 (line 62) | def _safe_det_3x3(t: torch.Tensor): function _axis_angle_rotation (line 84) | def _axis_angle_rotation(axis: str, angle: torch.Tensor) -> torch.Tensor: class Transform3d (line 113) | class Transform3d: method __init__ (line 238) | def __init__( method __len__ (line 275) | def __len__(self) -> int: method __getitem__ (line 278) | def __getitem__( method compose (line 294) | def compose(self, *others: "Transform3d") -> "Transform3d": method get_matrix (line 314) | def get_matrix(self) -> torch.Tensor: method _get_matrix_inverse (line 338) | def _get_matrix_inverse(self) -> torch.Tensor: method inverse (line 344) | def inverse(self, invert_composed: bool = False) -> "Transform3d": method stack (line 393) | def stack(self, *others: "Transform3d") -> "Transform3d": method transform_points (line 410) | def transform_points(self, points, eps: Optional[float] = None) -> tor... method transform_normals (line 455) | def transform_normals(self, normals) -> torch.Tensor: method translate (line 487) | def translate(self, *args, **kwargs) -> "Transform3d": method scale (line 492) | def scale(self, *args, **kwargs) -> "Transform3d": method rotate (line 497) | def rotate(self, *args, **kwargs) -> "Transform3d": method rotate_axis_angle (line 502) | def rotate_axis_angle(self, *args, **kwargs) -> "Transform3d": method clone (line 507) | def clone(self) -> "Transform3d": method to (line 522) | def to( method cpu (line 564) | def cpu(self) -> "Transform3d": method cuda (line 567) | def cuda(self) -> "Transform3d": class Translate (line 571) | class Translate(Transform3d): method __init__ (line 572) | def __init__( method _get_matrix_inverse (line 602) | def _get_matrix_inverse(self) -> torch.Tensor: class Scale (line 612) | class Scale(Transform3d): method __init__ (line 613) | def __init__( method _get_matrix_inverse (line 649) | def _get_matrix_inverse(self) -> torch.Tensor: class Rotate (line 659) | class Rotate(Transform3d): method __init__ (line 660) | def __init__( method _get_matrix_inverse (line 691) | def _get_matrix_inverse(self) -> torch.Tensor: class RotateAxisAngle (line 698) | class RotateAxisAngle(Rotate): method __init__ (line 699) | def __init__( function _handle_coord (line 738) | def _handle_coord(c, dtype: torch.dtype, device: torch.device) -> torch.... function _handle_input (line 757) | def _handle_input( function _handle_angle_input (line 823) | def _handle_angle_input( function _broadcast_bmm (line 843) | def _broadcast_bmm(a, b) -> torch.Tensor: function _check_valid_rotation_matrix (line 872) | def _check_valid_rotation_matrix(R, tol: float = 1e-7) -> None: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/utils/comm.py function get_world_size (line 12) | def get_world_size() -> int: function is_distributed (line 19) | def is_distributed(): function broadcast_from_master (line 23) | def broadcast_from_master(fn): function master_only (line 58) | def master_only(fn): function gather_dict (line 76) | def gather_dict(dikt): function reduce_sum (line 96) | def reduce_sum(tensor): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/utils/geometry.py function _sqrt_positive_part (line 14) | def _sqrt_positive_part(x: torch.Tensor) -> torch.Tensor: function matrix_to_quaternion (line 24) | def matrix_to_quaternion(matrix: torch.Tensor) -> torch.Tensor: function quaternion_to_matrix (line 77) | def quaternion_to_matrix(quaternions: torch.Tensor) -> torch.Tensor: function allocentric_to_egocentric (line 107) | def allocentric_to_egocentric(quat, proj_ctr, inv_intrinsics): function homogenize_points (line 150) | def homogenize_points(xy): function project_points3d (line 169) | def project_points3d(Xw, K): function unproject_points2d (line 178) | def unproject_points2d(points2d, inv_K, scale=1.0): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/utils/tasks.py class Task (line 7) | class Task(): method __init__ (line 8) | def __init__(self, name, is_detection_task, is_dense_prediction_task): class TaskManager (line 37) | class TaskManager(): method __init__ (line 39) | def __init__(self, box2d_on=False, box3d_on=False, depth_on=False): method tasks (line 61) | def tasks(self): method box2d_on (line 76) | def box2d_on(self): method box3d_on (line 80) | def box3d_on(self): method depth_on (line 84) | def depth_on(self): method has_dense_prediction_task (line 88) | def has_dense_prediction_task(self): method has_detection_task (line 92) | def has_detection_task(self): method task_names (line 96) | def task_names(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/utils/tensor2d.py function compute_features_locations (line 6) | def compute_features_locations(h, w, stride, dtype=torch.float32, device... function aligned_bilinear (line 28) | def aligned_bilinear(tensor, factor, offset="none"): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/dd3d/utils/visualization.py function fill_color_polygon (line 12) | def fill_color_polygon(image, polygon, color, alpha=0.5): function change_color_brightness (line 23) | def change_color_brightness(color, brightness_factor): function draw_text (line 52) | def draw_text(ax, text, position, *, font_size, color="g", horizontal_al... function float_to_uint8_color (line 96) | def float_to_uint8_color(float_clr): function mosaic (line 102) | def mosaic(items, scale=1.0, pad=3, grid_width=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/mmdet3d_plugin/models/hooks/hooks.py class GradChecker (line 6) | class GradChecker(Hook): method after_train_iter (line 8) | def after_train_iter(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/model_converters/convert_votenet_checkpoints.py function parse_args (line 11) | def parse_args(): function parse_config (line 20) | def parse_config(config_strings): function main (line 70) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/model_converters/publish_model.py function parse_args (line 7) | def parse_args(): function process_checkpoint (line 16) | def process_checkpoint(in_file, out_file): function main (line 29) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/model_converters/regnet2mmdet.py function convert_stem (line 7) | def convert_stem(model_key, model_weight, state_dict, converted_names): function convert_head (line 15) | def convert_head(model_key, model_weight, state_dict, converted_names): function convert_reslayer (line 22) | def convert_reslayer(model_key, model_weight, state_dict, converted_names): function convert (line 54) | def convert(src, dst): function main (line 80) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/test.py function parse_args (line 21) | def parse_args(): function main (line 103) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/bevformer/train.py function parse_args (line 30) | def parse_args(): function main (line 101) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/benchmark.py function parse_args (line 17) | def parse_args(): function get_max_memory (line 33) | def get_max_memory(model): function main (line 42) | def main(): function get_mem_fps (line 47) | def get_mem_fps(args): function get_flops_params (line 112) | def get_flops_params(args): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/data_converter/B2D_converter.py function point_in_canvas_hw (line 63) | def point_in_canvas_hw(pos): function calculate_cube_vertices (line 69) | def calculate_cube_vertices(center, extent): function calculate_occlusion_stats (line 84) | def calculate_occlusion_stats(bbox_points, depth, depth_map, max_render_... function point_is_occluded (line 116) | def point_is_occluded(point, vertex_depth, depth_map): function apply_trans (line 134) | def apply_trans(vec,world2ego): function get_pose_matrix (line 139) | def get_pose_matrix(dic): function get_npc2world (line 147) | def get_npc2world(npc): function get_global_trigger_vertex (line 163) | def get_global_trigger_vertex(center,extent,yaw_in_degree): function get_image_point (line 179) | def get_image_point(loc, K, w2c): function get_action (line 189) | def get_action(index): function gengrate_map (line 235) | def gengrate_map(map_root): function preprocess (line 281) | def preprocess(folder_list,idx,tmp_dir,train_or_val,map_infos): function get_map_anno (line 455) | def get_map_anno(ann_info, map_infos): function generate_infos (line 509) | def generate_infos(folder_list,workers,train_or_val,tmp_dir, map_infos): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/data_converter/nuscenes_converter.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 154) | def get_available_scenes(nusc): function _fill_trainval_infos (line 194) | def _fill_trainval_infos(nusc, function get_ego_status (line 419) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 441) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 453) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 514) | def nuscenes_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/data_converter/nuscenes_converter_1_10.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 160) | def get_available_scenes(nusc): function _fill_trainval_infos (line 200) | def _fill_trainval_infos(nusc, function get_ego_status (line 431) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 453) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 465) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 526) | def nuscenes_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/data_converter/nuscenes_converter_6s.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 154) | def get_available_scenes(nusc): function _fill_trainval_infos (line 194) | def _fill_trainval_infos(nusc, function get_ego_status (line 419) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 441) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 453) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 514) | def nuscenes_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/data_converter/nuscenes_converter_hrad_planing_scene.py function quart_to_rpy (line 43) | def quart_to_rpy(qua): function locate_message (line 50) | def locate_message(utimes, utime): function geom2anno (line 56) | def geom2anno(map_geoms): function create_nuscenes_infos (line 72) | def create_nuscenes_infos(root_path, function get_available_scenes (line 157) | def get_available_scenes(nusc): function _fill_trainval_infos (line 197) | def _fill_trainval_infos(nusc, function get_ego_status (line 427) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 449) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 461) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 522) | def nuscenes_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/fuse_conv_bn.py function fuse_conv_bn (line 11) | def fuse_conv_bn(conv, bn): function fuse_module (line 27) | def fuse_module(m): function parse_args (line 48) | def parse_args(): function main (line 58) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/kmeans/kmeans_motion.py function lidar2agent (line 24) | def lidar2agent(trajs_offset, boxes): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/test.py function parse_args (line 28) | def parse_args(): function main (line 125) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/train.py function parse_args (line 32) | def parse_args(): function main (line 118) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/train_single.py function parse_args (line 37) | def parse_args(): function main (line 123) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/visualization/bev_render.py function box3d_to_corners (line 10) | def box3d_to_corners(box3d): class BEVRender (line 109) | class BEVRender: method __init__ (line 110) | def __init__( method reset_canvas (line 125) | def reset_canvas(self): method render (line 132) | def render( method save_fig (line 163) | def save_fig(self, filename): method draw_detection_gt (line 169) | def draw_detection_gt(self, data): method draw_detection_pred (line 192) | def draw_detection_pred(self, result): method draw_track_pred (line 216) | def draw_track_pred(self, result): method draw_motion_gt (line 250) | def draw_motion_gt(self, data): method draw_motion_pred (line 276) | def draw_motion_pred(self, result, top_k=3): method draw_map_gt (line 310) | def draw_map_gt(self, data): method draw_map_pred (line 322) | def draw_map_pred(self, result): method draw_planning_gt (line 336) | def draw_planning_gt(self, data): method draw_planning_pred (line 351) | def draw_planning_pred(self, data, result, top_k=3): method _render_traj (line 393) | def _render_traj( method _render_sdc_car (line 416) | def _render_sdc_car(self): method _render_legend (line 422) | def _render_legend(self): method _render_command (line 427) | def _render_command(self, data): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/tools/visualization/cam_render.py class CamRender (line 37) | class CamRender: method __init__ (line 38) | def __init__( method reset_canvas (line 47) | def reset_canvas(self): method render (line 54) | def render( method load_image (line 69) | def load_image(self, data_path, cam): method update_image (line 79) | def update_image(self, image, index, cam): method get_axis (line 87) | def get_axis(self, index): method save_fig (line 91) | def save_fig(self, filename): method render_image_data (line 97) | def render_image_data(self, data, index): method draw_detection_pred (line 105) | def draw_detection_pred(self, data, result): method draw_motion_pred (line 148) | def draw_motion_pred(self, data, result, points_per_step=10): method draw_planning_pred (line 196) | def draw_planning_pred(self, data, result): method _render_traj (line 259) | def _render_traj(self, traj_points, cam_intrinsic, j, color=(1, 0.5, 0... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/sparsedrive/train.py function parse_args (line 41) | def parse_args(): function main (line 127) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/analyze_logs.py function cal_train_time (line 10) | def cal_train_time(log_dicts, args): function plot_curve (line 33) | def plot_curve(log_dicts, args): function add_plot_parser (line 112) | 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 188) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/benchmark.py function parse_args (line 16) | def parse_args(): function main (line 32) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/visualize/render/base_render.py class BaseRender (line 5) | class BaseRender: method __init__ (line 10) | def __init__( method reset_canvas (line 16) | def reset_canvas(self, dx=1, dy=1, tight_layout=False): method close_canvas (line 24) | def close_canvas(self): method save_fig (line 27) | def save_fig(self, filename): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/visualize/render/bev_render.py class BEVRender (line 11) | class BEVRender(BaseRender): method __init__ (line 16) | def __init__(self, method set_plot_cfg (line 26) | def set_plot_cfg(self): method render_sample_data (line 32) | def render_sample_data(self, canvas, sample_token): method render_anno_data (line 35) | def render_anno_data( method show_lidar_data (line 64) | def show_lidar_data( method render_pred_box_data (line 81) | def render_pred_box_data(self, agent_prediction_list): method render_pred_traj (line 94) | def render_pred_traj(self, agent_prediction_list, top_k=3): method render_pred_map_data (line 124) | def render_pred_map_data(self, predicted_map_seg): method render_occ_map_data (line 136) | def render_occ_map_data(self, agent_list): method render_occ_map_data_time (line 163) | def render_occ_map_data_time(self, agent_list, t): method render_planning_data (line 190) | def render_planning_data(self, predicted_planning, show_command=False): method render_planning_attn_mask (line 198) | def render_planning_attn_mask(self, predicted_planning): method render_hd_map (line 205) | def render_hd_map(self, nusc, nusc_maps, sample_token): method _render_traj (line 236) | def _render_traj(self, future_traj, traj_score=1, colormap='winter', p... method _render_command (line 252) | def _render_command(self, command): method render_sdc_car (line 256) | def render_sdc_car(self): method render_legend (line 261) | def render_legend(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/visualize/render/cam_render.py class CameraRender (line 22) | class CameraRender(BaseRender): method __init__ (line 27) | def __init__(self, method get_axis (line 34) | def get_axis(self, index): method project_to_cam (line 38) | def project_to_cam(self, method render_image_data (line 90) | def render_image_data(self, sample_token, nusc): method load_image (line 100) | def load_image(self, data_path, cam): method update_image (line 110) | def update_image(self, image, index, cam): method render_pred_track_bbox (line 118) | def render_pred_track_bbox(self, predicted_agent_list, sample_token, n... method render_pred_traj (line 147) | def render_pred_traj(self, predicted_agent_list, sample_token, nusc, r... method get_image_info (line 186) | def get_image_info(self, sample_data_token, nusc): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/visualize/run.py class Visualizer (line 24) | class Visualizer: method __init__ (line 29) | def __init__( method _parse_predictions_multitask_pkl (line 74) | def _parse_predictions_multitask_pkl(self, predroot): method visualize_bev (line 214) | def visualize_bev(self, sample_token, out_filename, t=None): method visualize_cam (line 249) | def visualize_cam(self, sample_token, out_filename): method combine (line 258) | def combine(self, out_filename): method to_video (line 266) | def to_video(self, folder_path, out_path, fps=4, downsample=1): function main (line 284) | def main(args): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/analysis_tools/visualize/utils.py class AgentPredictionData (line 80) | class AgentPredictionData: method __init__ (line 85) | def __init__(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/data_converter/create_data.py function nuscenes_data_prep (line 6) | def nuscenes_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/data_converter/uniad_nuscenes_converter.py function create_nuscenes_infos (line 28) | def create_nuscenes_infos(root_path, function get_available_scenes (line 111) | def get_available_scenes(nusc): function _get_can_bus_info (line 152) | def _get_can_bus_info(nusc, nusc_can_bus, sample): function _get_future_traj_info (line 176) | def _get_future_traj_info(nusc, sample, predict_steps=16): function _fill_trainval_infos (line 212) | def _fill_trainval_infos(nusc, function obtain_sensor2top (line 370) | def obtain_sensor2top(nusc, function export_2d_annotation (line 432) | def export_2d_annotation(root_path, info_path, version, mono3d=True): function get_2d_boxes (line 496) | def get_2d_boxes(nusc, function post_process_coords (line 628) | def post_process_coords( function generate_record (line 661) | def generate_record(ann_rec: dict, x1: float, y1: float, x2: float, y2: ... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/test.py function parse_args (line 18) | def parse_args(): function main (line 63) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/test_utils.py function custom_encode_mask_results (line 18) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 38) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 195) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 242) | def collect_results_gpu(result_part, size): function custom_single_gpu_test (line 245) | def custom_single_gpu_test(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/uniad/train.py function parse_args (line 24) | def parse_args(): function main (line 68) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/analysis_tools/analyze_logs.py function cal_train_time (line 10) | def cal_train_time(log_dicts, args): function plot_curve (line 33) | def plot_curve(log_dicts, args): function add_plot_parser (line 112) | 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 188) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/analysis_tools/benchmark.py function parse_args (line 17) | def parse_args(): function main (line 33) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/analysis_tools/get_flops.py function get_model_complexity_info (line 30) | def get_model_complexity_info(model, function flops_to_string (line 128) | def flops_to_string(flops, units='GFLOPs', precision=2): function params_to_string (line 171) | def params_to_string(num_params, units=None, precision=2): function print_model_with_flops (line 208) | def print_model_with_flops(model, function get_model_parameters_number (line 317) | def get_model_parameters_number(model): function add_flops_counting_methods (line 330) | def add_flops_counting_methods(net_main_module): function compute_average_flops_cost (line 347) | def compute_average_flops_cost(self): function start_flops_count (line 365) | def start_flops_count(self): function stop_flops_count (line 388) | def stop_flops_count(self): function reset_flops_count (line 399) | def reset_flops_count(self): function empty_flops_counter_hook (line 410) | def empty_flops_counter_hook(module, input, output): function upsample_flops_counter_hook (line 414) | def upsample_flops_counter_hook(module, input, output): function relu_flops_counter_hook (line 423) | def relu_flops_counter_hook(module, input, output): function linear_flops_counter_hook (line 428) | def linear_flops_counter_hook(module, input, output): function pool_flops_counter_hook (line 435) | def pool_flops_counter_hook(module, input, output): function norm_flops_counter_hook (line 440) | def norm_flops_counter_hook(module, input, output): function deconv_flops_counter_hook (line 450) | def deconv_flops_counter_hook(conv_module, input, output): function conv_flops_counter_hook (line 477) | def conv_flops_counter_hook(conv_module, input, output): function batch_counter_hook (line 508) | def batch_counter_hook(module, input, output): function add_batch_counter_variables_or_reset (line 521) | def add_batch_counter_variables_or_reset(module): function add_batch_counter_hook_function (line 526) | def add_batch_counter_hook_function(module): function remove_batch_counter_hook_function (line 534) | def remove_batch_counter_hook_function(module): function add_flops_counter_variable_or_reset (line 540) | def add_flops_counter_variable_or_reset(module): function is_supported_instance (line 550) | def is_supported_instance(module): function remove_flops_counter_hook_function (line 556) | def remove_flops_counter_hook_function(module): function get_modules_mapping (line 563) | def get_modules_mapping(): function parse_args (line 612) | def parse_args(): function main (line 641) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/analysis_tools/visualization.py function render_annotation (line 37) | def render_annotation( function get_sample_data (line 137) | def get_sample_data(sample_data_token: str, function get_predicted_data (line 199) | def get_predicted_data(sample_data_token: str, function lidiar_render (line 262) | def lidiar_render(sample_token, data, out_path=None, out_name=None, traj... function get_color (line 319) | def get_color(category_name: str): function boxes_to_sensor (line 350) | def boxes_to_sensor(boxes: List[EvalBox], pose_record: Dict, cs_record: ... function get_gt_fut_trajs (line 376) | def get_gt_fut_trajs(nusc: NuScenes, function get_gt_vec_maps (line 423) | def get_gt_vec_maps( function visualize_sample (line 486) | def visualize_sample(nusc: NuScenes, function obtain_sensor2top (line 611) | def obtain_sensor2top(nusc, function render_sample_data (line 673) | def render_sample_data( function parse_args (line 723) | def parse_args(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/apis/mmdet_train.py function custom_train_detector (line 24) | def custom_train_detector(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/apis/test.py function custom_encode_mask_results (line 19) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 39) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 105) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 152) | def collect_results_gpu(result_part, size): function single_gpu_test (line 156) | def single_gpu_test(model, data_loader): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/apis/train.py function custom_train_model (line 4) | def custom_train_model(model, function train_model (line 31) | def train_model(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/create_data.py function kitti_data_prep (line 17) | def kitti_data_prep(root_path, info_prefix, version, out_dir): function nuscenes_data_prep (line 52) | def nuscenes_data_prep(root_path, function lyft_data_prep (line 93) | def lyft_data_prep(root_path, info_prefix, version, max_sweeps=10): function scannet_data_prep (line 111) | def scannet_data_prep(root_path, info_prefix, out_dir, workers): function s3dis_data_prep (line 124) | def s3dis_data_prep(root_path, info_prefix, out_dir, workers): function sunrgbd_data_prep (line 137) | def sunrgbd_data_prep(root_path, info_prefix, out_dir, workers): function waymo_data_prep (line 150) | def waymo_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/data_converter/create_gt_database.py function _poly2mask (line 16) | def _poly2mask(mask_ann, img_h, img_w): function _parse_coco_ann_info (line 32) | def _parse_coco_ann_info(ann_info): function crop_image_patch_v2 (line 69) | def crop_image_patch_v2(pos_proposals, pos_assigned_gt_inds, gt_masks): function crop_image_patch (line 89) | def crop_image_patch(pos_proposals, gt_masks, pos_assigned_gt_inds, org_... function create_groundtruth_database (line 109) | def create_groundtruth_database(dataset_class_name, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/data_converter/vad_nuscenes_converter.py function quart_to_rpy (line 32) | def quart_to_rpy(qua): function locate_message (line 39) | def locate_message(utimes, utime): function create_nuscenes_infos (line 46) | def create_nuscenes_infos(root_path, function get_available_scenes (line 129) | def get_available_scenes(nusc): function _get_can_bus_info (line 170) | def _get_can_bus_info(nusc, nusc_can_bus, sample): function _fill_trainval_infos (line 195) | def _fill_trainval_infos(nusc, function get_global_sensor_pose (line 541) | def get_global_sensor_pose(rec, nusc, inverse=False): function obtain_sensor2top (line 562) | def obtain_sensor2top(nusc, function export_2d_annotation (line 624) | def export_2d_annotation(root_path, info_path, version, mono3d=False): function get_2d_boxes (line 688) | def get_2d_boxes(nusc, function post_process_coords (line 820) | def post_process_coords( function generate_record (line 853) | def generate_record(ann_rec: dict, x1: float, y1: float, x2: float, y2: ... function nuscenes_data_prep (line 917) | def nuscenes_data_prep(root_path, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/misc/browse_dataset.py function parse_args (line 15) | def parse_args(): function build_data_cfg (line 53) | def build_data_cfg(config_path, skip_type, cfg_options): function to_depth_mode (line 79) | def to_depth_mode(points, bboxes): function show_det_data (line 90) | def show_det_data(idx, dataset, out_dir, filename, show=False): function show_seg_data (line 107) | def show_seg_data(idx, dataset, out_dir, filename, show=False): function show_proj_bbox_img (line 124) | def show_proj_bbox_img(idx, function main (line 184) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/misc/fuse_conv_bn.py function fuse_conv_bn (line 10) | def fuse_conv_bn(conv, bn): function fuse_module (line 26) | def fuse_module(m): function parse_args (line 47) | def parse_args(): function main (line 57) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/misc/print_config.py function parse_args (line 6) | def parse_args(): function main (line 16) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/misc/visualize_results.py function parse_args (line 9) | def parse_args(): function main (line 21) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/model_converters/convert_votenet_checkpoints.py function parse_args (line 11) | def parse_args(): function parse_config (line 20) | def parse_config(config_strings): function main (line 70) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/model_converters/publish_model.py function parse_args (line 7) | def parse_args(): function process_checkpoint (line 16) | def process_checkpoint(in_file, out_file): function main (line 29) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/model_converters/regnet2mmdet.py function convert_stem (line 7) | def convert_stem(model_key, model_weight, state_dict, converted_names): function convert_head (line 15) | def convert_head(model_key, model_weight, state_dict, converted_names): function convert_reslayer (line 22) | def convert_reslayer(model_key, model_weight, state_dict, converted_names): function convert (line 54) | def convert(src, dst): function main (line 80) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/test.py function parse_args (line 23) | def parse_args(): function main (line 106) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/train.py function parse_args (line 36) | def parse_args(): function main (line 105) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/adzoo/vad/train_momad.py function parse_args (line 36) | def parse_args(): function main (line 107) | def main(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/anchor/anchor_3d_generator.py class Anchor3DRangeGenerator (line 9) | class Anchor3DRangeGenerator(object): method __init__ (line 33) | def __init__(self, method __repr__ (line 61) | def __repr__(self): method num_base_anchors (line 72) | def num_base_anchors(self): method num_levels (line 79) | def num_levels(self): method grid_anchors (line 83) | def grid_anchors(self, featmap_sizes, device='cuda'): method single_level_grid_anchors (line 108) | def single_level_grid_anchors(self, featmap_size, scale, device='cuda'): method anchors_single_range (line 148) | def anchors_single_range(self, class AlignedAnchor3DRangeGenerator (line 214) | class AlignedAnchor3DRangeGenerator(Anchor3DRangeGenerator): method __init__ (line 240) | def __init__(self, align_corner=False, **kwargs): method anchors_single_range (line 244) | def anchors_single_range(self, class AlignedAnchor3DRangeGeneratorPerCls (line 330) | class AlignedAnchor3DRangeGeneratorPerCls(AlignedAnchor3DRangeGenerator): method __init__ (line 341) | def __init__(self, **kwargs): method grid_anchors (line 346) | def grid_anchors(self, featmap_sizes, device='cuda'): method multi_cls_grid_anchors (line 367) | def multi_cls_grid_anchors(self, featmap_sizes, scale, device='cuda'): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/anchor/anchor_generator.py class AnchorGenerator (line 12) | class AnchorGenerator: method __init__ (line 60) | def __init__(self, method num_base_anchors (line 115) | def num_base_anchors(self): method num_base_priors (line 120) | def num_base_priors(self): method num_levels (line 126) | def num_levels(self): method gen_base_anchors (line 130) | def gen_base_anchors(self): method gen_single_level_base_anchors (line 150) | def gen_single_level_base_anchors(self, method _meshgrid (line 195) | def _meshgrid(self, x, y, row_major=True): method grid_priors (line 215) | def grid_priors(self, featmap_sizes, device='cuda'): method single_level_grid_priors (line 238) | def single_level_grid_priors(self, featmap_size, level_idx, device='cu... method sparse_priors (line 273) | def sparse_priors(self, method grid_anchors (line 308) | def grid_anchors(self, featmap_sizes, device='cuda'): method single_level_grid_anchors (line 337) | def single_level_grid_anchors(self, method valid_flags (line 382) | def valid_flags(self, featmap_sizes, pad_shape, device='cuda'): method single_level_valid_flags (line 409) | def single_level_valid_flags(self, method __repr__ (line 441) | def __repr__(self): class SSDAnchorGenerator (line 461) | class SSDAnchorGenerator(AnchorGenerator): method __init__ (line 477) | def __init__(self, method gen_base_anchors (line 546) | def gen_base_anchors(self): method __repr__ (line 567) | def __repr__(self): class LegacyAnchorGenerator (line 585) | class LegacyAnchorGenerator(AnchorGenerator): method gen_single_level_base_anchors (line 633) | def gen_single_level_base_anchors(self, class LegacySSDAnchorGenerator (line 684) | class LegacySSDAnchorGenerator(SSDAnchorGenerator, LegacyAnchorGenerator): method __init__ (line 691) | def __init__(self, class YOLOAnchorGenerator (line 706) | class YOLOAnchorGenerator(AnchorGenerator): method __init__ (line 716) | def __init__(self, strides, base_sizes): method num_levels (line 729) | def num_levels(self): method gen_base_anchors (line 733) | def gen_base_anchors(self): method gen_single_level_base_anchors (line 750) | def gen_single_level_base_anchors(self, base_sizes_per_level, center=N... method responsible_flags (line 778) | def responsible_flags(self, featmap_sizes, gt_bboxes, device='cuda'): method single_level_responsible_flags (line 803) | def single_level_responsible_flags(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/anchor/builder.py function build_prior_generator (line 10) | def build_prior_generator(cfg, default_args=None): function build_anchor_generator (line 14) | def build_anchor_generator(cfg, default_args=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/anchor/point_generator.py class PointGenerator (line 9) | class PointGenerator: method _meshgrid (line 11) | def _meshgrid(self, x, y, row_major=True): method grid_points (line 19) | def grid_points(self, featmap_size, stride=16, device='cuda'): method valid_flags (line 29) | def valid_flags(self, featmap_size, valid_size, device='cuda'): class MlvlPointGenerator (line 43) | class MlvlPointGenerator: method __init__ (line 54) | def __init__(self, strides, offset=0.5): method num_levels (line 59) | def num_levels(self): method num_base_priors (line 64) | def num_base_priors(self): method _meshgrid (line 69) | def _meshgrid(self, x, y, row_major=True): method grid_priors (line 77) | def grid_priors(self, featmap_sizes, device='cuda', with_stride=False): method single_level_grid_priors (line 109) | def single_level_grid_priors(self, method valid_flags (line 155) | def valid_flags(self, featmap_sizes, pad_shape, device='cuda'): method single_level_valid_flags (line 183) | def single_level_valid_flags(self, method sparse_priors (line 212) | def sparse_priors(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/anchor/utils.py function images_to_levels (line 4) | def images_to_levels(target, num_levels): function anchor_inside_flags (line 20) | def anchor_inside_flags(flat_anchors, function calc_region (line 49) | def calc_region(bbox, ratio, featmap_size=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/assigners/assign_result.py class AssignResult (line 6) | class AssignResult(util_mixins.NiceRepr): method __init__ (line 42) | def __init__(self, num_gts, gt_inds, max_overlaps, labels=None): method num_preds (line 51) | def num_preds(self): method set_extra_property (line 55) | def set_extra_property(self, key, value): method get_extra_property (line 60) | def get_extra_property(self, key): method info (line 65) | def info(self): method __nice__ (line 77) | def __nice__(self): method random (line 97) | def random(cls, **kwargs): method add_gt_ (line 190) | def add_gt_(self, gt_labels): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/assigners/base_assigner.py class BaseAssigner (line 4) | class BaseAssigner(metaclass=ABCMeta): method assign (line 8) | def assign(self, bboxes, gt_bboxes, gt_bboxes_ignore=None, gt_labels=N... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/assigners/hungarian_assigner.py class HungarianAssigner (line 16) | class HungarianAssigner(BaseAssigner): method __init__ (line 44) | def __init__(self, method assign (line 52) | def assign(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/assigners/hungarian_assigner_3d.py class HungarianAssigner3D (line 17) | class HungarianAssigner3D(BaseAssigner): method __init__ (line 42) | def __init__(self, method assign (line 52) | def assign(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/assigners/hungarian_assigner_3d_track.py class HungarianAssigner3DTrack (line 14) | class HungarianAssigner3DTrack(BaseAssigner): method __init__ (line 32) | def __init__(self, method assign (line 40) | def assign(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/assigners/map_hungarian_assigner_3d.py class MapHungarianAssigner3D (line 20) | class MapHungarianAssigner3D(BaseAssigner): method __init__ (line 45) | def __init__(self, method assign (line 57) | def assign(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/box_np_ops.py function camera_to_lidar (line 9) | def camera_to_lidar(points, r_rect, velo2cam): function box_camera_to_lidar (line 29) | def box_camera_to_lidar(data, r_rect, velo2cam): function corners_nd (line 49) | def corners_nd(dims, origin=0.5): function rotation_2d (line 83) | def rotation_2d(points, angles): function center_to_corner_box2d (line 100) | def center_to_corner_box2d(centers, dims, angles=None, origin=0.5): function depth_to_points (line 127) | def depth_to_points(depth, trunc_pixel): function depth_to_lidar_points (line 151) | def depth_to_lidar_points(depth, trunc_pixel, P2, r_rect, velo2cam): function rotation_3d_in_axis (line 175) | def rotation_3d_in_axis(points, angles, axis=0): function center_to_corner_box3d (line 206) | def center_to_corner_box3d(centers, function box2d_to_corner_jit (line 239) | def box2d_to_corner_jit(boxes): function corner_to_standup_nd_jit (line 270) | def corner_to_standup_nd_jit(boxes_corner): function corner_to_surfaces_3d_jit (line 291) | def corner_to_surfaces_3d_jit(corners): function rotation_points_single_angle (line 314) | def rotation_points_single_angle(points, angle, axis=0): function points_cam2img (line 346) | def points_cam2img(points_3d, proj_mat, with_depth=False): function box3d_to_bbox (line 384) | def box3d_to_bbox(box3d, P2): function corner_to_surfaces_3d (line 404) | def corner_to_surfaces_3d(corners): function points_in_rbbox (line 426) | def points_in_rbbox(points, rbbox, z_axis=2, origin=(0.5, 0.5, 0)): function minmax_to_corner_2d (line 449) | def minmax_to_corner_2d(minmax_box): function limit_period (line 464) | def limit_period(val, offset=0.5, period=np.pi): function create_anchors_3d_range (line 480) | def create_anchors_3d_range(feature_size, function center_to_minmax_2d (line 530) | def center_to_minmax_2d(centers, dims, origin=0.5): function rbbox2d_to_near_bbox (line 549) | def rbbox2d_to_near_bbox(rbboxes): function iou_jit (line 569) | def iou_jit(boxes, query_boxes, mode='iou', eps=0.0): function projection_matrix_to_CRT_kitti (line 609) | def projection_matrix_to_CRT_kitti(proj): function remove_outside_points (line 633) | def remove_outside_points(points, rect, Trv2c, P2, image_shape): function get_frustum (line 661) | def get_frustum(bbox_image, C, near_clip=0.001, far_clip=100): function surface_equ_3d (line 694) | def surface_equ_3d(polygon_surfaces): function _points_in_convex_polygon_3d_jit (line 719) | def _points_in_convex_polygon_3d_jit(points, polygon_surfaces, normal_ve... function points_in_convex_polygon_3d_jit (line 756) | def points_in_convex_polygon_3d_jit(points, function points_in_convex_polygon_jit (line 786) | def points_in_convex_polygon_jit(points, polygon, clockwise=True): function boxes3d_to_corners3d_lidar (line 831) | def boxes3d_to_corners3d_lidar(boxes3d, bottom_center=True): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/builder.py function build_assigner (line 8) | def build_assigner(cfg, **default_args): function build_sampler (line 13) | def build_sampler(cfg, **default_args): function build_bbox_coder (line 18) | def build_bbox_coder(cfg, **default_args): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/coder/base_bbox_coder.py class BaseBBoxCoder (line 4) | class BaseBBoxCoder(metaclass=ABCMeta): method __init__ (line 7) | def __init__(self, **kwargs): method encode (line 11) | def encode(self, bboxes, gt_bboxes): method decode (line 15) | def decode(self, bboxes, bboxes_pred): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/coder/detr3d_track_coder.py class DETRTrack3DCoder (line 10) | class DETRTrack3DCoder(BaseBBoxCoder): method __init__ (line 22) | def __init__(self, method encode (line 39) | def encode(self): method decode_single (line 42) | def decode_single(self, cls_scores, bbox_preds, method decode (line 129) | def decode(self, preds_dicts, with_mask=True, img_metas=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/coder/fut_nms_free_coder.py class CustomNMSFreeCoder (line 10) | class CustomNMSFreeCoder(BaseBBoxCoder): method __init__ (line 22) | def __init__(self, method encode (line 36) | def encode(self): method decode_single (line 40) | def decode_single(self, cls_scores, bbox_preds, traj_preds): method decode (line 106) | def decode(self, preds_dicts): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/coder/map_nms_free_coder.py class MapNMSFreeCoder (line 11) | class MapNMSFreeCoder(BaseBBoxCoder): method __init__ (line 23) | def __init__(self, method encode (line 37) | def encode(self): method decode_single (line 41) | def decode_single(self, cls_scores, bbox_preds, pts_preds): method decode (line 107) | def decode(self, preds_dicts): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/coder/nms_free_coder.py class NMSFreeCoder (line 10) | class NMSFreeCoder(BaseBBoxCoder): method __init__ (line 22) | def __init__(self, method encode (line 36) | def encode(self): method decode_single (line 40) | def decode_single(self, cls_scores, bbox_preds): method decode (line 104) | def decode(self, preds_dicts): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/iou_calculators/builder.py function build_iou_calculator (line 6) | def build_iou_calculator(cfg, default_args=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/iou_calculators/iou2d_calculator.py function cast_tensor_type (line 6) | def cast_tensor_type(x, scale=1., dtype=None): function fp16_clamp (line 13) | def fp16_clamp(x, min=None, max=None): class BboxOverlaps2D (line 22) | class BboxOverlaps2D: method __init__ (line 25) | def __init__(self, scale=1., dtype=None): method __call__ (line 29) | 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: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/iou_calculators/iou3d_calculator.py class BboxOverlapsNearest3D (line 10) | class BboxOverlapsNearest3D(object): method __init__ (line 21) | def __init__(self, coordinate='lidar'): method __call__ (line 25) | def __call__(self, bboxes1, bboxes2, mode='iou', is_aligned=False): method __repr__ (line 48) | def __repr__(self): class BboxOverlaps3D (line 56) | class BboxOverlaps3D(object): method __init__ (line 64) | def __init__(self, coordinate): method __call__ (line 68) | def __call__(self, bboxes1, bboxes2, mode='iou'): method __repr__ (line 88) | def __repr__(self): function bbox_overlaps_nearest_3d (line 95) | def bbox_overlaps_nearest_3d(bboxes1, function bbox_overlaps_3d (line 142) | def bbox_overlaps_3d(bboxes1, bboxes2, mode='iou', coordinate='camera'): class AxisAlignedBboxOverlaps3D (line 172) | class AxisAlignedBboxOverlaps3D(object): method __call__ (line 175) | def __call__(self, bboxes1, bboxes2, mode='iou', is_aligned=False): method __repr__ (line 196) | def __repr__(self): function axis_aligned_bbox_overlaps_3d (line 202) | def axis_aligned_bbox_overlaps_3d(bboxes1, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/match_costs/builder.py function build_match_cost (line 6) | def build_match_cost(cfg, default_args=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/match_costs/match_cost.py class BBoxL1Cost (line 9) | class BBoxL1Cost: method __init__ (line 27) | def __init__(self, weight=1., box_format='xyxy'): method __call__ (line 32) | def __call__(self, bbox_pred, gt_bboxes): class FocalLossCost (line 53) | class FocalLossCost: method __init__ (line 76) | def __init__(self, weight=1., alpha=0.25, gamma=2, eps=1e-12): method __call__ (line 82) | def __call__(self, cls_pred, gt_labels): class ClassificationCost (line 102) | class ClassificationCost: method __init__ (line 123) | def __init__(self, weight=1.): method __call__ (line 126) | def __call__(self, cls_pred, gt_labels): class IoUCost (line 146) | class IoUCost: method __init__ (line 164) | def __init__(self, iou_mode='giou', weight=1.): method __call__ (line 168) | def __call__(self, bboxes, gt_bboxes): class BBox3DL1Cost (line 188) | class BBox3DL1Cost(object): method __init__ (line 194) | def __init__(self, weight=1.): method __call__ (line 197) | def __call__(self, bbox_pred, gt_bboxes): function smooth_l1_loss (line 212) | def smooth_l1_loss(pred, target, beta=1.0): class SmoothL1Cost (line 234) | class SmoothL1Cost(object): method __init__ (line 250) | def __init__(self, weight=1.): method __call__ (line 253) | def __call__(self, input, target): class DiceCost (line 274) | class DiceCost(object): method __init__ (line 292) | def __init__(self, weight=1.): method __call__ (line 296) | def __call__(self, input, target): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/samplers/base_sampler.py class BaseSampler (line 8) | class BaseSampler(metaclass=ABCMeta): method __init__ (line 11) | def __init__(self, method _sample_pos (line 25) | def _sample_pos(self, assign_result, num_expected, **kwargs): method _sample_neg (line 30) | def _sample_neg(self, assign_result, num_expected, **kwargs): method sample (line 34) | def sample(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/samplers/pseudo_sampler.py class PseudoSampler (line 9) | class PseudoSampler(BaseSampler): method __init__ (line 12) | def __init__(self, **kwargs): method _sample_pos (line 15) | def _sample_pos(self, **kwargs): method _sample_neg (line 19) | def _sample_neg(self, **kwargs): method sample (line 23) | def sample(self, assign_result, bboxes, gt_bboxes, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/samplers/sampling_result.py class SamplingResult (line 6) | class SamplingResult(util_mixins.NiceRepr): method __init__ (line 25) | def __init__(self, pos_inds, neg_inds, bboxes, gt_bboxes, assign_result, method bboxes (line 52) | def bboxes(self): method to (line 56) | def to(self, device): method __nice__ (line 71) | def __nice__(self): method info (line 80) | def info(self): method random (line 93) | def random(cls, rng=None, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/base_box3d.py class BaseInstance3DBoxes (line 11) | class BaseInstance3DBoxes(object): method __init__ (line 38) | def __init__(self, tensor, box_dim=7, with_yaw=True, origin=(0.5, 0.5,... method volume (line 70) | def volume(self): method dims (line 75) | def dims(self): method yaw (line 80) | def yaw(self): method height (line 85) | def height(self): method top_height (line 90) | def top_height(self): method bottom_height (line 95) | def bottom_height(self): method center (line 100) | def center(self): method bottom_center (line 119) | def bottom_center(self): method gravity_center (line 124) | def gravity_center(self): method corners (line 129) | def corners(self): method rotate (line 134) | def rotate(self, angle, points=None): method flip (line 147) | def flip(self, bev_direction='horizontal'): method translate (line 151) | def translate(self, trans_vector): method in_range_3d (line 161) | def in_range_3d(self, box_range): method in_range_bev (line 186) | def in_range_bev(self, box_range): method convert_to (line 200) | def convert_to(self, dst, rt_mat=None): method scale (line 217) | def scale(self, scale_factor): method limit_yaw (line 226) | def limit_yaw(self, offset=0.5, period=np.pi): method nonempty (line 235) | def nonempty(self, threshold: float = 0.0): method __getitem__ (line 256) | def __getitem__(self, item): method __len__ (line 285) | def __len__(self): method __repr__ (line 289) | def __repr__(self): method cat (line 294) | def cat(cls, boxes_list): method to (line 316) | def to(self, device): method clone (line 332) | def clone(self): method device (line 344) | def device(self): method __iter__ (line 348) | def __iter__(self): method height_overlaps (line 357) | def height_overlaps(cls, boxes1, boxes2, mode='iou'): method overlaps (line 389) | def overlaps(cls, boxes1, boxes2, mode='iou'): method new_box (line 445) | def new_box(self, data): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/box_3d_mode.py class Box3DMode (line 13) | class Box3DMode(IntEnum): method convert (line 64) | def convert(box, src, dst, rt_mat=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/cam_box3d.py class CameraInstance3DBoxes (line 10) | class CameraInstance3DBoxes(BaseInstance3DBoxes): method __init__ (line 42) | def __init__(self, method height (line 78) | def height(self): method top_height (line 83) | def top_height(self): method bottom_height (line 89) | def bottom_height(self): method gravity_center (line 94) | def gravity_center(self): method corners (line 103) | def corners(self): method bev (line 146) | def bev(self): method nearest_bev (line 152) | def nearest_bev(self): method rotate (line 172) | def rotate(self, angle, points=None): method flip (line 220) | def flip(self, bev_direction='horizontal', points=None): method in_range_bev (line 254) | def in_range_bev(self, box_range): method height_overlaps (line 277) | def height_overlaps(cls, boxes1, boxes2, mode='iou'): method convert_to (line 307) | def convert_to(self, dst, rt_mat=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/coord_3d_mode.py class Coord3DMode (line 15) | class Coord3DMode(IntEnum): method convert (line 67) | def convert(input, src, dst, rt_mat=None): method convert_box (line 77) | def convert_box(box, src, dst, rt_mat=None): method convert_point (line 182) | def convert_point(point, src, dst, rt_mat=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/depth_box3d.py class DepthInstance3DBoxes (line 11) | class DepthInstance3DBoxes(BaseInstance3DBoxes): method gravity_center (line 43) | def gravity_center(self): method corners (line 52) | def corners(self): method bev (line 93) | def bev(self): method nearest_bev (line 99) | def nearest_bev(self): method rotate (line 119) | def rotate(self, angle, points=None): method flip (line 177) | def flip(self, bev_direction='horizontal', points=None): method in_range_bev (line 211) | def in_range_bev(self, box_range): method convert_to (line 233) | def convert_to(self, dst, rt_mat=None): method points_in_boxes (line 252) | def points_in_boxes(self, points): method enlarged_box (line 280) | def enlarged_box(self, extra_width): method get_surface_line_center (line 295) | def get_surface_line_center(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/lidar_box3d.py class LiDARInstance3DBoxes (line 11) | class LiDARInstance3DBoxes(BaseInstance3DBoxes): method gravity_center (line 41) | def gravity_center(self): method corners (line 50) | def corners(self): method bev (line 91) | def bev(self): method nearest_bev (line 97) | def nearest_bev(self): method rotate (line 117) | def rotate(self, angle, points=None): method flip (line 169) | def flip(self, bev_direction='horizontal', points=None): method in_range_bev (line 203) | def in_range_bev(self, box_range): method convert_to (line 224) | def convert_to(self, dst, rt_mat=None): method enlarged_box (line 243) | def enlarged_box(self, extra_width): method points_in_boxes (line 258) | def points_in_boxes(self, points): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/nuscenes_box.py function color_map (line 18) | def color_map(data, cmap): class CustomNuscenesBox (line 34) | class CustomNuscenesBox: method __init__ (line 37) | def __init__(self, method __eq__ (line 73) | def __eq__(self, other): method __repr__ (line 84) | def __repr__(self): method rotation_matrix (line 95) | def rotation_matrix(self) -> np.ndarray: method translate (line 102) | def translate(self, x: np.ndarray) -> None: method rotate (line 109) | def rotate(self, quaternion: Quaternion) -> None: method corners (line 118) | def corners(self, wlh_factor: float = 1.0) -> np.ndarray: method bottom_corners (line 144) | def bottom_corners(self) -> np.ndarray: method render (line 151) | def render(self, method render_fut_trajs (line 197) | def render_fut_trajs(self, method render_fut_trajs_grad_color (line 242) | def render_fut_trajs_grad_color(self, method render_fut_trajs_coords (line 293) | def render_fut_trajs_coords(self, method render_cv2 (line 330) | def render_cv2(self, method copy (line 374) | def copy(self) -> 'CustomNuscenesBox': class CustomDetectionBox (line 382) | class CustomDetectionBox(EvalBox): method __init__ (line 385) | def __init__(self, method __eq__ (line 415) | def __eq__(self, other): method serialize (line 428) | def serialize(self) -> dict: method deserialize (line 445) | def deserialize(cls, content: dict): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/structures/utils.py function limit_period (line 7) | def limit_period(val, offset=0.5, period=np.pi): function rotation_3d_in_axis (line 23) | def rotation_3d_in_axis(points, angles, axis=0): function xywhr2xyxyr (line 66) | def xywhr2xyxyr(boxes_xywhr): function get_box_type (line 87) | def get_box_type(box_type): function points_cam2img (line 116) | def points_cam2img(points_3d, proj_mat, with_depth=False): function mono_cam_box2vis (line 154) | def mono_cam_box2vis(cam_box): function get_proj_mat_by_coord_type (line 200) | def get_proj_mat_by_coord_type(img_meta, coord_type): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/transforms.py function bbox_flip (line 5) | def bbox_flip(bboxes, img_shape, direction='horizontal'): function bbox_mapping (line 34) | def bbox_mapping(bboxes, function bbox_mapping_back (line 46) | def bbox_mapping_back(bboxes, function bbox2roi (line 58) | def bbox2roi(bbox_list): function roi2bbox (line 80) | def roi2bbox(rois): function bbox2result (line 99) | def bbox2result(bboxes, labels, num_classes): function distance2bbox (line 119) | def distance2bbox(points, distance, max_shape=None): function bbox2distance (line 165) | def bbox2distance(points, bbox, max_dis=None, eps=0.1): function bbox_rescale (line 189) | def bbox_rescale(bboxes, scale_factor=1.0): function bbox_cxcywh_to_xyxy (line 221) | def bbox_cxcywh_to_xyxy(bbox): function bbox_xyxy_to_cxcywh (line 235) | def bbox_xyxy_to_cxcywh(bbox): function bbox3d_mapping_back (line 248) | def bbox3d_mapping_back(bboxes, scale_factor, flip_horizontal, flip_vert... function bbox3d2roi (line 270) | def bbox3d2roi(bbox_list): function bbox3d2result (line 293) | def bbox3d2result(bboxes, scores, labels, attrs=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/bbox/util.py function normalize_bbox (line 4) | def normalize_bbox(bboxes, pc_range): function denormalize_bbox (line 26) | def denormalize_bbox(normalized_bboxes, pc_range): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/bbox_overlaps.py function bbox_overlaps (line 4) | def bbox_overlaps(bboxes1, bboxes2, mode='iou', eps=1e-6): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/class_names.py function ade_classes (line 3) | def ade_classes(): function ade_palette (line 32) | def ade_palette(): function wider_face_classes (line 73) | def wider_face_classes(): function voc_classes (line 77) | def voc_classes(): function voc_palette (line 84) | def voc_palette(): function imagenet_det_classes (line 93) | def imagenet_det_classes(): function imagenet_vid_classes (line 134) | def imagenet_vid_classes(): function coco_classes (line 144) | def coco_classes(): function cityscapes_classes (line 162) | def cityscapes_classes(): function cityscapes_palette (line 168) | def cityscapes_palette(): function get_classes (line 188) | def get_classes(dataset): function get_palette (line 205) | def get_palette(dataset): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/eval_hooks.py class EvalHook (line 11) | class EvalHook(BaseEvalHook): method _do_evaluate (line 13) | def _do_evaluate(self, runner): class DistEvalHook (line 25) | class DistEvalHook(BaseDistEvalHook): method _do_evaluate (line 27) | def _do_evaluate(self, runner): function _calc_dynamic_intervals (line 62) | def _calc_dynamic_intervals(start_interval, dynamic_interval_list): class CustomDistEvalHook (line 74) | class CustomDistEvalHook(BaseDistEvalHook): method __init__ (line 76) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 83) | def _decide_interval(self, runner): method before_train_epoch (line 90) | def before_train_epoch(self, runner): method before_train_iter (line 95) | def before_train_iter(self, runner): method _do_evaluate (line 99) | def _do_evaluate(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/indoor_eval.py function average_precision (line 8) | def average_precision(recalls, precisions, mode='area'): function eval_det_cls (line 56) | def eval_det_cls(pred, gt, iou_thr=None): function eval_map_recall (line 164) | def eval_map_recall(pred, gt, ovthresh=None): function indoor_eval (line 204) | def indoor_eval(gt_annos, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/kitti_utils/eval.py function get_thresholds (line 9) | def get_thresholds(scores: np.ndarray, num_gt, num_sample_pts=41): function clean_data (line 29) | def clean_data(gt_anno, dt_anno, current_class, difficulty): function image_box_overlap (line 85) | def image_box_overlap(boxes, query_boxes, criterion=-1): function bev_box_overlap (line 116) | def bev_box_overlap(boxes, qboxes, criterion=-1): function d3_box_overlap_kernel (line 123) | def d3_box_overlap_kernel(boxes, qboxes, rinc, criterion=-1): function d3_box_overlap (line 154) | def d3_box_overlap(boxes, qboxes, criterion=-1): function compute_statistics_jit (line 163) | def compute_statistics_jit(overlaps, function get_split_parts (line 283) | def get_split_parts(num, num_part): function fused_compute_statistics (line 293) | def fused_compute_statistics(overlaps, function calculate_iou_partly (line 342) | def calculate_iou_partly(gt_annos, dt_annos, metric, num_parts=50): function _prepare_data (line 420) | def _prepare_data(gt_annos, dt_annos, current_class, difficulty): function eval_class (line 451) | def eval_class(gt_annos, function get_mAP (line 572) | def get_mAP(prec): function print_str (line 579) | def print_str(value, *arg, sstream=None): function do_eval (line 588) | def do_eval(gt_annos, function do_coco_style_eval (line 625) | def do_coco_style_eval(gt_annos, dt_annos, current_classes, overlap_ranges, function kitti_eval (line 644) | def kitti_eval(gt_annos, function kitti_eval_coco_style (line 778) | def kitti_eval_coco_style(gt_annos, dt_annos, current_classes): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/kitti_utils/rotate_iou.py function div_up (line 14) | def div_up(m, n): function trangle_area (line 19) | def trangle_area(a, b, c): function area (line 25) | def area(int_pts, num_of_inter): function sort_vertex_in_convex_polygon (line 35) | def sort_vertex_in_convex_polygon(int_pts, num_of_inter): function line_segment_intersection (line 78) | def line_segment_intersection(pts1, pts2, i, j, temp_pts): function line_segment_intersection_v1 (line 124) | def line_segment_intersection_v1(pts1, pts2, i, j, temp_pts): function point_in_quadrilateral (line 163) | def point_in_quadrilateral(pt_x, pt_y, corners): function quadrilateral_intersection (line 182) | def quadrilateral_intersection(pts1, pts2, int_pts): function rbbox_to_corners (line 206) | def rbbox_to_corners(corners, rbbox): function inter (line 232) | def inter(rbbox1, rbbox2): function devRotateIoUEval (line 258) | def devRotateIoUEval(rbox1, rbox2, criterion=-1): function rotate_iou_kernel_eval (line 288) | def rotate_iou_kernel_eval(N, function rotate_iou_gpu_eval (line 341) | def rotate_iou_gpu_eval(boxes, query_boxes, criterion=-1, device_id=0): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/lyft_eval.py function load_lyft_predictions (line 73) | def load_lyft_predictions(res_path): function lyft_eval (line 90) | def lyft_eval(lyft, data_root, res_path, eval_set, output_dir, logger=No... function get_classwise_aps (line 142) | def get_classwise_aps(gt, predictions, class_names, iou_thresholds): function get_single_class_aps (line 199) | def get_single_class_aps(gt, predictions, iou_thresholds): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/mean_ap.py function average_precision (line 10) | def average_precision(recalls, precisions, mode='area'): function tpfp_imagenet (line 57) | def tpfp_imagenet(det_bboxes, function tpfp_default (line 151) | def tpfp_default(det_bboxes, function get_cls_results (line 238) | def get_cls_results(det_results, annotations, class_id): function eval_map (line 265) | def eval_map(det_results, function print_map_summary (line 402) | def print_map_summary(mean_ap, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/metric_motion.py function get_ade (line 14) | def get_ade(forecasted_trajectory: torch.Tensor, gt_trajectory: torch.Te... function get_best_preds (line 35) | def get_best_preds( function get_fde (line 56) | def get_fde(forecasted_trajectory: torch.Tensor, gt_trajectory: torch.Te... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/metrics.py function f_score (line 7) | def f_score(precision, recall, beta=1): function intersect_and_union (line 24) | def intersect_and_union(pred_label, function total_intersect_and_union (line 87) | def total_intersect_and_union(results, function mean_iou (line 132) | def mean_iou(results, function mean_dice (line 171) | def mean_dice(results, function mean_fscore (line 211) | def mean_fscore(results, function eval_metrics (line 256) | def eval_metrics(results, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/recall.py function _recalls (line 10) | def _recalls(all_ious, proposal_nums, thrs): function set_recall_param (line 43) | def set_recall_param(proposal_nums, iou_thrs): function eval_recalls (line 64) | def eval_recalls(gts, function print_recall_summary (line 109) | def print_recall_summary(recalls, function plot_num_recall (line 142) | def plot_num_recall(recalls, proposal_nums): function plot_iou_recall (line 167) | def plot_iou_recall(recalls, iou_thrs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/seg_eval.py function fast_hist (line 7) | def fast_hist(preds, labels, num_classes): function per_class_iou (line 28) | def per_class_iou(hist): function get_acc (line 42) | def get_acc(hist): function get_acc_cls (line 56) | def get_acc_cls(hist): function seg_eval (line 70) | def seg_eval(gt_labels, seg_preds, label2cat, ignore_index, logger=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/evaluation/waymo_utils/prediction_kitti_to_waymo.py class KITTI2Waymo (line 22) | class KITTI2Waymo(object): method __init__ (line 40) | def __init__(self, method get_file_names (line 78) | def get_file_names(self): method create_folder (line 84) | def create_folder(self): method parse_objects (line 88) | def parse_objects(self, kitti_result, T_k2w, context_name, method convert_one (line 170) | def convert_one(self, file_idx): method convert (line 210) | def convert(self): method __len__ (line 224) | def __len__(self): method transform (line 228) | def transform(self, T, x, y, z): method combine (line 244) | def combine(self, pathnames): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/mask/mask_target.py function mask_target (line 6) | def mask_target(pos_proposals_list, pos_assigned_gt_inds_list, gt_masks_... function mask_target_single (line 66) | def mask_target_single(pos_proposals, pos_assigned_gt_inds, gt_masks, cfg): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/mask/structures.py class BaseInstanceMasks (line 11) | class BaseInstanceMasks(metaclass=ABCMeta): method rescale (line 15) | def rescale(self, scale, interpolation='nearest'): method resize (line 28) | def resize(self, out_shape, interpolation='nearest'): method flip (line 40) | def flip(self, flip_direction='horizontal'): method pad (line 51) | def pad(self, out_shape, pad_val): method crop (line 63) | def crop(self, bbox): method crop_and_resize (line 74) | def crop_and_resize(self, method expand (line 103) | def expand(self, expanded_h, expanded_w, top, left): method areas (line 108) | def areas(self): method to_ndarray (line 112) | def to_ndarray(self): method to_tensor (line 120) | def to_tensor(self, dtype, device): method translate (line 132) | def translate(self, method shear (line 152) | def shear(self, method rotate (line 174) | def rotate(self, out_shape, angle, center=None, scale=1.0, fill_val=0): class BitmapMasks (line 192) | class BitmapMasks(BaseInstanceMasks): method __init__ (line 221) | def __init__(self, masks, height, width): method __getitem__ (line 238) | def __getitem__(self, index): method __iter__ (line 250) | def __iter__(self): method __repr__ (line 253) | def __repr__(self): method __len__ (line 260) | def __len__(self): method rescale (line 264) | def rescale(self, scale, interpolation='nearest'): method resize (line 277) | def resize(self, out_shape, interpolation='nearest'): method flip (line 289) | def flip(self, flip_direction='horizontal'): method pad (line 302) | def pad(self, out_shape, pad_val=0): method crop (line 313) | def crop(self, bbox): method crop_and_resize (line 332) | def crop_and_resize(self, method expand (line 368) | def expand(self, expanded_h, expanded_w, top, left): method translate (line 380) | def translate(self, method shear (line 430) | def shear(self, method rotate (line 465) | def rotate(self, out_shape, angle, center=None, scale=1.0, fill_val=0): method areas (line 498) | def areas(self): method to_ndarray (line 502) | def to_ndarray(self): method to_tensor (line 506) | def to_tensor(self, dtype, device): method random (line 511) | def random(cls, class PolygonMasks (line 532) | class PolygonMasks(BaseInstanceMasks): method __init__ (line 572) | def __init__(self, masks, height, width): method __getitem__ (line 582) | def __getitem__(self, index): method __iter__ (line 605) | def __iter__(self): method __repr__ (line 608) | def __repr__(self): method __len__ (line 615) | def __len__(self): method rescale (line 619) | def rescale(self, scale, interpolation=None): method resize (line 628) | def resize(self, out_shape, interpolation=None): method flip (line 647) | def flip(self, flip_direction='horizontal'): method crop (line 671) | def crop(self, bbox): method pad (line 700) | def pad(self, out_shape, pad_val=0): method expand (line 704) | def expand(self, *args, **kwargs): method crop_and_resize (line 708) | def crop_and_resize(self, method translate (line 749) | def translate(self, method shear (line 783) | def shear(self, method rotate (line 815) | def rotate(self, out_shape, angle, center=None, scale=1.0, fill_val=0): method to_bitmap (line 844) | def to_bitmap(self): method areas (line 850) | def areas(self): method _polygon_area (line 868) | def _polygon_area(self, x, y): method to_ndarray (line 884) | def to_ndarray(self): method to_tensor (line 894) | def to_tensor(self, dtype, device): method random (line 904) | def random(cls, function polygon_to_bitmap (line 1023) | def polygon_to_bitmap(polygons, height, width): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/mask/utils.py function split_combined_polys (line 6) | def split_combined_polys(polys, poly_lens, polys_per_mask): function encode_mask_results (line 36) | def encode_mask_results(mask_results): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/points/__init__.py function get_points_type (line 10) | def get_points_type(points_type): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/points/base_points.py class BasePoints (line 8) | class BasePoints(object): method __init__ (line 27) | def __init__(self, tensor, points_dim=3, attribute_dims=None): method coord (line 47) | def coord(self): method coord (line 52) | def coord(self, tensor): method height (line 63) | def height(self): method height (line 72) | def height(self, tensor): method color (line 93) | def color(self): method color (line 102) | def color(self, tensor): method shape (line 126) | def shape(self): method shuffle (line 130) | def shuffle(self): method rotate (line 140) | def rotate(self, rotation, axis=None): method flip (line 183) | def flip(self, bev_direction='horizontal'): method translate (line 187) | def translate(self, trans_vector): method in_range_3d (line 208) | def in_range_3d(self, point_range): method in_range_bev (line 233) | def in_range_bev(self, point_range): method convert_to (line 247) | def convert_to(self, dst, rt_mat=None): method scale (line 264) | def scale(self, scale_factor): method __getitem__ (line 272) | def __getitem__(self, item): method __len__ (line 344) | def __len__(self): method __repr__ (line 348) | def __repr__(self): method cat (line 353) | def cat(cls, points_list): method to (line 375) | def to(self, device): method clone (line 391) | def clone(self): method device (line 405) | def device(self): method __iter__ (line 409) | def __iter__(self): method new_point (line 417) | def new_point(self, data): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/points/cam_points.py class CameraPoints (line 5) | class CameraPoints(BasePoints): method __init__ (line 24) | def __init__(self, tensor, points_dim=3, attribute_dims=None): method flip (line 29) | def flip(self, bev_direction='horizontal'): method in_range_bev (line 36) | def in_range_bev(self, point_range): method convert_to (line 53) | def convert_to(self, dst, rt_mat=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/points/depth_points.py class DepthPoints (line 5) | class DepthPoints(BasePoints): method __init__ (line 24) | def __init__(self, tensor, points_dim=3, attribute_dims=None): method flip (line 29) | def flip(self, bev_direction='horizontal'): method in_range_bev (line 36) | def in_range_bev(self, point_range): method convert_to (line 53) | def convert_to(self, dst, rt_mat=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/points/lidar_points.py class LiDARPoints (line 5) | class LiDARPoints(BasePoints): method __init__ (line 24) | def __init__(self, tensor, points_dim=3, attribute_dims=None): method flip (line 29) | def flip(self, bev_direction='horizontal'): method in_range_bev (line 36) | def in_range_bev(self, point_range): method convert_to (line 53) | def convert_to(self, dst, rt_mat=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/post_processing/bbox_nms.py function multiclass_nms (line 7) | def multiclass_nms(multi_bboxes, function fast_nms (line 97) | def fast_nms(multi_bboxes, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/post_processing/box3d_nms.py function box3d_multiclass_nms (line 9) | def box3d_multiclass_nms(mlvl_bboxes, function aligned_3d_nms (line 130) | def aligned_3d_nms(boxes, scores, classes, thresh): function circle_nms (line 181) | def circle_nms(dets, thresh, post_max_size=83): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/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): function merge_aug_bboxes_3d (line 156) | def merge_aug_bboxes_3d(aug_results, img_metas, test_cfg): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/utils/dist_utils.py function _allreduce_coalesced (line 10) | def _allreduce_coalesced(tensors, world_size, bucket_size_mb=-1): function allreduce_grads (line 32) | def allreduce_grads(params, coalesce=True, bucket_size_mb=-1): class DistOptimizerHook (line 54) | class DistOptimizerHook(OptimizerHook): method __init__ (line 57) | def __init__(self, *args, **kwargs): function reduce_mean (line 63) | def reduce_mean(tensor): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/utils/gaussian.py function gaussian_2d (line 6) | def gaussian_2d(shape, sigma=1): function draw_heatmap_gaussian (line 25) | def draw_heatmap_gaussian(heatmap, center, radius, k=1): function gaussian_radius (line 57) | def gaussian_radius(det_size, min_overlap=0.5): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/utils/misc.py function multi_apply (line 10) | def multi_apply(func, *args, **kwargs): function unmap (line 32) | def unmap(data, count, inds, fill=0): function mask2ndarray (line 45) | def mask2ndarray(mask): function flip_tensor (line 64) | def flip_tensor(src_tensor, flip_direction): function add_prefix (line 86) | def add_prefix(inputs, prefix): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/visualization/image.py class Color (line 16) | class Color(Enum): function color_val (line 31) | def color_val(color): function color_val_matplotlib (line 62) | def color_val_matplotlib(color): function imshow (line 76) | def imshow(img, win_name='', wait_time=0): function imshow_det_bboxes (line 97) | def imshow_det_bboxes(img, function imshow_gt_det_bboxes (line 258) | def imshow_gt_det_bboxes(img, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/visualizer/image_vis.py function project_pts_on_img (line 9) | def project_pts_on_img(points, function plot_rect3d_on_img (line 60) | def plot_rect3d_on_img(img, function draw_lidar_bbox3d_on_img (line 87) | def draw_lidar_bbox3d_on_img(bboxes3d, function draw_depth_bbox3d_on_img (line 125) | def draw_depth_bbox3d_on_img(bboxes3d, function draw_camera_bbox3d_on_img (line 164) | def draw_camera_bbox3d_on_img(bboxes3d, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/visualizer/open3d_vis.py function _draw_points (line 14) | def _draw_points(points, function _draw_bboxes (line 59) | def _draw_bboxes(bbox3d, function show_pts_boxes (line 122) | def show_pts_boxes(points, function _draw_bboxes_ind (line 184) | def _draw_bboxes_ind(bbox3d, function show_pts_index_boxes (line 254) | def show_pts_index_boxes(points, class Visualizer (line 320) | class Visualizer(object): method __init__ (line 347) | def __init__(self, method add_bboxes (line 388) | def add_bboxes(self, bbox3d, bbox_color=None, points_in_box_color=None): method add_seg_mask (line 408) | def add_seg_mask(self, seg_mask_colors): method show (line 430) | def show(self, save_path=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/visualizer/show_result.py function _write_obj (line 13) | def _write_obj(points, out_filename): function _write_oriented_bbox (line 35) | def _write_oriented_bbox(scene_bbox, out_filename): function show_result (line 77) | def show_result(points, function show_seg_result (line 130) | def show_seg_result(points, function show_multi_modality_result (line 203) | def show_multi_modality_result(img, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/voxel/builder.py function build_voxel_generator (line 5) | def build_voxel_generator(cfg, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/core/voxel/voxel_generator.py class VoxelGenerator (line 6) | class VoxelGenerator(object): method __init__ (line 17) | def __init__(self, method generate (line 36) | def generate(self, points): method voxel_size (line 43) | def voxel_size(self): method max_num_points_per_voxel (line 48) | def max_num_points_per_voxel(self): method point_cloud_range (line 53) | def point_cloud_range(self): method grid_size (line 58) | def grid_size(self): method __repr__ (line 62) | def __repr__(self): function points_to_voxel (line 76) | def points_to_voxel(points, function _points_to_voxel_reverse_kernel (line 138) | def _points_to_voxel_reverse_kernel(points, function _points_to_voxel_kernel (line 212) | def _points_to_voxel_kernel(points, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/B2D_dataset.py class B2D_Dataset (line 20) | class B2D_Dataset(Custom3DDataset): method __init__ (line 23) | def __init__(self, queue_length=4, bev_size=(200, 200),overlap_test=Fa... method invert_pose (line 69) | def invert_pose(self, pose): method prepare_train_data (line 75) | def prepare_train_data(self, index): method union2one (line 102) | def union2one(self, queue): method get_data_info (line 130) | def get_data_info(self, index): method get_ann_info (line 217) | def get_ann_info(self, index): method __getitem__ (line 257) | def __getitem__(self, idx): method evaluate (line 272) | def evaluate(self, method load_gt (line 378) | def load_gt(self): method _format_bbox (line 407) | def _format_bbox(self, results, jsonfile_prefix=None): method format_results (line 466) | def format_results(self, results, jsonfile_prefix=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/B2D_e2e_dataset.py class B2D_E2E_Dataset (line 26) | class B2D_E2E_Dataset(Custom3DDataset): method __init__ (line 27) | def __init__(self, queue_length=4, bev_size=(200, 200),overlap_test=Fa... method invert_pose (line 54) | def invert_pose(self, pose): method prepare_train_data (line 60) | def prepare_train_data(self, index): method union2one (line 86) | def union2one(self, queue): method get_data_info (line 152) | def get_data_info(self, index): method get_map_info (line 290) | def get_map_info(self, index): method get_ann_info (line 370) | def get_ann_info(self, index): method get_ann_boxes_only (line 434) | def get_ann_boxes_only(self, index): method __getitem__ (line 464) | def __getitem__(self, idx): method generate_sdc_info (line 479) | def generate_sdc_info(self,idx): method get_past_or_future_xy (line 509) | def get_past_or_future_xy(self,idx,sample_rate,frames,past_or_future,l... method get_ego_future_xy (line 545) | def get_ego_future_xy(self,idx,sample_rate,frames): method occ_get_transforms (line 574) | def occ_get_transforms(self, indices, data_type=torch.float32): method evaluate (line 608) | def evaluate(self, method load_gt (line 729) | def load_gt(self): method _format_bbox (line 758) | def _format_bbox(self, results, jsonfile_prefix=None): method format_results (line 817) | def format_results(self, results, jsonfile_prefix=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/B2D_sparsedrive_dataset.py class B2D_SparseDrive_Dataset (line 39) | class B2D_SparseDrive_Dataset(Custom3DDataset): method __init__ (line 42) | def __init__(self, queue_length=4, bev_size=(200, 200),overlap_test=Fa... method invert_pose (line 66) | def invert_pose(self, pose): method prepare_train_data (line 72) | def prepare_train_data(self, index): method union2one (line 103) | def union2one(self, queue): method get_data_info (line 131) | def get_data_info(self, index): method get_map_info (line 245) | def get_map_info(self, index): method get_ann_info (line 304) | def get_ann_info(self, index): method __getitem__ (line 352) | def __getitem__(self, idx): method get_ego_trajs (line 367) | def get_ego_trajs(self,idx,sample_rate,past_frames,future_frames): method command2hot (line 397) | def command2hot(self,command,max_dim=6): method get_box_attr_labels (line 405) | def get_box_attr_labels(self,idx,sample_rate,frames): method load_gt (line 473) | def load_gt(self): method _format_gt (line 502) | def _format_gt(self): method _format_bbox (line 541) | def _format_bbox(self, results, jsonfile_prefix=None, score_thresh=0.2): method format_results (line 635) | def format_results(self, results, jsonfile_prefix=None): method _evaluate_single (line 686) | def _evaluate_single(self, method evaluate (line 837) | def evaluate(self, function output_to_nusc_box (line 936) | def output_to_nusc_box(detection): function lidar_nusc_box_to_global (line 982) | def lidar_nusc_box_to_global(info, function output_to_vecs (line 1021) | def output_to_vecs(detection): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/B2D_vad_dataset.py class B2D_VAD_Dataset (line 39) | class B2D_VAD_Dataset(Custom3DDataset): method __init__ (line 42) | def __init__(self, queue_length=4, bev_size=(200, 200),overlap_test=Fa... method invert_pose (line 66) | def invert_pose(self, pose): method prepare_train_data (line 72) | def prepare_train_data(self, index): method union2one (line 103) | def union2one(self, queue): method get_data_info (line 132) | def get_data_info(self, index): method get_map_info (line 251) | def get_map_info(self, index): method get_ann_info (line 310) | def get_ann_info(self, index): method __getitem__ (line 358) | def __getitem__(self, idx): method get_ego_trajs (line 373) | def get_ego_trajs(self,idx,sample_rate,past_frames,future_frames): method command2hot (line 404) | def command2hot(self,command,max_dim=6): method get_box_attr_labels (line 412) | def get_box_attr_labels(self,idx,sample_rate,frames): method load_gt (line 480) | def load_gt(self): method _format_gt (line 509) | def _format_gt(self): method _format_bbox (line 548) | def _format_bbox(self, results, jsonfile_prefix=None, score_thresh=0.2): method format_results (line 642) | def format_results(self, results, jsonfile_prefix=None): method _evaluate_single (line 693) | def _evaluate_single(self, method evaluate (line 844) | def evaluate(self, function output_to_nusc_box (line 943) | def output_to_nusc_box(detection): function lidar_nusc_box_to_global (line 989) | def lidar_nusc_box_to_global(info, function output_to_vecs (line 1028) | def output_to_vecs(detection): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/api_wrappers/coco_api.py class COCO (line 10) | class COCO(_COCO): method __init__ (line 17) | def __init__(self, annotation_file=None): method get_ann_ids (line 26) | def get_ann_ids(self, img_ids=[], cat_ids=[], area_rng=[], iscrowd=None): method get_cat_ids (line 29) | def get_cat_ids(self, cat_names=[], sup_names=[], cat_ids=[]): method get_img_ids (line 32) | def get_img_ids(self, img_ids=[], cat_ids=[]): method load_anns (line 35) | def load_anns(self, ids): method load_cats (line 38) | def load_cats(self, ids): method load_imgs (line 41) | def load_imgs(self, ids): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/builder.py function _concat_dataset (line 33) | def _concat_dataset(cfg, default_args=None): function build_dataset (line 62) | def build_dataset(cfg, default_args=None): function build_dataloader (line 88) | def build_dataloader(dataset, function worker_init_fn (line 164) | def worker_init_fn(worker_id, num_workers, rank, seed): function custom_build_dataset (line 181) | def custom_build_dataset(cfg, default_args=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/coco.py class CocoDataset (line 20) | class CocoDataset(CustomDataset): method load_annotations (line 37) | def load_annotations(self, ann_file): method get_ann_info (line 66) | def get_ann_info(self, idx): method get_cat_ids (line 81) | def get_cat_ids(self, idx): method _filter_imgs (line 96) | def _filter_imgs(self, min_size=32): method _parse_ann_info (line 120) | def _parse_ann_info(self, img_info, ann_info): method xyxy2xywh (line 179) | def xyxy2xywh(self, bbox): method _proposal2json (line 199) | def _proposal2json(self, results): method _det2json (line 214) | def _det2json(self, results): method _segm2json (line 231) | def _segm2json(self, results): method results2json (line 269) | def results2json(self, results, outfile_prefix): method fast_eval_recall (line 309) | def fast_eval_recall(self, results, proposal_nums, iou_thrs, logger=No... method format_results (line 333) | def format_results(self, results, jsonfile_prefix=None, **kwargs): method evaluate (line 361) | def evaluate(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/custom.py class CustomDataset (line 18) | class CustomDataset(Dataset): method __init__ (line 57) | def __init__(self, method __len__ (line 108) | def __len__(self): method load_annotations (line 112) | def load_annotations(self, ann_file): method load_proposals (line 116) | def load_proposals(self, proposal_file): method get_ann_info (line 120) | def get_ann_info(self, idx): method get_cat_ids (line 132) | def get_cat_ids(self, idx): method pre_pipeline (line 144) | def pre_pipeline(self, results): method _filter_imgs (line 153) | def _filter_imgs(self, min_size=32): method _set_group_flag (line 164) | def _set_group_flag(self): method _rand_another (line 176) | def _rand_another(self, idx): method __getitem__ (line 181) | def __getitem__(self, idx): method prepare_train_img (line 201) | def prepare_train_img(self, idx): method prepare_test_img (line 220) | def prepare_test_img(self, idx): method get_classes (line 239) | def get_classes(cls, classes=None): method format_results (line 265) | def format_results(self, results, **kwargs): method evaluate (line 268) | def evaluate(self, method __repr__ (line 327) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/custom_3d.py class Custom3DDataset (line 16) | class Custom3DDataset(Dataset): method __init__ (line 45) | def __init__(self, method load_annotations (line 73) | def load_annotations(self, ann_file): method get_data_info (line 84) | def get_data_info(self, index): method pre_pipeline (line 115) | def pre_pipeline(self, results): method prepare_train_data (line 141) | def prepare_train_data(self, index): method prepare_test_data (line 161) | def prepare_test_data(self, index): method get_classes (line 176) | def get_classes(cls, classes=None): method format_results (line 202) | def format_results(self, method evaluate (line 226) | def evaluate(self, method _build_default_pipeline (line 275) | def _build_default_pipeline(self): method _get_pipeline (line 280) | def _get_pipeline(self, pipeline): method _extract_data (line 297) | def _extract_data(self, index, pipeline, key, load_annos=False): method __len__ (line 331) | def __len__(self): method _rand_another (line 339) | def _rand_another(self, idx): method __getitem__ (line 348) | def __getitem__(self, idx): method _set_group_flag (line 363) | def _set_group_flag(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/custom_nuscenes_dataset.py class CustomNuScenesDataset (line 19) | class CustomNuScenesDataset(NuScenesDataset): method __init__ (line 25) | def __init__(self, queue_length=4, bev_size=(200, 200), overlap_test=F... method prepare_train_data (line 32) | def prepare_train_data(self, index): method union2one (line 59) | def union2one(self, queue): method get_data_info (line 87) | def get_data_info(self, index): method __getitem__ (line 172) | def __getitem__(self, idx): method _evaluate_single (line 187) | def _evaluate_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/custom_nuscenes_dataset_v2.py class CustomNuScenesDatasetV2 (line 15) | class CustomNuScenesDatasetV2(NuScenesDataset): method __init__ (line 16) | def __init__(self, frames=(),mono_cfg=None, overlap_test=False,*args, ... method prepare_test_data (line 25) | def prepare_test_data(self, index): method prepare_train_data (line 68) | def prepare_train_data(self, index): method union2one (line 108) | def union2one(self, queue: dict): method prepare_input_dict (line 143) | def prepare_input_dict(self, info): method filter_crowd_annotations (line 193) | def filter_crowd_annotations(self, data_dict): method get_data_info (line 199) | def get_data_info(self, index): method __getitem__ (line 231) | def __getitem__(self, idx): method _evaluate_single (line 246) | def _evaluate_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/data_utils/data_utils.py function output_to_nusc_box (line 8) | def output_to_nusc_box(detection): function output_to_nusc_box_det (line 53) | def output_to_nusc_box_det(detection): function lidar_nusc_box_to_global (line 97) | def lidar_nusc_box_to_global(info, function obtain_map_info (line 135) | def obtain_map_info(nusc, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/data_utils/rasterize.py function get_patch_coord (line 7) | def get_patch_coord(patch_box, patch_angle=0.0): function get_discrete_degree (line 22) | def get_discrete_degree(vec, angle_class=36): function mask_for_lines (line 28) | def mask_for_lines(lines, mask, thickness, idx, type='index', angle_clas... function line_geom_to_mask (line 46) | def line_geom_to_mask(layer_geom, confidence_levels, local_box, canvas_s... function overlap_filter (line 83) | def overlap_filter(mask, filter_mask): function preprocess_map (line 92) | def preprocess_map(vectors, patch_size, canvas_size, num_classes, thickn... function rasterize_map (line 140) | def rasterize_map(vectors, patch_size, canvas_size, num_classes, thickne... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/data_utils/trajectory_api.py class NuScenesTraj (line 12) | class NuScenesTraj(object): method __init__ (line 13) | def __init__(self, method get_traj_label (line 36) | def get_traj_label(self, sample_token, ann_tokens): method get_vel_transform_mats (line 90) | def get_vel_transform_mats(self, sample): method get_vel_and_time (line 105) | def get_vel_and_time(self, sample): method prepare_sdc_vel_info (line 113) | def prepare_sdc_vel_info(self): method generate_sdc_info (line 151) | def generate_sdc_info(self, sdc_vel, as_lidar_instance3d_box=False): method get_sdc_traj_label (line 182) | def get_sdc_traj_label(self, sample_token): method get_l2g_transform (line 212) | def get_l2g_transform(self, sample): method get_sdc_planning_label (line 227) | def get_sdc_planning_label(self, sample_token): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/data_utils/vector_map.py class VectorizedLocalMap (line 15) | class VectorizedLocalMap(object): method __init__ (line 16) | def __init__(self, method gen_vectorized_samples (line 53) | def gen_vectorized_samples(self, location, ego2global_translation, ego... method get_map_geom (line 93) | def get_map_geom(self, patch_box, patch_angle, layer_names, location): method _one_type_line_geom_to_vectors (line 108) | def _one_type_line_geom_to_vectors(self, line_geom): method poly_geoms_to_vectors (line 121) | def poly_geoms_to_vectors(self, polygon_geom): method line_geoms_to_vectors (line 158) | def line_geoms_to_vectors(self, line_geom): method ped_geoms_to_vectors (line 166) | def ped_geoms_to_vectors(self, ped_geom): method get_ped_crossing_line (line 186) | def get_ped_crossing_line(self, patch_box, patch_angle, location): method sample_pts_from_line (line 213) | def sample_pts_from_line(self, line): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/dataset_wrappers.py class ConcatDataset (line 14) | class ConcatDataset(_ConcatDataset): method __init__ (line 27) | def __init__(self, datasets, separate_eval=True): method get_cat_ids (line 46) | def get_cat_ids(self, idx): method evaluate (line 68) | def evaluate(self, results, logger=None, **kwargs): class RepeatDataset (line 128) | class RepeatDataset: method __init__ (line 141) | def __init__(self, dataset, times): method __getitem__ (line 150) | def __getitem__(self, idx): method get_cat_ids (line 153) | def get_cat_ids(self, idx): method __len__ (line 165) | def __len__(self): class ClassBalancedDataset (line 172) | class ClassBalancedDataset: method __init__ (line 208) | def __init__(self, dataset, oversample_thr, filter_empty_gt=True): method _get_repeat_factors (line 227) | def _get_repeat_factors(self, dataset, repeat_thr): method __getitem__ (line 276) | def __getitem__(self, idx): method __len__ (line 280) | def __len__(self): class CBGSDataset (line 285) | class CBGSDataset(object): method __init__ (line 296) | def __init__(self, dataset): method _get_sample_indices (line 307) | def _get_sample_indices(self): method __getitem__ (line 338) | def __getitem__(self, idx): method __len__ (line 347) | def __len__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/dd3d_nuscenes_dataset.py function _compute_iou (line 79) | def _compute_iou(box1, box2): class DD3DNuscenesDataset (line 98) | class DD3DNuscenesDataset(Dataset): method __init__ (line 99) | def __init__(self, name, data_root, datum_names=CAMERA_NAMES, min_num_... method _build_dataset_item_info (line 121) | def _build_dataset_item_info(self, name): method _get_split_scenes (line 141) | def _get_split_scenes(self, name): method __len__ (line 157) | def __len__(self): method _build_id (line 160) | def _build_id(self, scene_name, sample_idx, datum_name): method _index_instance_tokens (line 165) | def _index_instance_tokens(self): method get_instance_annotations (line 175) | def get_instance_annotations(self, annotation_list, K, image_shape, po... method _get_ego_velocity (line 251) | def _get_ego_velocity(self, current, max_time_diff=1.5): method __getitem__ (line 289) | def __getitem__(self, idx): method getitem_by_datumtoken (line 327) | def getitem_by_datumtoken(self, datum_token): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/eval_utils/eval_utils.py function category_to_motion_name (line 18) | def category_to_motion_name(category_name: str): function detection_prediction_category_to_motion_name (line 47) | def detection_prediction_category_to_motion_name(category_name: str): class DetectionMotionMetrics (line 72) | class DetectionMotionMetrics(DetectionMetrics): method deserialize (line 76) | def deserialize(cls, content: dict): class DetectionMotionMetricDataList (line 93) | class DetectionMotionMetricDataList(DetectionMetricDataList): method deserialize (line 96) | def deserialize(cls, content: dict): class DetectionMotionMetricData (line 103) | class DetectionMotionMetricData(DetectionMetricData): method __init__ (line 108) | def __init__(self, method __eq__ (line 151) | def __eq__(self, other): method max_recall_ind (line 158) | def max_recall_ind(self): method max_recall (line 171) | def max_recall(self): method serialize (line 176) | def serialize(self): method deserialize (line 193) | def deserialize(cls, content: dict): method no_predictions (line 208) | def no_predictions(cls): method random_md (line 223) | def random_md(cls): class DetectionMotionBox (line 238) | class DetectionMotionBox(DetectionBox): method __init__ (line 239) | def __init__(self, method __eq__ (line 270) | def __eq__(self, other): method serialize (line 284) | def serialize(self) -> dict: method deserialize (line 302) | def deserialize(cls, content: dict): class DetectionMotionBox_modified (line 318) | class DetectionMotionBox_modified(DetectionMotionBox): method __init__ (line 319) | def __init__(self, *args, token=None, visibility=None, index=None, **k... method serialize (line 328) | def serialize(self) -> dict: method deserialize (line 349) | def deserialize(cls, content: dict): function load_prediction (line 370) | def load_prediction(result_path: str, max_boxes_per_sample: int, box_cls... function load_gt (line 405) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function prediction_metrics (line 536) | def prediction_metrics(gt_box_match, pred_box): function accumulate (line 557) | def accumulate(gt_boxes: EvalBoxes, function accumulate_motion (line 728) | def accumulate_motion(gt_boxes: EvalBoxes, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/eval_utils/map_api.py class NuScenesMap (line 42) | class NuScenesMap: method __init__ (line 63) | def __init__(self, method _load_layer (line 112) | def _load_layer(self, layer_name: str) -> List[dict]: method _load_layer_dict (line 120) | def _load_layer_dict(self, layer_name: str) -> Dict[str, Union[dict, l... method _load_layers (line 128) | def _load_layers(self) -> None: method _make_token2ind (line 151) | def _make_token2ind(self) -> None: method _make_shortcuts (line 160) | def _make_shortcuts(self) -> None: method _get_stop_line_cue (line 190) | def _get_stop_line_cue(self, stop_line_record: dict) -> List[dict]: method get (line 203) | def get(self, layer_name: str, token: str) -> dict: method getind (line 214) | def getind(self, layer_name: str, token: str) -> int: method render_record (line 223) | def render_record(self, method render_layers (line 244) | def render_layers(self, method render_map_patch (line 262) | def render_map_patch(self, method render_map_in_image (line 285) | def render_map_in_image(self, method get_map_mask_in_image (line 319) | def get_map_mask_in_image(self, method render_egoposes_on_fancy_map (line 353) | def render_egoposes_on_fancy_map(self, method render_centerlines (line 381) | def render_centerlines(self, method render_map_mask (line 394) | def render_map_mask(self, method get_map_mask (line 415) | def get_map_mask(self, method get_map_geom (line 430) | def get_map_geom(self, method get_records_in_patch (line 445) | def get_records_in_patch(self, method is_record_in_patch (line 460) | def is_record_in_patch(self, method layers_on_point (line 476) | def layers_on_point(self, x: float, y: float, layer_names: List[str] =... method record_on_point (line 486) | def record_on_point(self, x: float, y: float, layer_name: str) -> str: method extract_polygon (line 496) | def extract_polygon(self, polygon_token: str) -> Polygon: method extract_line (line 504) | def extract_line(self, line_token: str) -> LineString: method get_bounds (line 512) | def get_bounds(self, layer_name: str, token: str) -> Tuple[float, floa... method get_records_in_radius (line 521) | def get_records_in_radius(self, x: float, y: float, radius: float, method discretize_centerlines (line 538) | def discretize_centerlines(self, resolution_meters: float) -> List[np.... method discretize_lanes (line 553) | def discretize_lanes(self, tokens: List[str], method _get_connected_lanes (line 565) | def _get_connected_lanes(self, lane_token: str, incoming_outgoing: str... method get_outgoing_lane_ids (line 578) | def get_outgoing_lane_ids(self, lane_token: str) -> List[str]: method get_incoming_lane_ids (line 587) | def get_incoming_lane_ids(self, lane_token: str) -> List[str]: method get_arcline_path (line 596) | def get_arcline_path(self, lane_token: str) -> List[ArcLinePath]: method get_closest_lane (line 611) | def get_closest_lane(self, x: float, y: float, radius: float = 5) -> str: method render_next_roads (line 638) | def render_next_roads(self, method get_next_roads (line 654) | def get_next_roads(self, x: float, y: float) -> Dict[str, List[str]]: class NuScenesMapExplorer (line 707) | class NuScenesMapExplorer: method __init__ (line 709) | def __init__(self, method render_centerlines (line 742) | def render_centerlines(self, method render_map_mask (line 769) | def render_map_mask(self, method get_map_geom (line 813) | def get_map_geom(self, method map_geom_to_mask (line 840) | def map_geom_to_mask(self, method get_map_mask (line 861) | def get_map_mask(self, method render_record (line 911) | def render_record(self, method render_layers (line 992) | def render_layers(self, method render_map_patch (line 1024) | def render_map_patch(self, method render_map_in_image (line 1081) | def render_map_in_image(self, method points_transform (line 1239) | def points_transform(points, poserecord, cs_record, cam_intrinsic, im_... method get_map_mask_in_image (line 1293) | def get_map_mask_in_image(self, method render_egoposes_on_fancy_map (line 1476) | def render_egoposes_on_fancy_map(self, method render_next_roads (line 1579) | def render_next_roads(self, method _clip_points_behind_camera (line 1611) | def _clip_points_behind_camera(points, near_plane: float): method get_records_in_patch (line 1674) | def get_records_in_patch(self, method is_record_in_patch (line 1705) | def is_record_in_patch(self, method layers_on_point (line 1729) | def layers_on_point(self, x: float, y: float, layer_names: List[str] =... method record_on_point (line 1747) | def record_on_point(self, x: float, y: float, layer_name: str) -> str: method extract_polygon (line 1780) | def extract_polygon(self, polygon_token: str) -> Polygon: method extract_line (line 1800) | def extract_line(self, line_token: str) -> LineString: method get_bounds (line 1812) | def get_bounds(self, layer_name: str, token: str) -> Tuple[float, floa... method _get_polygon_bounds (line 1826) | def _get_polygon_bounds(self, layer_name: str, token: str) -> Tuple[fl... method _get_line_bounds (line 1862) | def _get_line_bounds(self, layer_name: str, token: str) -> Tuple[float... method _is_polygon_record_in_patch (line 1887) | def _is_polygon_record_in_patch(self, method _is_line_record_in_patch (line 1919) | def _is_line_record_in_patch(self, method _render_layer (line 1956) | def _render_layer(self, ax: Axes, layer_name: str, alpha: float, token... method _render_polygon_layer (line 1971) | def _render_polygon_layer(self, ax: Axes, layer_name: str, alpha: floa... method _render_line_layer (line 2011) | def _render_line_layer(self, ax: Axes, layer_name: str, alpha: float, ... method _get_layer_geom (line 2045) | def _get_layer_geom(self, method _layer_geom_to_mask (line 2063) | def _layer_geom_to_mask(self, method mask_for_polygons (line 2084) | def mask_for_polygons(polygons: MultiPolygon, mask: np.ndarray) -> np.... method mask_for_lines (line 2104) | def mask_for_lines(lines: LineString, mask: np.ndarray) -> np.ndarray: method _polygon_geom_to_mask (line 2123) | def _polygon_geom_to_mask(self, method _line_geom_to_mask (line 2177) | def _line_geom_to_mask(self, method _get_layer_polygon (line 2221) | def _get_layer_polygon(self, method _get_layer_line (line 2275) | def _get_layer_line(self, method get_patch_coord (line 2315) | def get_patch_coord(patch_box: Tuple[float, float, float, float], method _get_figsize (line 2335) | def _get_figsize(self, figsize: Union[None, float, Tuple[float, float]... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/eval_utils/metric_utils.py function min_ade (line 6) | def min_ade(traj: torch.Tensor, traj_gt: torch.Tensor, function min_fde (line 33) | def min_fde(traj: torch.Tensor, traj_gt: torch.Tensor, function miss_rate (line 64) | def miss_rate( function traj_fde (line 96) | def traj_fde(gt_box, pred_box, final_step): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/eval_utils/nuscenes_eval.py function class_tp_curve (line 31) | def class_tp_curve(md_list: DetectionMetricDataList, class DetectionBox_modified (line 94) | class DetectionBox_modified(DetectionBox): method __init__ (line 95) | def __init__(self, *args, token=None, visibility=None, index=None, **k... method serialize (line 104) | def serialize(self) -> dict: method deserialize (line 124) | def deserialize(cls, content: dict): function center_in_image (line 144) | def center_in_image(box, intrinsic: np.ndarray, imsize: Tuple[int, int],... function exist_corners_in_image_but_not_all (line 174) | def exist_corners_in_image_but_not_all(box, intrinsic: np.ndarray, imsiz... function load_gt (line 201) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function filter_eval_boxes_by_id (line 319) | def filter_eval_boxes_by_id(nusc: NuScenes, function filter_eval_boxes_by_visibility (line 351) | def filter_eval_boxes_by_visibility( function filter_by_sample_token (line 383) | def filter_by_sample_token(ori_eval_boxes, valid_sample_tokens=[], verb... function filter_eval_boxes_by_overlap (line 391) | def filter_eval_boxes_by_overlap(nusc: NuScenes, class NuScenesEval_custom (line 464) | class NuScenesEval_custom(NuScenesEval): method __init__ (line 469) | def __init__(self, method update_gt (line 552) | def update_gt(self, type_='vis', visibility='1', index=1): method evaluate (line 581) | def evaluate(self) -> Tuple[DetectionMetrics, DetectionMetricDataList]: method render (line 631) | def render(self, metrics: DetectionMetrics, md_list: DetectionMetricDa... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/eval_utils/nuscenes_eval_motion.py function class_tp_curve (line 78) | def class_tp_curve(md_list: DetectionMetricDataList, function center_in_image (line 152) | def center_in_image(box, function exist_corners_in_image_but_not_all (line 188) | def exist_corners_in_image_but_not_all(box, function filter_eval_boxes_by_id (line 220) | def filter_eval_boxes_by_id(nusc: NuScenes, function filter_eval_boxes_by_visibility (line 252) | def filter_eval_boxes_by_visibility( function filter_by_sample_token (line 284) | def filter_by_sample_token( function filter_eval_boxes_by_overlap (line 295) | def filter_eval_boxes_by_overlap(nusc: NuScenes, class MotionEval (line 379) | class MotionEval(NuScenesEval): method __init__ (line 384) | def __init__(self, method update_gt (line 478) | def update_gt(self, type_='vis', visibility='1', index=1): method evaluate (line 511) | def evaluate(self) -> Tuple[DetectionMotionMetrics, method evaluate_motion (line 575) | def evaluate_motion( method evaluate_epa (line 640) | def evaluate_epa( method main (line 710) | def main(self, method render (line 794) | def render(self, metrics: DetectionMetrics, function print_traj_metrics (line 848) | def print_traj_metrics(metrics): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/lyft_dataset.py class LyftDataset (line 24) | class LyftDataset(Custom3DDataset): method __init__ (line 82) | def __init__(self, method load_annotations (line 112) | def load_annotations(self, ann_file): method get_data_info (line 128) | def get_data_info(self, index): method get_ann_info (line 187) | def get_ann_info(self, index): method _format_bbox (line 229) | def _format_bbox(self, results, jsonfile_prefix=None): method _evaluate_single (line 272) | def _evaluate_single(self, method format_results (line 313) | def format_results(self, results, jsonfile_prefix=None, csv_savepath=N... method evaluate (line 364) | def evaluate(self, method _build_default_pipeline (line 417) | def _build_default_pipeline(self): method show (line 438) | def show(self, results, out_dir, show=True, pipeline=None): method json2csv (line 469) | def json2csv(self, json_path, csv_savepath): function output_to_lyft_box (line 507) | def output_to_lyft_box(detection): function lidar_lyft_box_to_global (line 540) | def lidar_lyft_box_to_global(info, boxes): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/map_utils/mean_ap.py function average_precision (line 15) | def average_precision(recalls, precisions, mode='area'): function get_cls_results (line 61) | def get_cls_results(gen_results, function format_res_gt_by_classes (line 138) | def format_res_gt_by_classes(result_path, function eval_map (line 219) | def eval_map(gen_results, function print_map_summary (line 330) | def print_map_summary(mean_ap, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/map_utils/struct.py class LiDARInstanceLines (line 6) | class LiDARInstanceLines(object): method __init__ (line 10) | def __init__(self, method start_end_points (line 34) | def start_end_points(self): method bbox (line 56) | def bbox(self): method fixed_num_sampled_points (line 76) | def fixed_num_sampled_points(self): method fixed_num_sampled_points_ambiguity (line 96) | def fixed_num_sampled_points_ambiguity(self): method fixed_num_sampled_points_torch (line 117) | def fixed_num_sampled_points_torch(self): method shift_fixed_num_sampled_points (line 142) | def shift_fixed_num_sampled_points(self): method shift_fixed_num_sampled_points_v1 (line 180) | def shift_fixed_num_sampled_points_v1(self): method shift_fixed_num_sampled_points_v2 (line 227) | def shift_fixed_num_sampled_points_v2(self): method shift_fixed_num_sampled_points_v3 (line 285) | def shift_fixed_num_sampled_points_v3(self): method shift_fixed_num_sampled_points_v4 (line 354) | def shift_fixed_num_sampled_points_v4(self): method shift_fixed_num_sampled_points_torch (line 403) | def shift_fixed_num_sampled_points_torch(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/map_utils/tpfp.py function tpfp_bbox (line 9) | def tpfp_bbox(det_bboxes, function tpfp_rbbox (line 79) | def tpfp_rbbox(det_bboxes, function tpfp_det (line 149) | def tpfp_det(det_bboxes, function tpfp_gen (line 216) | def tpfp_gen(gen_lines, function custom_tpfp_gen (line 290) | def custom_tpfp_gen(gen_lines, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/map_utils/tpfp_chamfer.py function vec_iou (line 15) | def vec_iou(pred_lines, gt_lines): function convex_iou (line 52) | def convex_iou(pred_lines, gt_lines, gt_mask): function rbbox_iou (line 86) | def rbbox_iou(pred_lines, gt_lines, gt_mask): function polyline_score (line 121) | def polyline_score(pred_lines, gt_lines, linewidth=1., metric='POR'): function custom_polyline_score (line 217) | def custom_polyline_score(pred_lines, gt_lines, linewidth=1., metric='ch... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscenes_dataset.py class NuScenesDataset (line 20) | class NuScenesDataset(Custom3DDataset): method __init__ (line 117) | def __init__(self, method get_cat_ids (line 156) | def get_cat_ids(self, idx): method load_annotations (line 180) | def load_annotations(self, ann_file): method get_data_info (line 196) | def get_data_info(self, index): method get_ann_info (line 254) | def get_ann_info(self, index): method _format_bbox (line 303) | def _format_bbox(self, results, jsonfile_prefix=None): method _evaluate_single (line 377) | def _evaluate_single(self, method format_results (line 434) | def format_results(self, results, jsonfile_prefix=None): method evaluate (line 479) | def evaluate(self, method _build_default_pipeline (line 526) | def _build_default_pipeline(self): method show (line 547) | def show(self, results, out_dir, show=True, pipeline=None): function output_to_nusc_box (line 580) | def output_to_nusc_box(detection): function lidar_nusc_box_to_global (line 623) | def lidar_nusc_box_to_global(info, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscenes_e2e_dataset.py class NuScenesE2EDataset (line 39) | class NuScenesE2EDataset(NuScenesDataset): method __init__ (line 45) | def __init__(self, method __len__ (line 137) | def __len__(self): method load_annotations (line 143) | def load_annotations(self, ann_file): method prepare_train_data (line 170) | def prepare_train_data(self, index): method prepare_test_data (line 239) | def prepare_test_data(self, index): method union2one (line 264) | def union2one(self, queue): method get_ann_info (line 329) | def get_ann_info(self, index): method get_data_info (line 413) | def get_data_info(self, index): method get_future_detection_infos (line 593) | def get_future_detection_infos(self, future_frames): method occ_get_temporal_indices (line 604) | def occ_get_temporal_indices(self, index, receptive_field, n_future): method occ_get_transforms (line 630) | def occ_get_transforms(self, indices, data_type=torch.float32): method occ_get_detection_ann_info (line 669) | def occ_get_detection_ann_info(self, index): method __getitem__ (line 721) | def __getitem__(self, idx): method _format_bbox (line 736) | def _format_bbox(self, results, jsonfile_prefix=None): method format_results (line 844) | def format_results(self, results, jsonfile_prefix=None): method _format_bbox_det (line 874) | def _format_bbox_det(self, results, jsonfile_prefix=None): method format_results_det (line 948) | def format_results_det(self, results, jsonfile_prefix=None): method evaluate (line 977) | def evaluate(self, method _evaluate_single (line 1092) | def _evaluate_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscenes_eval.py function class_tp_curve (line 44) | def class_tp_curve(md_list: DetectionMetricDataList, class DetectionBox_modified (line 107) | class DetectionBox_modified(DetectionBox): method __init__ (line 108) | def __init__(self, *args, token=None, visibility=None, index=None, **k... method serialize (line 117) | def serialize(self) -> dict: method deserialize (line 137) | def deserialize(cls, content: dict): function center_in_image (line 157) | def center_in_image(box, intrinsic: np.ndarray, imsize: Tuple[int, int],... function exist_corners_in_image_but_not_all (line 187) | def exist_corners_in_image_but_not_all(box, intrinsic: np.ndarray, imsiz... function load_prediction (line 213) | def load_prediction(result_path: str, max_boxes_per_sample: int, box_cls... function load_gt (line 245) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function filter_eval_boxes_by_id (line 363) | def filter_eval_boxes_by_id(nusc: NuScenes, function filter_eval_boxes_by_visibility (line 395) | def filter_eval_boxes_by_visibility( function filter_by_sample_token (line 427) | def filter_by_sample_token(ori_eval_boxes, valid_sample_tokens=[], verb... function filter_eval_boxes_by_overlap (line 435) | def filter_eval_boxes_by_overlap(nusc: NuScenes, class NuScenesEval_custom (line 508) | class NuScenesEval_custom(NuScenesEval): method __init__ (line 513) | def __init__(self, method update_gt (line 596) | def update_gt(self, type_='vis', visibility='1', index=1): method evaluate (line 625) | def evaluate(self) -> Tuple[DetectionMetrics, DetectionMetricDataList]: method render (line 675) | def render(self, metrics: DetectionMetrics, md_list: DetectionMetricDa... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscenes_mono_dataset.py class CustomNuScenesMonoDataset (line 21) | class CustomNuScenesMonoDataset(CocoDataset): method __init__ (line 72) | def __init__(self, method pre_pipeline (line 106) | def pre_pipeline(self, results): method _parse_ann_info (line 134) | def _parse_ann_info(self, img_info, ann_info): method get_attr_name (line 231) | def get_attr_name(self, attr_idx, label_name): method _format_bbox (line 275) | def _format_bbox(self, results, jsonfile_prefix=None): method _evaluate_single (line 380) | def _evaluate_single(self, method format_results (line 446) | def format_results(self, results, jsonfile_prefix=None, **kwargs): method evaluate (line 493) | def evaluate(self, method _extract_data (line 539) | def _extract_data(self, index, pipeline, key, load_annos=False): method _get_pipeline (line 570) | def _get_pipeline(self, pipeline): method _build_default_pipeline (line 586) | def _build_default_pipeline(self): method show (line 598) | def show(self, results, out_dir, show=True, pipeline=None): function output_to_nusc_box (line 632) | def output_to_nusc_box(detection): function cam_nusc_box_to_global (line 675) | def cam_nusc_box_to_global(info, function global_nusc_box_to_cam (line 714) | def global_nusc_box_to_cam(info, function nusc_box_to_cam_box3d (line 751) | def nusc_box_to_cam_box3d(boxes): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscenes_styled_eval_utils.py function center_distance (line 8) | def center_distance(gt_box, pred_box) -> float: function velocity_l2 (line 18) | def velocity_l2(gt_box, pred_box) -> float: function yaw_diff (line 29) | def yaw_diff(gt_box, eval_box, period: float = 2*np.pi) -> float: function angle_diff (line 43) | def angle_diff(x: float, y: float, period: float) -> float: function attr_acc (line 60) | def attr_acc(gt_box, pred_box) -> float: function scale_iou (line 79) | def scale_iou(sample_annotation, sample_result) -> float: function quaternion_yaw (line 105) | def quaternion_yaw(q: Quaternion) -> float: function cummean (line 124) | def cummean(x: np.array) -> np.array: class DetectionMetricData (line 140) | class DetectionMetricData(abc.ABC): method __init__ (line 145) | def __init__(self, method __eq__ (line 179) | def __eq__(self, other): method max_recall_ind (line 186) | def max_recall_ind(self): method max_recall (line 199) | def max_recall(self): method serialize (line 204) | def serialize(self): method deserialize (line 218) | def deserialize(cls, content: dict): method no_predictions (line 230) | def no_predictions(cls): method random_md (line 242) | def random_md(cls): class DetectionMetricDataList (line 254) | class DetectionMetricDataList: method __init__ (line 257) | def __init__(self): method __getitem__ (line 260) | def __getitem__(self, key): method __eq__ (line 263) | def __eq__(self, other): method get_class_data (line 269) | def get_class_data(self, detection_name: str) -> List[Tuple[DetectionM... method get_dist_data (line 273) | def get_dist_data(self, dist_th: float) -> List[Tuple[DetectionMetricD... method set (line 277) | def set(self, detection_name: str, match_distance: float, data: Detect... method serialize (line 281) | def serialize(self) -> dict: method deserialize (line 285) | def deserialize(cls, content: dict): class DetectionMetrics (line 292) | class DetectionMetrics: method __init__ (line 295) | def __init__(self, cfg: dict): method add_label_ap (line 302) | def add_label_ap(self, detection_name: str, dist_th: float, ap: float)... method get_label_ap (line 305) | def get_label_ap(self, detection_name: str, dist_th: float) -> float: method add_label_tp (line 308) | def add_label_tp(self, detection_name: str, metric_name: str, tp: float): method get_label_tp (line 311) | def get_label_tp(self, detection_name: str, metric_name: str) -> float: method add_runtime (line 314) | def add_runtime(self, eval_time: float) -> None: method mean_dist_aps (line 318) | def mean_dist_aps(self) -> Dict[str, float]: method mean_ap (line 323) | def mean_ap(self) -> float: method tp_errors (line 328) | def tp_errors(self) -> Dict[str, float]: method tp_scores (line 341) | def tp_scores(self) -> Dict[str, float]: method nd_score (line 357) | def nd_score(self) -> float: method serialize (line 371) | def serialize(self): method deserialize (line 385) | def deserialize(cls, content: dict): method __eq__ (line 402) | def __eq__(self, other): class DetectionBox (line 412) | class DetectionBox(abc.ABC): method __init__ (line 415) | def __init__(self, method __eq__ (line 447) | def __eq__(self, other): method serialize (line 459) | def serialize(self) -> dict: method deserialize (line 475) | def deserialize(cls, content: dict): method ego_dist (line 489) | def ego_dist(self) -> float: class EvalBoxes (line 497) | class EvalBoxes: method __init__ (line 500) | def __init__(self): method __repr__ (line 506) | def __repr__(self): method __getitem__ (line 509) | def __getitem__(self, item) -> List[DetectionBox]: method __eq__ (line 512) | def __eq__(self, other): method __len__ (line 523) | def __len__(self): method all (line 527) | def all(self) -> List[DetectionBox]: method sample_tokens (line 535) | def sample_tokens(self) -> List[str]: method add_boxes (line 539) | def add_boxes(self, sample_token: str, boxes: List[DetectionBox]) -> N... method serialize (line 543) | def serialize(self) -> dict: method deserialize (line 548) | def deserialize(cls, content: dict, box_cls): function accumulate (line 560) | def accumulate(gt_boxes, function calc_ap (line 716) | def calc_ap(md: DetectionMetricData, min_recall: float, min_precision: f... function calc_tp (line 729) | def calc_tp(md: DetectionMetricData, min_recall: float, metric_name: str... function quaternion_yaw (line 740) | def quaternion_yaw(q: Quaternion) -> float: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscenes_vad_dataset.py class LiDARInstanceLines (line 31) | class LiDARInstanceLines(object): method __init__ (line 35) | def __init__(self, method start_end_points (line 59) | def start_end_points(self): method bbox (line 81) | def bbox(self): method fixed_num_sampled_points (line 101) | def fixed_num_sampled_points(self): method fixed_num_sampled_points_ambiguity (line 121) | def fixed_num_sampled_points_ambiguity(self): method fixed_num_sampled_points_torch (line 142) | def fixed_num_sampled_points_torch(self): method shift_fixed_num_sampled_points (line 167) | def shift_fixed_num_sampled_points(self): method shift_fixed_num_sampled_points_v1 (line 205) | def shift_fixed_num_sampled_points_v1(self): method shift_fixed_num_sampled_points_v2 (line 252) | def shift_fixed_num_sampled_points_v2(self): method shift_fixed_num_sampled_points_v3 (line 310) | def shift_fixed_num_sampled_points_v3(self): method shift_fixed_num_sampled_points_v4 (line 379) | def shift_fixed_num_sampled_points_v4(self): method shift_fixed_num_sampled_points_torch (line 428) | def shift_fixed_num_sampled_points_torch(self): class VectorizedLocalMap (line 474) | class VectorizedLocalMap(object): method __init__ (line 482) | def __init__(self, method gen_vectorized_samples (line 519) | def gen_vectorized_samples(self, location, lidar2global_translation, l... method get_map_geom (line 577) | def get_map_geom(self, patch_box, patch_angle, layer_names, location): method _one_type_line_geom_to_vectors (line 596) | def _one_type_line_geom_to_vectors(self, line_geom): method _one_type_line_geom_to_instances (line 610) | def _one_type_line_geom_to_instances(self, line_geom): method poly_geoms_to_vectors (line 624) | def poly_geoms_to_vectors(self, polygon_geom): method ped_poly_geoms_to_instances (line 661) | def ped_poly_geoms_to_instances(self, ped_geom): method poly_geoms_to_instances (line 698) | def poly_geoms_to_instances(self, polygon_geom): method line_geoms_to_vectors (line 735) | def line_geoms_to_vectors(self, line_geom): method line_geoms_to_instances (line 742) | def line_geoms_to_instances(self, line_geom): method ped_geoms_to_vectors (line 750) | def ped_geoms_to_vectors(self, ped_geom): method get_contour_line (line 770) | def get_contour_line(self,patch_box,patch_angle,layer_name,location): method get_divider_line (line 814) | def get_divider_line(self,patch_box,patch_angle,layer_name,location): method get_ped_crossing_line (line 842) | def get_ped_crossing_line(self, patch_box, patch_angle, location): method sample_pts_from_line (line 865) | def sample_pts_from_line(self, line): class v1CustomDetectionConfig (line 908) | class v1CustomDetectionConfig: method __init__ (line 911) | def __init__(self, method __eq__ (line 937) | def __eq__(self, other): method serialize (line 943) | def serialize(self) -> dict: method deserialize (line 958) | def deserialize(cls, content: dict): method dist_fcn_callable (line 971) | def dist_fcn_callable(self): class VADCustomNuScenesDataset (line 979) | class VADCustomNuScenesDataset(NuScenesDataset): method __init__ (line 983) | def __init__( method get_map_classes (line 1037) | def get_map_classes(cls, map_classes=None): method vectormap_pipeline (line 1063) | def vectormap_pipeline(self, example, input_dict): method prepare_train_data (line 1116) | def prepare_train_data(self, index): method prepare_test_data (line 1162) | def prepare_test_data(self, index): method union2one (line 1178) | def union2one(self, queue): method get_ann_info (line 1209) | def get_ann_info(self, index): method get_data_info (line 1270) | def get_data_info(self, index): method __getitem__ (line 1394) | def __getitem__(self, idx): method _format_gt (line 1409) | def _format_gt(self): method _format_bbox (line 1448) | def _format_bbox(self, results, jsonfile_prefix=None, score_thresh=0.2): method format_results (line 1565) | def format_results(self, results, jsonfile_prefix=None): method _evaluate_single (line 1616) | def _evaluate_single(self, method evaluate (line 1733) | def evaluate(self, function output_to_nusc_box (line 1832) | def output_to_nusc_box(detection): function lidar_nusc_box_to_global (line 1878) | def lidar_nusc_box_to_global(info, function output_to_vecs (line 1917) | def output_to_vecs(detection): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/nuscnes_eval.py function class_tp_curve (line 74) | def class_tp_curve(md_list: DetectionMetricDataList, class DetectionBox_modified (line 137) | class DetectionBox_modified(DetectionBox): method __init__ (line 138) | def __init__(self, *args, token=None, visibility=None, index=None, **k... method serialize (line 147) | def serialize(self) -> dict: method deserialize (line 167) | def deserialize(cls, content: dict): function center_in_image (line 187) | def center_in_image(box, intrinsic: np.ndarray, imsize: Tuple[int, int],... function exist_corners_in_image_but_not_all (line 217) | def exist_corners_in_image_but_not_all(box, intrinsic: np.ndarray, imsiz... function load_gt (line 244) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function filter_eval_boxes_by_id (line 362) | def filter_eval_boxes_by_id(nusc: NuScenes, function filter_eval_boxes_by_visibility (line 394) | def filter_eval_boxes_by_visibility( function filter_by_sample_token (line 426) | def filter_by_sample_token(ori_eval_boxes, valid_sample_tokens=[], verb... function filter_eval_boxes_by_overlap (line 434) | def filter_eval_boxes_by_overlap(nusc: NuScenes, class NuScenesEval_custom (line 507) | class NuScenesEval_custom(NuScenesEval): method __init__ (line 512) | def __init__(self, method update_gt (line 600) | def update_gt(self, type_='vis', visibility='1', index=1): method evaluate (line 629) | def evaluate(self) -> Tuple[DetectionMetrics, DetectionMetricDataList]: method render (line 679) | def render(self, metrics: DetectionMetrics, md_list: DetectionMetricDa... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/augment.py class ResizeCropFlipImage (line 11) | class ResizeCropFlipImage(object): method __call__ (line 12) | def __call__(self, results): method _img_transform (line 35) | def _img_transform(self, img, aug_configs): class BBoxRotation (line 84) | class BBoxRotation(object): method __call__ (line 85) | def __call__(self, results): method box_rotate (line 114) | def box_rotate(bbox_3d, angle): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/compose.py class Compose (line 9) | class Compose: method __init__ (line 17) | def __init__(self, transforms): method __call__ (line 29) | def __call__(self, data): method __repr__ (line 45) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/data_augment_utils.py function _rotation_box2d_jit_ (line 13) | def _rotation_box2d_jit_(corners, angle, rot_mat_T): function box_collision_test (line 31) | def box_collision_test(boxes, qboxes, clockwise=True): function noise_per_box (line 128) | def noise_per_box(boxes, valid_mask, loc_noises, rot_noises): function noise_per_box_v2_ (line 169) | def noise_per_box_v2_(boxes, valid_mask, loc_noises, rot_noises, function _select_transform (line 235) | def _select_transform(transform, indices): function _rotation_matrix_3d_ (line 254) | def _rotation_matrix_3d_(rot_mat_T, angle, axis): function points_transform_ (line 283) | def points_transform_(points, centers, point_masks, loc_transform, function box3d_transform_ (line 313) | def box3d_transform_(boxes, loc_transform, rot_transform, valid_mask): function noise_per_object_v3_ (line 329) | def noise_per_object_v3_(gt_boxes, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/formating.py function to_tensor (line 13) | def to_tensor(data): class ToTensor (line 39) | class ToTensor: method __init__ (line 46) | def __init__(self, keys): method __call__ (line 49) | def __call__(self, results): method __repr__ (line 63) | def __repr__(self): class ImageToTensor (line 68) | class ImageToTensor: method __init__ (line 79) | def __init__(self, keys): method __call__ (line 82) | def __call__(self, results): method __repr__ (line 100) | def __repr__(self): class Transpose (line 105) | class Transpose: method __init__ (line 113) | def __init__(self, keys, order): method __call__ (line 117) | def __call__(self, results): method __repr__ (line 131) | def __repr__(self): class ToDataContainer (line 137) | class ToDataContainer: method __init__ (line 148) | def __init__(self, method __call__ (line 153) | def __call__(self, results): method __repr__ (line 171) | def __repr__(self): class DefaultFormatBundle (line 176) | class DefaultFormatBundle: method __call__ (line 193) | def __call__(self, results): method _add_default_meta_keys (line 223) | def _add_default_meta_keys(self, results): method __repr__ (line 248) | def __repr__(self): method __init__ (line 389) | def __init__(self, ): method __call__ (line 392) | def __call__(self, results): method __repr__ (line 438) | def __repr__(self): class Collect (line 253) | class Collect: method __init__ (line 292) | def __init__(self, method __call__ (line 300) | def __call__(self, results): method __repr__ (line 323) | def __repr__(self): class WrapFieldsToLists (line 329) | class WrapFieldsToLists: method __call__ (line 349) | def __call__(self, results): method __repr__ (line 365) | def __repr__(self): class DefaultFormatBundle (line 372) | class DefaultFormatBundle(object): method __call__ (line 193) | def __call__(self, results): method _add_default_meta_keys (line 223) | def _add_default_meta_keys(self, results): method __repr__ (line 248) | def __repr__(self): method __init__ (line 389) | def __init__(self, ): method __call__ (line 392) | def __call__(self, results): method __repr__ (line 438) | def __repr__(self): class Collect3D (line 443) | class Collect3D(object): method __init__ (line 491) | def __init__(self, method __call__ (line 503) | def __call__(self, results): method __repr__ (line 526) | def __repr__(self): class DefaultFormatBundle3D (line 533) | class DefaultFormatBundle3D(DefaultFormatBundle): method __init__ (line 548) | def __init__(self, class_names, with_gt=True, with_label=True): method __call__ (line 554) | def __call__(self, results): method __repr__ (line 620) | def __repr__(self): class CustomDefaultFormatBundle3D (line 628) | class CustomDefaultFormatBundle3D(DefaultFormatBundle3D): method __call__ (line 641) | def __call__(self, results): class VADFormatBundle3D (line 657) | class VADFormatBundle3D(DefaultFormatBundle3D): method __init__ (line 669) | def __init__(self, class_names, with_gt=True, with_label=True, with_eg... method __call__ (line 674) | def __call__(self, results): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/loading.py class LoadImageFromFile (line 18) | class LoadImageFromFile: method __init__ (line 37) | def __init__(self, method __call__ (line 46) | def __call__(self, results): method __repr__ (line 78) | def __repr__(self): class LoadImageFromWebcam (line 87) | class LoadImageFromWebcam(LoadImageFromFile): method __call__ (line 94) | def __call__(self, results): class LoadMultiChannelImageFromFiles (line 119) | class LoadMultiChannelImageFromFiles: method __init__ (line 139) | def __init__(self, method __call__ (line 148) | def __call__(self, results): method __repr__ (line 193) | def __repr__(self): class LoadAnnotations (line 202) | class LoadAnnotations: method __init__ (line 221) | def __init__(self, method _load_bboxes (line 236) | def _load_bboxes(self, results): method _load_labels (line 256) | def _load_labels(self, results): method _poly2mask (line 269) | def _poly2mask(self, mask_ann, img_h, img_w): method process_polygons (line 296) | def process_polygons(self, polygons): method _load_masks (line 313) | def _load_masks(self, results): method _load_semantic_seg (line 338) | def _load_semantic_seg(self, results): method __call__ (line 359) | def __call__(self, results): method __repr__ (line 382) | def __repr__(self): class LoadProposals (line 394) | class LoadProposals: method __init__ (line 404) | def __init__(self, num_max_proposals=None): method __call__ (line 407) | def __call__(self, results): method __repr__ (line 433) | def __repr__(self): class FilterAnnotations (line 439) | class FilterAnnotations: method __init__ (line 447) | def __init__(self, min_gt_bbox_wh): method __call__ (line 451) | def __call__(self, results): class LoadMultiViewImageFromFiles (line 468) | class LoadMultiViewImageFromFiles(object): method __init__ (line 479) | def __init__(self, to_float32=False, color_type='unchanged'): method __call__ (line 483) | def __call__(self, results): method __repr__ (line 523) | def __repr__(self): class LoadImageFromFileMono3D (line 532) | class LoadImageFromFileMono3D(LoadImageFromFile): method __call__ (line 541) | def __call__(self, results): class LoadPointsFromMultiSweeps (line 556) | class LoadPointsFromMultiSweeps(object): method __init__ (line 577) | def __init__(self, method _load_points (line 594) | def _load_points(self, pts_filename): method _remove_close (line 616) | def _remove_close(self, points, radius=1.0): method __call__ (line 638) | def __call__(self, results): method __repr__ (line 689) | def __repr__(self): class PointSegClassMapping (line 695) | class PointSegClassMapping(object): method __init__ (line 707) | def __init__(self, valid_cat_ids, max_cat_id=40): method __call__ (line 721) | def __call__(self, results): method __repr__ (line 741) | def __repr__(self): class NormalizePointsColor (line 750) | class NormalizePointsColor(object): method __init__ (line 757) | def __init__(self, color_mean): method __call__ (line 760) | def __call__(self, results): method __repr__ (line 783) | def __repr__(self): class LoadPointsFromFile (line 791) | class LoadPointsFromFile(object): method __init__ (line 814) | def __init__(self, method _load_points (line 835) | def _load_points(self, pts_filename): method __call__ (line 858) | def __call__(self, results): method __repr__ (line 902) | def __repr__(self): class LoadAnnotations3D (line 914) | class LoadAnnotations3D(LoadAnnotations): method __init__ (line 950) | def __init__(self, method _load_bboxes_3d (line 979) | def _load_bboxes_3d(self, results): method _load_bboxes_depth (line 992) | def _load_bboxes_depth(self, results): method _load_labels_3d (line 1005) | def _load_labels_3d(self, results): method _load_attr_labels (line 1017) | def _load_attr_labels(self, results): method _load_masks_3d (line 1029) | def _load_masks_3d(self, results): method _load_semantic_seg_3d (line 1054) | def _load_semantic_seg_3d(self, results): method __call__ (line 1081) | def __call__(self, results): method __repr__ (line 1111) | def __repr__(self): class LoadMultiViewImageFromFilesInCeph (line 1129) | class LoadMultiViewImageFromFilesInCeph(object): method __init__ (line 1140) | def __init__(self, to_float32=False, color_type='unchanged', file_clie... method __call__ (line 1147) | def __call__(self, results): method __repr__ (line 1197) | def __repr__(self): class LoadAnnotations3D_E2E (line 1206) | class LoadAnnotations3D_E2E(LoadAnnotations3D): method __init__ (line 1241) | def __init__(self, method _load_future_anns (line 1253) | def _load_future_anns(self, results): method _load_ins_inds_3d (line 1302) | def _load_ins_inds_3d(self, results): method __call__ (line 1313) | def __call__(self, results): method __repr__ (line 1327) | def __repr__(self): function load_augmented_point_cloud (line 1336) | def load_augmented_point_cloud(path, virtual=False, reduce_beams=32): function reduce_LiDAR_beams (line 1384) | def reduce_LiDAR_beams(pts, reduce_beams_to=32): class CustomLoadPointsFromMultiSweeps (line 1436) | class CustomLoadPointsFromMultiSweeps: method __init__ (line 1454) | def __init__( method _load_points (line 1476) | def _load_points(self, lidar_path): method _remove_close (line 1498) | def _remove_close(self, points, radius=1.0): method __call__ (line 1520) | def __call__(self, results): method __repr__ (line 1585) | def __repr__(self): class CustomLoadPointsFromFile (line 1592) | class CustomLoadPointsFromFile: method __init__ (line 1612) | def __init__( method _load_points (line 1637) | def _load_points(self, lidar_path): method __call__ (line 1660) | def __call__(self, results): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/occflow_label.py class GenerateOccFlowLabels (line 11) | class GenerateOccFlowLabels(object): method __init__ (line 12) | def __init__(self, grid_conf, ignore_index=255, only_vehicle=True, fil... method reframe_boxes (line 49) | def reframe_boxes(self, boxes, t_init, t_curr): method __call__ (line 80) | def __call__(self, results): method center_offset_flow (line 202) | def center_offset_flow(self, instance_img, all_gt_inds, ignore_index=2... method visualize_instances (line 267) | def visualize_instances(self, instances, vis_root=''): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/test_time_aug.py class MultiScaleFlipAug (line 10) | class MultiScaleFlipAug: method __init__ (line 53) | def __init__(self, method __call__ (line 84) | def __call__(self, results): method __repr__ (line 115) | def __repr__(self): class MultiScaleFlipAug3D (line 123) | class MultiScaleFlipAug3D(object): method __init__ (line 145) | def __init__(self, method __call__ (line 178) | def __call__(self, results): method __repr__ (line 225) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/transforms.py class Resize (line 27) | class Resize: method __init__ (line 67) | def __init__(self, method random_select (line 100) | def random_select(img_scales): method random_sample (line 118) | def random_sample(img_scales): method random_sample_ratio (line 145) | def random_sample_ratio(img_scale, ratio_range): method _random_scale (line 171) | def _random_scale(self, results): method _resize_img (line 204) | def _resize_img(self, results): method _resize_bboxes (line 235) | def _resize_bboxes(self, results): method _resize_masks (line 245) | def _resize_masks(self, results): method _resize_seg (line 255) | def _resize_seg(self, results): method __call__ (line 272) | def __call__(self, results): method __repr__ (line 309) | def __repr__(self): class RandomFlip (line 320) | class RandomFlip: method __init__ (line 357) | def __init__(self, flip_ratio=None, direction='horizontal'): method bbox_flip (line 383) | def bbox_flip(self, bboxes, img_shape, direction): method __call__ (line 417) | def __call__(self, results): method __repr__ (line 472) | def __repr__(self): class RandomShift (line 477) | class RandomShift: method __init__ (line 488) | def __init__(self, shift_ratio=0.5, max_shift_px=32, filter_thr_px=1): method __call__ (line 500) | def __call__(self, results): method __repr__ (line 560) | def __repr__(self): class Pad (line 567) | class Pad: method __init__ (line 580) | def __init__(self, size=None, size_divisor=None, pad_val=0): method _pad_img (line 588) | def _pad_img(self, results): method _pad_masks (line 602) | def _pad_masks(self, results): method _pad_seg (line 608) | def _pad_seg(self, results): method __call__ (line 615) | def __call__(self, results): method __repr__ (line 629) | def __repr__(self): class Normalize (line 638) | class Normalize: method __init__ (line 650) | def __init__(self, mean, std, to_rgb=True): method __call__ (line 655) | def __call__(self, results): method __repr__ (line 672) | def __repr__(self): class RandomCrop (line 679) | class RandomCrop: method __init__ (line 713) | def __init__(self, method _crop_data (line 742) | def _crop_data(self, results, crop_size, allow_negative_crop): method _get_crop_size (line 807) | def _get_crop_size(self, image_size): method __call__ (line 837) | def __call__(self, results): method __repr__ (line 853) | def __repr__(self): class SegRescale (line 863) | class SegRescale: method __init__ (line 873) | def __init__(self, scale_factor=1, backend='cv2'): method __call__ (line 877) | def __call__(self, results): method __repr__ (line 896) | def __repr__(self): class PhotoMetricDistortion (line 901) | class PhotoMetricDistortion: method __init__ (line 922) | def __init__(self, method __call__ (line 932) | def __call__(self, results): method __repr__ (line 995) | def __repr__(self): class Expand (line 1007) | class Expand: method __init__ (line 1020) | def __init__(self, method __call__ (line 1036) | def __call__(self, results): method __repr__ (line 1090) | def __repr__(self): class MinIoURandomCrop (line 1099) | class MinIoURandomCrop: method __init__ (line 1118) | def __init__(self, method __call__ (line 1136) | def __call__(self, results): method __repr__ (line 1230) | def __repr__(self): class Corrupt (line 1239) | class Corrupt: method __init__ (line 1250) | def __init__(self, corruption, severity=1): method __call__ (line 1254) | def __call__(self, results): method __repr__ (line 1275) | def __repr__(self): class Albu (line 1283) | class Albu: method __init__ (line 1325) | def __init__(self, method albu_builder (line 1368) | def albu_builder(self, cfg): method mapper (line 1403) | def mapper(d, keymap): method __call__ (line 1419) | def __call__(self, results): method __repr__ (line 1481) | def __repr__(self): class RandomCenterCropPad (line 1487) | class RandomCenterCropPad: method __init__ (line 1575) | def __init__(self, method _get_border (line 1621) | def _get_border(self, border, size): method _filter_boxes (line 1640) | def _filter_boxes(self, patch, boxes): method _crop_image_and_paste (line 1656) | def _crop_image_and_paste(self, image, center, size): method _train_aug (line 1707) | def _train_aug(self, results): method _test_aug (line 1775) | def _test_aug(self, results): method __call__ (line 1809) | def __call__(self, results): method __repr__ (line 1821) | def __repr__(self): class CutOut (line 1836) | class CutOut: method __init__ (line 1859) | def __init__(self, method __call__ (line 1880) | def __call__(self, results): method __repr__ (line 1900) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/transforms_3d.py class RandomDropPointsColor (line 22) | class RandomDropPointsColor(object): method __init__ (line 34) | def __init__(self, drop_ratio=0.2): method __call__ (line 39) | def __call__(self, input_dict): method __repr__ (line 64) | def __repr__(self): class RandomFlip3D (line 72) | class RandomFlip3D(RandomFlip): method __init__ (line 90) | def __init__(self, method random_flip_data_3d (line 108) | def random_flip_data_3d(self, input_dict, direction='horizontal'): method __call__ (line 144) | def __call__(self, input_dict): method __repr__ (line 183) | def __repr__(self): class RandomJitterPoints (line 192) | class RandomJitterPoints(object): method __init__ (line 213) | def __init__(self, method __call__ (line 230) | def __call__(self, input_dict): method __repr__ (line 251) | def __repr__(self): class ObjectSample (line 260) | class ObjectSample(object): method __init__ (line 270) | def __init__(self, db_sampler, sample_2d=False): method remove_points_in_boxes (line 278) | def remove_points_in_boxes(points, boxes): method __call__ (line 292) | def __call__(self, input_dict): method __repr__ (line 350) | def __repr__(self): class ObjectNoise (line 364) | class ObjectNoise(object): method __init__ (line 379) | def __init__(self, method __call__ (line 389) | def __call__(self, input_dict): method __repr__ (line 418) | def __repr__(self): class GlobalAlignment (line 429) | class GlobalAlignment(object): method __init__ (line 443) | def __init__(self, rotation_axis): method _trans_points (line 446) | def _trans_points(self, input_dict, trans_factor): method _rot_points (line 458) | def _rot_points(self, input_dict, rot_mat): method _check_rot_mat (line 471) | def _check_rot_mat(self, rot_mat): method __call__ (line 484) | def __call__(self, input_dict): method __repr__ (line 509) | def __repr__(self): class GlobalRotScaleTrans (line 516) | class GlobalRotScaleTrans(object): method __init__ (line 533) | def __init__(self, method _trans_bbox_points (line 560) | def _trans_bbox_points(self, input_dict): method _rot_bbox_points (line 579) | def _rot_bbox_points(self, input_dict): method _scale_bbox_points (line 607) | def _scale_bbox_points(self, input_dict): method _random_scale (line 629) | def _random_scale(self, input_dict): method __call__ (line 643) | def __call__(self, input_dict): method __repr__ (line 669) | def __repr__(self): class PointShuffle (line 680) | class PointShuffle(object): method __call__ (line 683) | def __call__(self, input_dict): method __repr__ (line 707) | def __repr__(self): class ObjectRangeFilter (line 712) | class ObjectRangeFilter(object): method __init__ (line 719) | def __init__(self, point_cloud_range): method __call__ (line 722) | def __call__(self, input_dict): method __repr__ (line 756) | def __repr__(self): class PointsRangeFilter (line 764) | class PointsRangeFilter(object): method __init__ (line 771) | def __init__(self, point_cloud_range): method __call__ (line 774) | def __call__(self, input_dict): method __repr__ (line 801) | def __repr__(self): class ObjectNameFilter (line 809) | class ObjectNameFilter(object): method __init__ (line 816) | def __init__(self, classes): method __call__ (line 820) | def __call__(self, input_dict): method __repr__ (line 838) | def __repr__(self): class PointSample (line 846) | class PointSample(object): method __init__ (line 860) | def __init__(self, num_points, sample_range=None, replace=False): method _points_random_sampling (line 865) | def _points_random_sampling(self, method __call__ (line 913) | def __call__(self, results): method __repr__ (line 950) | def __repr__(self): class IndoorPointSample (line 961) | class IndoorPointSample(PointSample): method __init__ (line 971) | def __init__(self, *args, **kwargs): class IndoorPatchPointSample (line 978) | class IndoorPatchPointSample(object): method __init__ (line 1016) | def __init__(self, method _input_generation (line 1040) | def _input_generation(self, coords, patch_center, coord_max, attributes, method _patch_points_sampling (line 1081) | def _patch_points_sampling(self, points, sem_mask): method __call__ (line 1181) | def __call__(self, results): method __repr__ (line 1208) | def __repr__(self): class BackgroundPointsFilter (line 1223) | class BackgroundPointsFilter(object): method __init__ (line 1230) | def __init__(self, bbox_enlarge_range): method __call__ (line 1241) | def __call__(self, input_dict): method __repr__ (line 1280) | def __repr__(self): class VoxelBasedPointSampler (line 1288) | class VoxelBasedPointSampler(object): method __init__ (line 1300) | def __init__(self, cur_sweep_cfg, prev_sweep_cfg=None, time_dim=3): method _sample_points (line 1313) | def _sample_points(self, points, sampler, point_dim): method __call__ (line 1339) | def __call__(self, results): method __repr__ (line 1407) | def __repr__(self): class PadMultiViewImage (line 1429) | class PadMultiViewImage(object): method __init__ (line 1440) | def __init__(self, size=None, size_divisor=None, pad_val=0): method _pad_img (line 1448) | def _pad_img(self, results): method __call__ (line 1464) | def __call__(self, results): method __repr__ (line 1474) | def __repr__(self): class NormalizeMultiviewImage (line 1483) | class NormalizeMultiviewImage(object): method __init__ (line 1493) | def __init__(self, mean, std, to_rgb=True): method __call__ (line 1499) | def __call__(self, results): method __repr__ (line 1513) | def __repr__(self): class PhotoMetricDistortionMultiViewImage (line 1520) | class PhotoMetricDistortionMultiViewImage: method __init__ (line 1539) | def __init__(self, method __call__ (line 1549) | def __call__(self, results): method __repr__ (line 1608) | def __repr__(self): class CustomCollect3D (line 1621) | class CustomCollect3D(object): method __init__ (line 1665) | def __init__(self, method __call__ (line 1680) | def __call__(self, results): method __repr__ (line 1702) | def __repr__(self): class RandomScaleImageMultiViewImage (line 1710) | class RandomScaleImageMultiViewImage(object): method __init__ (line 1716) | def __init__(self, scales=[]): method __call__ (line 1720) | def __call__(self, results): method __repr__ (line 1745) | def __repr__(self): class ObjectRangeFilterTrack (line 1751) | class ObjectRangeFilterTrack(object): method __init__ (line 1757) | def __init__(self, point_cloud_range): method __call__ (line 1760) | def __call__(self, input_dict): method __repr__ (line 1824) | def __repr__(self): class ObjectNameFilterTrack (line 1831) | class ObjectNameFilterTrack(object): method __init__ (line 1837) | def __init__(self, classes): method __call__ (line 1841) | def __call__(self, input_dict): method __repr__ (line 1861) | def __repr__(self): class CustomObjectRangeFilter (line 1868) | class CustomObjectRangeFilter(ObjectRangeFilter): method __call__ (line 1869) | def __call__(self, results): class CustomObjectNameFilter (line 1903) | class CustomObjectNameFilter(ObjectNameFilter): method __call__ (line 1904) | def __call__(self, results): class VADObjectRangeFilter (line 1923) | class VADObjectRangeFilter(object): method __init__ (line 1930) | def __init__(self, point_cloud_range): method __call__ (line 1933) | def __call__(self, input_dict): method __repr__ (line 1975) | def __repr__(self): class VADObjectNameFilter (line 1983) | class VADObjectNameFilter(object): method __init__ (line 1990) | def __init__(self, classes): method __call__ (line 1994) | def __call__(self, input_dict): method __repr__ (line 2014) | def __repr__(self): class CustomPointsRangeFilter (line 2021) | class CustomPointsRangeFilter: method __init__ (line 2027) | def __init__(self, point_cloud_range): method __call__ (line 2030) | def __call__(self, data): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/pipelines/vectorize.py class VectorizeMap (line 11) | class VectorizeMap(object): method __init__ (line 26) | def __init__(self, method interp_fixed_num (line 52) | def interp_fixed_num(self, line: LineString) -> NDArray: method interp_fixed_dist (line 68) | def interp_fixed_dist(self, line: LineString) -> NDArray: method get_vectorized_lines (line 87) | def get_vectorized_lines(self, map_geoms: Dict) -> Dict: method normalize_line (line 124) | def normalize_line(self, line: NDArray) -> NDArray: method permute_line (line 144) | def permute_line(self, line: np.ndarray, padding=1e5): method __call__ (line 179) | def __call__(self, input_dict): method __repr__ (line 198) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/prepare_B2D.py function apply_trans (line 46) | def apply_trans(vec,world2ego): function get_pose_matrix (line 51) | def get_pose_matrix(dic): function get_npc2world (line 59) | def get_npc2world(npc): function get_global_trigger_vertex (line 75) | def get_global_trigger_vertex(center,extent,yaw_in_degree): function get_image_point (line 91) | def get_image_point(loc, K, w2c): function get_action (line 101) | def get_action(index): function gengrate_map (line 147) | def gengrate_map(map_root): function preprocess (line 192) | def preprocess(folder_list,idx,tmp_dir,train_or_val): function generate_infos (line 357) | def generate_infos(folder_list,workers,train_or_val,tmp_dir): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/samplers/distributed_sampler.py class DistributedSampler (line 9) | class DistributedSampler(_DistributedSampler): method __init__ (line 11) | def __init__(self, method __iter__ (line 22) | def __iter__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/samplers/group_sampler.py class GroupSampler (line 12) | class GroupSampler(Sampler): method __init__ (line 14) | def __init__(self, dataset, samples_per_gpu=1): method __iter__ (line 25) | def __iter__(self): method __len__ (line 49) | def __len__(self): class DistributedGroupSampler (line 53) | class DistributedGroupSampler(Sampler): method __init__ (line 71) | def __init__(self, method __iter__ (line 100) | def __iter__(self): method __len__ (line 142) | def __len__(self): method set_epoch (line 145) | def set_epoch(self, epoch): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/samplers/sampler.py function build_sampler (line 6) | def build_sampler(cfg, default_args): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/utils.py function replace_ImageToTensor (line 22) | def replace_ImageToTensor(pipelines): class NumClassCheckHook (line 124) | class NumClassCheckHook(Hook): method _check_head (line 126) | def _check_head(self, runner): method before_train_epoch (line 158) | def before_train_epoch(self, runner): method before_val_epoch (line 166) | def before_val_epoch(self, runner): function is_loading_function (line 175) | def is_loading_function(transform): function get_loading_pipeline (line 210) | def get_loading_pipeline(pipeline): function extract_result_dict (line 273) | def extract_result_dict(results, key): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/vad_custom_nuscenes_eval.py function class_tp_curve (line 46) | def class_tp_curve(md_list: DetectionMetricDataList, class DetectionBox_modified (line 109) | class DetectionBox_modified(DetectionBox): method __init__ (line 110) | def __init__(self, *args, token=None, visibility=None, index=None, **k... method serialize (line 119) | def serialize(self) -> dict: method deserialize (line 139) | def deserialize(cls, content: dict): function center_in_image (line 159) | def center_in_image(box, intrinsic: np.ndarray, imsize: Tuple[int, int],... function exist_corners_in_image_but_not_all (line 189) | def exist_corners_in_image_but_not_all(box, intrinsic: np.ndarray, imsiz... function load_prediction (line 215) | def load_prediction(result_path: str, max_boxes_per_sample: int, box_cls... function load_gt (line 247) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function filter_eval_boxes_by_id (line 365) | def filter_eval_boxes_by_id(nusc: NuScenes, function filter_eval_boxes_by_visibility (line 397) | def filter_eval_boxes_by_visibility( function filter_by_sample_token (line 429) | def filter_by_sample_token(ori_eval_boxes, valid_sample_tokens=[], verb... function filter_eval_boxes_by_overlap (line 437) | def filter_eval_boxes_by_overlap(nusc: NuScenes, function _get_box_class_field (line 509) | def _get_box_class_field(eval_boxes: EvalBoxes) -> str: function filter_eval_boxes (line 532) | def filter_eval_boxes(nusc: NuScenes, class NuScenesEval_custom (line 590) | class NuScenesEval_custom(NuScenesEval): method __init__ (line 595) | def __init__(self, method update_gt (line 678) | def update_gt(self, type_='vis', visibility='1', index=1): method evaluate (line 707) | def evaluate(self) -> Tuple[DetectionMetrics, DetectionMetricDataList]: method render (line 757) | def render(self, metrics: DetectionMetrics, md_list: DetectionMetricDa... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/datasets/vis_utils.py function calc_projected_2d_bbox (line 129) | def calc_projected_2d_bbox(vertices_pos2d): function calculate_occlusion (line 140) | def calculate_occlusion(bbox, point_depth, agent, depth_map): function calculate_occlusion_vectorized (line 164) | def calculate_occlusion_vectorized(bbox, point_depth, extent, depth_map): function calc_bbox2d_area (line 194) | def calc_bbox2d_area(bbox_2d): function calculate_truncation (line 201) | def calculate_truncation(uncropped_bbox, cropped_bbox): function crop_boxes_in_canvas (line 209) | def crop_boxes_in_canvas(cam_bboxes): function point_is_occluded (line 220) | def point_is_occluded(point, vertex_depth, depth_map): function point_is_occluded_single (line 238) | def point_is_occluded_single(points, vertex_depth, depth_map, canvas_sha... function point_is_occluded_vectorized (line 255) | def point_is_occluded_vectorized(points, vertex_depth, depth_map, canvas... function draw_3d_bbox_vertex (line 277) | def draw_3d_bbox_vertex(image, points): function calculate_occlusion_stats (line 281) | def calculate_occlusion_stats(bbox_points, depth, depth_map, max_render_... function get_intrinsic_matrix (line 313) | def get_intrinsic_matrix(camera): function get_image_point (line 326) | def get_image_point(loc, K, w2c): function point_in_canvas_hw (line 349) | def point_in_canvas_hw(pos): function point_in_canvas_wh (line 355) | def point_in_canvas_wh(pos): function build_projection_matrix (line 361) | def build_projection_matrix(w, h, fov, is_behind_camera=False): function rotate_3d (line 374) | def rotate_3d(vector, theta): function normalize_angle_degree (line 383) | def normalize_angle_degree(x): function algin_lidar (line 390) | def algin_lidar(lidar, translation, yaw): function convert_depth (line 406) | def convert_depth(data): function get_relative_transform (line 416) | def get_relative_transform(ego_matrix, vehicle_matrix): function normalize_angle (line 431) | def normalize_angle(x): function build_skeleton (line 437) | def build_skeleton(ped, sk_links): function get_center_and_extent (line 460) | def get_center_and_extent(verts): function get_forward_vector (line 483) | def get_forward_vector(yaw): function calculate_cube_vertices (line 493) | def calculate_cube_vertices(center, extent): function calculate_cube_vertices_2 (line 509) | def calculate_cube_vertices_2(center, extent): function calculate_cube_vertices_3 (line 524) | def calculate_cube_vertices_3(center, extent): function draw_dashed_line (line 542) | def draw_dashed_line(img, start_point, end_point, color, thickness=1, da... function get_matrix (line 559) | def get_matrix(location, rotation): function euler_to_rotation_matrix (line 586) | def euler_to_rotation_matrix(pitch, roll, yaw): function world_to_ego_no (line 604) | def world_to_ego_no(point_world, ego_location, ego_rotation): function world_to_ego (line 615) | def world_to_ego(point_world, w2e): function world_to_lidar (line 621) | def world_to_lidar(point_world, w2l): function vector_angle (line 626) | def vector_angle(v1, v2): function get_weather_id (line 635) | def get_weather_id(weather_conditions): function static_weather (line 652) | def static_weather(path): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/fileio/file_client.py class BaseStorageBackend (line 17) | class BaseStorageBackend(metaclass=ABCMeta): method name (line 29) | def name(self): method allow_symlink (line 33) | def allow_symlink(self): method get (line 37) | def get(self, filepath): method get_text (line 41) | def get_text(self, filepath): class CephBackend (line 45) | class CephBackend(BaseStorageBackend): method __init__ (line 58) | def __init__(self, path_mapping=None): method get (line 70) | def get(self, filepath): method get_text (line 79) | def get_text(self, filepath, encoding=None): class PetrelBackend (line 83) | class PetrelBackend(BaseStorageBackend): method __init__ (line 106) | def __init__(self, method _map_path (line 119) | def _map_path(self, filepath: Union[str, Path]) -> str: method _format_path (line 132) | def _format_path(self, filepath: str) -> str: method get (line 145) | def get(self, filepath: Union[str, Path]) -> memoryview: method get_text (line 162) | def get_text(self, method put (line 177) | def put(self, obj: bytes, filepath: Union[str, Path]) -> None: method put_text (line 188) | def put_text(self, method remove (line 202) | def remove(self, filepath: Union[str, Path]) -> None: method exists (line 218) | def exists(self, filepath: Union[str, Path]) -> bool: method isdir (line 238) | def isdir(self, filepath: Union[str, Path]) -> bool: method isfile (line 259) | def isfile(self, filepath: Union[str, Path]) -> bool: method join_path (line 279) | def join_path(self, filepath: Union[str, Path], method get_local_path (line 298) | def get_local_path(self, filepath: Union[str, Path]) -> Iterable[str]: method list_dir_or_file (line 329) | def list_dir_or_file(self, class MemcachedBackend (line 411) | class MemcachedBackend(BaseStorageBackend): method __init__ (line 421) | def __init__(self, server_list_cfg, client_cfg, sys_path=None): method get (line 438) | def get(self, filepath): method get_text (line 445) | def get_text(self, filepath, encoding=None): class LmdbBackend (line 449) | class LmdbBackend(BaseStorageBackend): method __init__ (line 467) | def __init__(self, method get (line 486) | def get(self, filepath): method get_text (line 497) | def get_text(self, filepath, encoding=None): class HardDiskBackend (line 501) | class HardDiskBackend(BaseStorageBackend): method get (line 506) | def get(self, filepath: Union[str, Path]) -> bytes: method get_text (line 519) | def get_text(self, method put (line 536) | def put(self, obj: bytes, filepath: Union[str, Path]) -> None: method put_text (line 551) | def put_text(self, method remove (line 571) | def remove(self, filepath: Union[str, Path]) -> None: method exists (line 579) | def exists(self, filepath: Union[str, Path]) -> bool: method isdir (line 590) | def isdir(self, filepath: Union[str, Path]) -> bool: method isfile (line 603) | def isfile(self, filepath: Union[str, Path]) -> bool: method join_path (line 615) | def join_path(self, filepath: Union[str, Path], method get_local_path (line 631) | def get_local_path( method list_dir_or_file (line 636) | def list_dir_or_file(self, class HTTPBackend (line 689) | class HTTPBackend(BaseStorageBackend): method get (line 692) | def get(self, filepath): method get_text (line 696) | def get_text(self, filepath, encoding='utf-8'): method get_local_path (line 701) | def get_local_path(self, filepath: str) -> Iterable[str]: class FileClient (line 727) | class FileClient: method __new__ (line 785) | def __new__(cls, backend=None, prefix=None, **kwargs): method name (line 821) | def name(self): method allow_symlink (line 825) | def allow_symlink(self): method parse_uri_prefix (line 829) | def parse_uri_prefix(uri: Union[str, Path]) -> Optional[str]: method infer_client (line 856) | def infer_client(cls, method _register_backend (line 884) | def _register_backend(cls, name, backend, force=False, prefixes=None): method register_backend (line 920) | def register_backend(cls, name, backend=None, force=False, prefixes=No... method get (line 974) | def get(self, filepath: Union[str, Path]) -> Union[bytes, memoryview]: method get_text (line 992) | def get_text(self, filepath: Union[str, Path], encoding='utf-8') -> str: method put (line 1005) | def put(self, obj: bytes, filepath: Union[str, Path]) -> None: method put_text (line 1018) | def put_text(self, obj: str, filepath: Union[str, Path]) -> None: method remove (line 1033) | def remove(self, filepath: Union[str, Path]) -> None: method exists (line 1041) | def exists(self, filepath: Union[str, Path]) -> bool: method isdir (line 1052) | def isdir(self, filepath: Union[str, Path]) -> bool: method isfile (line 1065) | def isfile(self, filepath: Union[str, Path]) -> bool: method join_path (line 1077) | def join_path(self, filepath: Union[str, Path], method get_local_path (line 1093) | def get_local_path(self, filepath: Union[str, Path]) -> Iterable[str]: method list_dir_or_file (line 1121) | def list_dir_or_file(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/fileio/handlers/base.py class BaseFileHandler (line 5) | class BaseFileHandler(metaclass=ABCMeta): method load_from_fileobj (line 13) | def load_from_fileobj(self, file, **kwargs): method dump_to_fileobj (line 17) | def dump_to_fileobj(self, obj, file, **kwargs): method dump_to_str (line 21) | def dump_to_str(self, obj, **kwargs): method load_from_path (line 24) | def load_from_path(self, filepath, mode='r', **kwargs): method dump_to_path (line 28) | def dump_to_path(self, obj, filepath, mode='w', **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/fileio/handlers/json_handler.py function set_default (line 9) | def set_default(obj): class JsonHandler (line 25) | class JsonHandler(BaseFileHandler): method load_from_fileobj (line 27) | def load_from_fileobj(self, file): method dump_to_fileobj (line 30) | def dump_to_fileobj(self, obj, file, **kwargs): method dump_to_str (line 34) | def dump_to_str(self, obj, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/fileio/handlers/pickle_handler.py class PickleHandler (line 7) | class PickleHandler(BaseFileHandler): method load_from_fileobj (line 11) | def load_from_fileobj(self, file, **kwargs): method load_from_path (line 14) | def load_from_path(self, filepath, **kwargs): method dump_to_str (line 18) | def dump_to_str(self, obj, **kwargs): method dump_to_fileobj (line 22) | def dump_to_fileobj(self, obj, file, **kwargs): method dump_to_path (line 26) | def dump_to_path(self, obj, filepath, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/fileio/io.py function load (line 17) | def load(file, file_format=None, file_client_args=None, **kwargs): function dump (line 70) | def dump(obj, file=None, file_format=None, file_client_args=None, **kwar... function _register_handler (line 129) | def _register_handler(handler, file_formats): function register_handler (line 148) | def register_handler(file_formats, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/fileio/parse.py function list_from_file (line 8) | def list_from_file(filename, function dict_from_file (line 55) | def dict_from_file(filename, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/image/colorspace.py function imconvert (line 6) | def imconvert(img, src, dst): function bgr2gray (line 22) | def bgr2gray(img, keepdim=False): function rgb2gray (line 39) | def rgb2gray(img, keepdim=False): function gray2bgr (line 56) | def gray2bgr(img): function gray2rgb (line 70) | def gray2rgb(img): function _convert_input_type_range (line 84) | def _convert_input_type_range(img): function _convert_output_type_range (line 112) | def _convert_output_type_range(img, dst_type): function rgb2ycbcr (line 143) | def rgb2ycbcr(img, y_only=False): function bgr2ycbcr (line 177) | def bgr2ycbcr(img, y_only=False): function ycbcr2rgb (line 211) | def ycbcr2rgb(img): function ycbcr2bgr (line 243) | def ycbcr2bgr(img): function convert_color_factory (line 275) | def convert_color_factory(src, dst): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/image/geometric.py function _scale_size (line 16) | def _scale_size(size, scale): function imresize (line 51) | def imresize(img, function imresize_to_multiple (line 98) | def imresize_to_multiple(img, function imresize_like (line 162) | def imresize_like(img, function rescale_size (line 184) | def rescale_size(old_size, scale, return_scale=False): function imrescale (line 221) | def imrescale(img, function imflip (line 252) | def imflip(img, direction='horizontal'): function imflip_ (line 272) | def imflip_(img, direction='horizontal'): function imrotate (line 292) | def imrotate(img, function bbox_clip (line 342) | def bbox_clip(bboxes, img_shape): function bbox_scaling (line 360) | def bbox_scaling(bboxes, scale, clip_shape=None): function imcrop (line 386) | def imcrop(img, bboxes, scale=1.0, pad_fill=None): function impad (line 440) | def impad(img, function impad_to_multiple (line 522) | def impad_to_multiple(img, divisor, pad_val=0): function cutout (line 538) | def cutout(img, shape, pad_val=0): function _get_shear_matrix (line 593) | def _get_shear_matrix(magnitude, direction='horizontal'): function imshear (line 611) | def imshear(img, function _get_translate_matrix (line 662) | def _get_translate_matrix(offset, direction='horizontal'): function imtranslate (line 680) | def imtranslate(img, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/image/io.py function use_backend (line 43) | def use_backend(backend): function _jpegflag (line 69) | def _jpegflag(flag='color', channel_order='bgr'): function _pillow2array (line 85) | def _pillow2array(img, flag='color', channel_order='bgr'): function imread (line 140) | def imread(img_or_path, flag='color', channel_order='bgr', backend=None): function imfrombytes (line 203) | def imfrombytes(content, flag='color', channel_order='bgr', backend=None): function imwrite (line 242) | def imwrite(img, file_path, params=None, auto_mkdir=True): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/image/misc.py function tensor2imgs (line 11) | def tensor2imgs(tensor, mean=(0, 0, 0), std=(1, 1, 1), to_rgb=True): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/image/photometric.py function imnormalize (line 9) | def imnormalize(img, mean, std, to_rgb=True): function imnormalize_ (line 25) | def imnormalize_(img, mean, std, to_rgb=True): function imdenormalize (line 48) | def imdenormalize(img, mean, std, to_bgr=True): function iminvert (line 59) | def iminvert(img): function solarize (line 71) | def solarize(img, thr=128): function posterize (line 85) | def posterize(img, bits): function adjust_color (line 100) | def adjust_color(img, alpha=1, beta=None, gamma=0): function imequalize (line 131) | def imequalize(img): function adjust_brightness (line 176) | def adjust_brightness(img, factor=1.): function adjust_contrast (line 208) | def adjust_contrast(img, factor=1.): function auto_contrast (line 238) | def auto_contrast(img, cutoff=0): function adjust_sharpness (line 294) | def adjust_sharpness(img, factor=1., kernel=None): function adjust_lighting (line 338) | def adjust_lighting(img, eigval, eigvec, alphastd=0.1, to_rgb=True): function lut_transform (line 381) | def lut_transform(img, lut_table): function clahe (line 405) | def clahe(img, clip_limit=40.0, tile_grid_size=(8, 8)): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/aspp.py class ASPP (line 14) | class ASPP(nn.Module): method __init__ (line 19) | def __init__( method forward (line 129) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/batch_norm.py function get_world_size (line 10) | def get_world_size() -> int: class _AllReduce (line 17) | class _AllReduce(Function): method forward (line 19) | def forward(ctx, input: torch.Tensor) -> torch.Tensor: method backward (line 27) | def backward(ctx, grad_output: torch.Tensor) -> torch.Tensor: function differentiable_all_reduce (line 31) | def differentiable_all_reduce(input: torch.Tensor) -> torch.Tensor: class FrozenBatchNorm2d (line 44) | class FrozenBatchNorm2d(nn.Module): method __init__ (line 66) | def __init__(self, num_features, eps=1e-5): method forward (line 76) | def forward(self, x): method _load_from_state_dict (line 99) | def _load_from_state_dict( method __repr__ (line 129) | def __repr__(self): method convert_frozen_batchnorm (line 133) | def convert_frozen_batchnorm(cls, module): method convert_frozenbatchnorm2d_to_batchnorm2d (line 167) | def convert_frozenbatchnorm2d_to_batchnorm2d(cls, module: nn.Module) -... function get_norm (line 200) | def get_norm(norm, out_channels): class NaiveSyncBatchNorm (line 231) | class NaiveSyncBatchNorm(BatchNorm2d): method __init__ (line 259) | def __init__(self, *args, stats_mode="", **kwargs): method forward (line 264) | def forward(self, input): class CycleBatchNormList (line 317) | class CycleBatchNormList(nn.ModuleList): method __init__ (line 333) | def __init__(self, length: int, bn_class=nn.BatchNorm2d, **kwargs): method forward (line 349) | def forward(self, x): method extra_repr (line 360) | def extra_repr(self): class LayerNorm (line 364) | class LayerNorm(nn.Module): method __init__ (line 372) | def __init__(self, normalized_shape, eps=1e-6): method forward (line 379) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/blocks.py class CNNBlockBase (line 16) | class CNNBlockBase(nn.Module): method __init__ (line 29) | def __init__(self, in_channels, out_channels, stride): method freeze (line 43) | def freeze(self): class DepthwiseSeparableConv2d (line 58) | class DepthwiseSeparableConv2d(nn.Module): method __init__ (line 66) | def __init__( method forward (line 110) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/ROIAlignRotated/ROIAlignRotated.h function namespace (line 5) | namespace detectron2 { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp type detectron2 (line 12) | namespace detectron2 { type PreCalc (line 16) | struct PreCalc { function pre_calc_for_bilinear_interpolate (line 28) | void pre_calc_for_bilinear_interpolate( function bilinear_interpolate_gradient (line 132) | void bilinear_interpolate_gradient( function add (line 195) | inline void add(T* address, const T& val) { function ROIAlignRotatedForward (line 202) | void ROIAlignRotatedForward( function ROIAlignRotatedBackward (line 313) | void ROIAlignRotatedBackward( function ROIAlignRotated_forward_cpu (line 418) | at::Tensor ROIAlignRotated_forward_cpu( function ROIAlignRotated_backward_cpu (line 466) | at::Tensor ROIAlignRotated_backward_cpu( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/box_iou_rotated/box_iou_rotated.h function namespace (line 5) | namespace detectron2 { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp type detectron2 (line 5) | namespace detectron2 { function box_iou_rotated_cpu_kernel (line 8) | void box_iou_rotated_cpu_kernel( function box_iou_rotated_cpu (line 23) | at::Tensor box_iou_rotated_cpu( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h function namespace (line 17) | namespace detectron2 { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/cocoeval/cocoeval.cpp type detectron2 (line 10) | namespace detectron2 { type COCOeval (line 12) | namespace COCOeval { function SortInstancesByDetectionScore (line 18) | void SortInstancesByDetectionScore( function SortInstancesByIgnore (line 34) | void SortInstancesByIgnore( function MatchDetectionsToGroundTruth (line 61) | void MatchDetectionsToGroundTruth( function EvaluateImages (line 142) | std::vector EvaluateImages( function list_to_vec (line 203) | std::vector list_to_vec(const py::list& l) { function BuildSortedDetectionList (line 223) | int BuildSortedDetectionList( function ComputePrecisionRecallCurve (line 284) | void ComputePrecisionRecallCurve( function Accumulate (line 372) | py::dict Accumulate( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/cocoeval/cocoeval.h function namespace (line 12) | namespace detectron2 { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/deformable/deform_conv.h function namespace (line 5) | namespace detectron2 { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/nms_rotated/nms_rotated.h function namespace (line 5) | namespace detectron2 { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/nms_rotated/nms_rotated_cpu.cpp type detectron2 (line 5) | namespace detectron2 { function nms_rotated_cpu_kernel (line 8) | at::Tensor nms_rotated_cpu_kernel( function nms_rotated_cpu (line 62) | at::Tensor nms_rotated_cpu( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/csrc/vision.cpp type detectron2 (line 10) | namespace detectron2 { function get_cuda_version (line 16) | std::string get_cuda_version() { function has_cuda (line 41) | bool has_cuda() { function get_compiler_version (line 51) | std::string get_compiler_version() { function PYBIND11_MODULE (line 77) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { function TORCH_LIBRARY (line 111) | TORCH_LIBRARY(detectron2, m) { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/deform_conv.py class _DeformConv (line 16) | class _DeformConv(Function): method forward (line 18) | def forward( method backward (line 85) | def backward(ctx, grad_output): method _output_size (line 146) | def _output_size(input, weight, padding, dilation, stride): method _cal_im2col_step (line 165) | def _cal_im2col_step(input_size, default_size): class _ModulatedDeformConv (line 187) | class _ModulatedDeformConv(Function): method forward (line 189) | def forward( method backward (line 246) | def backward(ctx, grad_output): method _infer_shape (line 298) | def _infer_shape(ctx, input, weight): class DeformConv (line 316) | class DeformConv(nn.Module): method __init__ (line 317) | def __init__( method forward (line 369) | def forward(self, x, offset): method extra_repr (line 400) | def extra_repr(self): class ModulatedDeformConv (line 413) | class ModulatedDeformConv(nn.Module): method __init__ (line 414) | def __init__( method forward (line 463) | def forward(self, x, offset, mask): method extra_repr (line 492) | def extra_repr(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/losses.py function diou_loss (line 5) | def diou_loss( function ciou_loss (line 66) | def ciou_loss( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/mask_ops.py function _do_paste_mask (line 17) | def _do_paste_mask(masks, boxes, img_h: int, img_w: int, skip_empty: boo... function paste_masks_in_image (line 74) | def paste_masks_in_image( function paste_mask_in_image_old (line 155) | def paste_mask_in_image_old(mask, box, img_h, img_w, threshold): function pad_masks (line 219) | def pad_masks(masks, padding): function scale_boxes (line 237) | def scale_boxes(boxes, scale): function _paste_masks_tensor_shape (line 264) | def _paste_masks_tensor_shape( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/nms.py function batched_nms (line 9) | def batched_nms( function nms_rotated (line 25) | def nms_rotated(boxes: torch.Tensor, scores: torch.Tensor, iou_threshold... function batched_nms_rotated (line 94) | def batched_nms_rotated( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/roi_align.py class ROIAlign (line 7) | class ROIAlign(nn.Module): method __init__ (line 8) | def __init__(self, output_size, spatial_scale, sampling_ratio, aligned... method forward (line 49) | def forward(self, input, rois): method __repr__ (line 67) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/roi_align_rotated.py class _ROIAlignRotated (line 9) | class _ROIAlignRotated(Function): method forward (line 11) | def forward(ctx, input, roi, output_size, spatial_scale, sampling_ratio): method backward (line 24) | def backward(ctx, grad_output): class ROIAlignRotated (line 48) | class ROIAlignRotated(nn.Module): method __init__ (line 49) | def __init__(self, output_size, spatial_scale, sampling_ratio): method forward (line 69) | def forward(self, input, rois): method __repr__ (line 94) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/rotated_boxes.py function pairwise_iou_rotated (line 6) | def pairwise_iou_rotated(boxes1, boxes2): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/shape_spec.py class ShapeSpec (line 8) | class ShapeSpec: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/layers/wrappers.py function shapes_to_tensor (line 19) | def shapes_to_tensor(x: List[int], device: Optional[torch.device] = None... function check_if_dynamo_compiling (line 41) | def check_if_dynamo_compiling(): function cat (line 50) | def cat(tensors: List[torch.Tensor], dim: int = 0): function empty_input_loss_func_wrapper (line 60) | def empty_input_loss_func_wrapper(loss_func): class _NewEmptyTensorOp (line 75) | class _NewEmptyTensorOp(torch.autograd.Function): method forward (line 77) | def forward(ctx, x, new_shape): method backward (line 82) | def backward(ctx, grad): class Conv2d (line 87) | class Conv2d(torch.nn.Conv2d): method __init__ (line 92) | def __init__(self, *args, **kwargs): method forward (line 109) | def forward(self, x): function nonzero_tuple (line 143) | def nonzero_tuple(x): function move_device_like (line 157) | def move_device_like(src: torch.Tensor, dst: torch.Tensor) -> torch.Tensor: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/dice_loss.py function dice_loss (line 9) | def dice_loss(input, target,mask=None,eps=0.001): class DiceLoss (line 25) | class DiceLoss(nn.Module): method __init__ (line 27) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 33) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/focal_loss.py function sigmoid_focal_loss (line 9) | def sigmoid_focal_loss( function sigmoid_focal_loss_star (line 59) | def sigmoid_focal_loss_star( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/fvcore_smooth_l1_loss.py function smooth_l1_loss (line 8) | def smooth_l1_loss( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/occflow_loss.py class FieryBinarySegmentationLoss (line 15) | class FieryBinarySegmentationLoss(nn.Module): method __init__ (line 16) | def __init__(self, use_top_k=False, top_k_ratio=1.0, future_discount=1... method forward (line 24) | def forward(self, prediction, target, frame_mask=None): function dice_loss (line 65) | def dice_loss(pred, class DiceLossWithMasks (line 141) | class DiceLossWithMasks(nn.Module): method __init__ (line 142) | def __init__(self, method forward (line 179) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/planning_loss.py class PlanningLoss (line 16) | class PlanningLoss(nn.Module): method __init__ (line 17) | def __init__(self, loss_type='L2'): method forward (line 21) | def forward(self, sdc_traj, gt_sdc_fut_traj, mask): class CollisionLoss (line 30) | class CollisionLoss(nn.Module): method __init__ (line 31) | def __init__(self, delta=0.5, weight=1.0): method forward (line 37) | def forward(self, sdc_traj_all, sdc_planning_gt, sdc_planning_gt_mask,... method inter_bbox (line 56) | def inter_bbox(self, corners_a, corners_b): method to_corners (line 67) | def to_corners(self, bbox): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/track_loss.py function is_dist_avail_and_initialized (line 28) | def is_dist_avail_and_initialized(): function get_world_size (line 36) | def get_world_size(): function accuracy (line 43) | def accuracy(output, target, topk=(1, )): class ClipMatcher (line 62) | class ClipMatcher(nn.Module): method __init__ (line 63) | def __init__( method _get_src_permutation_idx (line 107) | def _get_src_permutation_idx(self, indices): method _get_tgt_permutation_idx (line 114) | def _get_tgt_permutation_idx(self, indices): method initialize_for_single_clip (line 121) | def initialize_for_single_clip(self, gt_instances: List[Instances]): method _step (line 128) | def _step(self): method calc_loss_for_track_scores (line 131) | def calc_loss_for_track_scores(self, track_instances: Instances): method get_num_boxes (line 156) | def get_num_boxes(self, num_samples): method loss_cardinality (line 166) | def loss_cardinality(self, outputs, targets, indices): method get_loss (line 181) | def get_loss(self, loss, outputs, gt_instances, indices, **kwargs): method loss_past_trajs (line 191) | def loss_past_trajs(self, outputs, gt_instances: List[Instances], method compute_past_traj_loss (line 232) | def compute_past_traj_loss(self, src, tgt, tgt_mask): method loss_boxes (line 236) | def loss_boxes(self, outputs, gt_instances: List[Instances], method loss_labels (line 291) | def loss_labels(self, method match_for_single_frame (line 352) | def match_for_single_frame(self, method forward (line 558) | def forward(self, outputs, input_data: dict): method prediction_loss (line 566) | def prediction_loss(self, track_instances, predictions): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/losses/traj_loss.py class TrajLoss (line 16) | class TrajLoss(nn.Module): method __init__ (line 23) | def __init__(self, use_variance=False, cls_loss_weight=1., nll_loss_we... method forward (line 41) | def forward(self, function min_ade (line 97) | def min_ade(traj: torch.Tensor, traj_gt: torch.Tensor, function traj_nll (line 123) | def traj_nll( function min_fde (line 167) | def min_fde(traj: torch.Tensor, traj_gt: torch.Tensor, function miss_rate (line 203) | def miss_rate( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/metrics/classification.py function to_categorical (line 23) | def to_categorical(tensor: torch.Tensor, argmax_dim: int = 1) -> torch.T... function get_num_classes (line 38) | def get_num_classes( function stat_scores (line 57) | def stat_scores( function stat_scores_multiple_classes (line 99) | def stat_scores_multiple_classes( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/metrics/compositional.py class CompositionalMetric (line 23) | class CompositionalMetric(_CompositionalMetric): method __init__ (line 30) | def __init__( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/metrics/distributed.py class ReduceOp (line 30) | class ReduceOp: class group (line 33) | class group: function rank_zero_only (line 37) | def rank_zero_only(fn): function _warn (line 51) | def _warn(*args, **kwargs): function _info (line 55) | def _info(*args, **kwargs): function _debug (line 59) | def _debug(*args, **kwargs): function find_free_network_port (line 68) | def find_free_network_port() -> int: function gather_all_tensors (line 83) | def gather_all_tensors(result: Union[torch.Tensor], group: Optional[Any]... function sync_ddp_if_available (line 113) | def sync_ddp_if_available( function sync_ddp (line 134) | def sync_ddp( class AllGatherGrad (line 171) | class AllGatherGrad(torch.autograd.Function): method forward (line 174) | def forward(ctx, tensor, group=group.WORLD): method backward (line 185) | def backward(ctx, *grad_output): function all_gather_ddp_if_available (line 193) | def all_gather_ddp_if_available( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/metrics/metric.py class Metric (line 23) | class Metric(_Metric): method __init__ (line 30) | def __init__( method __hash__ (line 46) | def __hash__(self): method __add__ (line 49) | def __add__(self, other: Any): method __and__ (line 53) | def __and__(self, other: Any): method __eq__ (line 57) | def __eq__(self, other: Any): method __floordiv__ (line 61) | def __floordiv__(self, other: Any): method __ge__ (line 65) | def __ge__(self, other: Any): method __gt__ (line 69) | def __gt__(self, other: Any): method __le__ (line 73) | def __le__(self, other: Any): method __lt__ (line 77) | def __lt__(self, other: Any): method __matmul__ (line 81) | def __matmul__(self, other: Any): method __mod__ (line 85) | def __mod__(self, other: Any): method __mul__ (line 89) | def __mul__(self, other: Any): method __ne__ (line 93) | def __ne__(self, other: Any): method __or__ (line 97) | def __or__(self, other: Any): method __pow__ (line 101) | def __pow__(self, other: Any): method __radd__ (line 105) | def __radd__(self, other: Any): method __rand__ (line 109) | def __rand__(self, other: Any): method __rfloordiv__ (line 115) | def __rfloordiv__(self, other: Any): method __rmatmul__ (line 119) | def __rmatmul__(self, other: Any): method __rmod__ (line 123) | def __rmod__(self, other: Any): method __rmul__ (line 127) | def __rmul__(self, other: Any): method __ror__ (line 131) | def __ror__(self, other: Any): method __rpow__ (line 135) | def __rpow__(self, other: Any): method __rsub__ (line 139) | def __rsub__(self, other: Any): method __rtruediv__ (line 143) | def __rtruediv__(self, other: Any): method __rxor__ (line 147) | def __rxor__(self, other: Any): method __sub__ (line 151) | def __sub__(self, other: Any): method __truediv__ (line 155) | def __truediv__(self, other: Any): method __xor__ (line 159) | def __xor__(self, other: Any): method __abs__ (line 163) | def __abs__(self): method __inv__ (line 167) | def __inv__(self): method __invert__ (line 171) | def __invert__(self): method __neg__ (line 174) | def __neg__(self): method __pos__ (line 178) | def __pos__(self): function _neg (line 183) | def _neg(tensor: torch.Tensor): class MetricCollection (line 187) | class MetricCollection(_MetricCollection): method __init__ (line 194) | def __init__(self, metrics: Union[List[Metric], Tuple[Metric], Dict[st... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/metrics/reduction.py function reduce (line 19) | def reduce(to_reduce: torch.Tensor, reduction: str) -> torch.Tensor: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/metrics/utils.py function dim_zero_cat (line 23) | def dim_zero_cat(x): function dim_zero_sum (line 28) | def dim_zero_sum(x): function dim_zero_mean (line 32) | def dim_zero_mean(x): function _flatten (line 36) | def _flatten(x): function _check_same_shape (line 40) | def _check_same_shape(pred: torch.Tensor, target: torch.Tensor): function _input_format_classification_one_hot (line 46) | def _input_format_classification_one_hot( function to_onehot (line 91) | def to_onehot( function select_topk (line 128) | def select_topk(prob_tensor: torch.Tensor, topk: int = 1, dim: int = 1) ... function to_categorical (line 152) | def to_categorical(tensor: torch.Tensor, argmax_dim: int = 1) -> torch.T... function get_num_classes (line 173) | def get_num_classes( function reduce (line 205) | def reduce(to_reduce: torch.Tensor, reduction: str) -> torch.Tensor: function class_reduce (line 228) | def class_reduce( function _stable_1d_sort (line 277) | def _stable_1d_sort(x: torch, N: int = 2049): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/modeling/postprocessing.py function detector_postprocess (line 9) | def detector_postprocess( function sem_seg_postprocess (line 77) | def sem_seg_postprocess(result, img_size, output_height, output_width): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/backbones/base_module.py class BaseModule (line 14) | class BaseModule(nn.Module, metaclass=ABCMeta): method __init__ (line 33) | def __init__(self, init_cfg=None): method is_init (line 53) | def is_init(self): method init_weights (line 56) | def init_weights(self): method _dump_init_info (line 137) | def _dump_init_info(self, logger_name): method __repr__ (line 166) | def __repr__(self): class Sequential (line 173) | class Sequential(BaseModule, nn.Sequential): method __init__ (line 180) | def __init__(self, *args, init_cfg=None): class ModuleList (line 185) | class ModuleList(BaseModule, nn.ModuleList): method __init__ (line 193) | def __init__(self, modules=None, init_cfg=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/backbones/resnet.py class BasicBlock (line 13) | class BasicBlock(BaseModule): method __init__ (line 16) | def __init__(self, method norm1 (line 57) | def norm1(self): method norm2 (line 62) | def norm2(self): method forward (line 66) | def forward(self, x): class Bottleneck (line 96) | class Bottleneck(BaseModule): method __init__ (line 99) | def __init__(self, method make_block_plugins (line 218) | def make_block_plugins(self, in_channels, plugins): method forward_plugin (line 241) | def forward_plugin(self, x, plugin_names): method norm1 (line 248) | def norm1(self): method norm2 (line 253) | def norm2(self): method norm3 (line 258) | def norm3(self): method forward (line 262) | def forward(self, x): class ResNet (line 305) | class ResNet(BaseModule): method __init__ (line 368) | def __init__(self, method make_stage_plugins (line 493) | def make_stage_plugins(self, plugins, stage_idx): method make_res_layer (line 555) | def make_res_layer(self, **kwargs): method norm1 (line 560) | def norm1(self): method _make_stem_layer (line 564) | def _make_stem_layer(self, in_channels, stem_channels): method _freeze_stages (line 612) | def _freeze_stages(self): method forward (line 630) | def forward(self, x): method train (line 647) | def train(self, mode=True): class ResNetV1d (line 660) | class ResNetV1d(ResNet): method __init__ (line 669) | def __init__(self, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/backbones/vgg.py function conv3x3 (line 9) | def conv3x3(in_planes, out_planes, dilation=1): function make_vgg_layer (line 19) | def make_vgg_layer(inplanes, class VGG (line 37) | class VGG(nn.Module): method __init__ (line 61) | def __init__(self, method init_weights (line 125) | def init_weights(self, pretrained=None): method forward (line 141) | def forward(self, x): method train (line 159) | def train(self, mode=True): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/backbones/vovnet.py function dw_conv3x3 (line 92) | def dw_conv3x3(in_channels, out_channels, module_name, postfix, stride=1... function conv3x3 (line 116) | def conv3x3(in_channels, out_channels, module_name, postfix, stride=1, g... function conv1x1 (line 136) | def conv1x1(in_channels, out_channels, module_name, postfix, stride=1, g... class Hsigmoid (line 156) | class Hsigmoid(nn.Module): method __init__ (line 157) | def __init__(self, inplace=True): method forward (line 161) | def forward(self, x): class eSEModule (line 165) | class eSEModule(nn.Module): method __init__ (line 166) | def __init__(self, channel, reduction=4): method forward (line 172) | def forward(self, x): class _OSA_module (line 180) | class _OSA_module(nn.Module): method __init__ (line 181) | def __init__( method forward (line 210) | def forward(self, x): class _OSA_stage (line 233) | class _OSA_stage(nn.Sequential): method __init__ (line 234) | def __init__( class VoVNet (line 269) | class VoVNet(BaseModule): method __init__ (line 270) | def __init__(self, spec_name, input_ch=3, out_features=None, method _initialize_weights (line 336) | def _initialize_weights(self): method forward (line 341) | def forward(self, x): method _freeze_stages (line 353) | def _freeze_stages(self): method train (line 366) | def train(self, mode=True): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/activation.py class Clamp (line 18) | class Clamp(nn.Module): method __init__ (line 31) | def __init__(self, min=-1., max=1.): method forward (line 36) | def forward(self, x): class GELU (line 48) | class GELU(nn.Module): method forward (line 70) | def forward(self, input): function build_activation_layer (line 80) | def build_activation_layer(cfg): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/conv.py function build_conv_layer (line 12) | def build_conv_layer(cfg, *args, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/conv_module.py class ConvModule (line 17) | class ConvModule(nn.Module): method __init__ (line 71) | def __init__(self, method norm (line 170) | def norm(self): method init_weights (line 176) | def init_weights(self): method forward (line 197) | def forward(self, x, activate=True, norm=True): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/drop.py function drop_path (line 9) | def drop_path(x, drop_prob=0., training=False): class DropPath (line 28) | class DropPath(nn.Module): method __init__ (line 39) | def __init__(self, drop_prob=0.1): method forward (line 43) | def forward(self, x): class Dropout (line 48) | class Dropout(nn.Dropout): method __init__ (line 59) | def __init__(self, drop_prob=0.5, inplace=False): function build_dropout (line 63) | def build_dropout(cfg, default_args=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/norm.py function infer_abbr (line 24) | def infer_abbr(class_type): function build_norm_layer (line 73) | def build_norm_layer(cfg, num_features, postfix=''): function is_norm (line 123) | def is_norm(layer, exclude=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/padding.py function build_padding_layer (line 11) | def build_padding_layer(cfg, *args, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/plugin.py function infer_abbr (line 12) | def infer_abbr(class_type): function build_plugin_layer (line 55) | def build_plugin_layer(cfg, postfix='', **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/transformer.py function build_positional_encoding (line 36) | def build_positional_encoding(cfg, default_args=None): function build_attention (line 41) | def build_attention(cfg, default_args=None): function build_feedforward_network (line 46) | def build_feedforward_network(cfg, default_args=None): function build_transformer_layer (line 51) | def build_transformer_layer(cfg, default_args=None): function build_transformer_layer_sequence (line 56) | def build_transformer_layer_sequence(cfg, default_args=None): class MultiheadAttention (line 62) | class MultiheadAttention(BaseModule): method __init__ (line 84) | def __init__(self, method forward (line 116) | def forward(self, class FFN (line 217) | class FFN(BaseModule): method __init__ (line 245) | def __init__(self, method forward (line 280) | def forward(self, x, identity=None): class BaseTransformerLayer (line 294) | class BaseTransformerLayer(BaseModule): method __init__ (line 330) | def __init__(self, method forward (line 425) | def forward(self, class TransformerLayerSequence (line 530) | class TransformerLayerSequence(BaseModule): method __init__ (line 549) | def __init__(self, transformerlayers=None, num_layers=None, init_cfg=N... method forward (line 565) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/bricks/wrappers.py function obsolete_torch_version (line 19) | def obsolete_torch_version(torch_version, version_threshold): class NewEmptyTensorOp (line 23) | class NewEmptyTensorOp(torch.autograd.Function): method forward (line 26) | def forward(ctx, x, new_shape): method backward (line 31) | def backward(ctx, grad): class Conv2d (line 37) | class Conv2d(nn.Conv2d): method forward (line 39) | def forward(self, x): class Conv3d (line 58) | class Conv3d(nn.Conv3d): method forward (line 60) | def forward(self, x): class ConvTranspose2d (line 81) | class ConvTranspose2d(nn.ConvTranspose2d): method forward (line 83) | def forward(self, x): class ConvTranspose3d (line 104) | class ConvTranspose3d(nn.ConvTranspose3d): method forward (line 106) | def forward(self, x): class MaxPool2d (line 124) | class MaxPool2d(nn.MaxPool2d): method forward (line 126) | def forward(self, x): class MaxPool3d (line 142) | class MaxPool3d(nn.MaxPool3d): method forward (line 144) | def forward(self, x): class Linear (line 161) | class Linear(torch.nn.Linear): method forward (line 163) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/builder.py function build_model_from_cfg (line 9) | def build_model_from_cfg(cfg, registry, default_args=None): function build_backbone (line 52) | def build_backbone(cfg): function build_neck (line 57) | def build_neck(cfg): function build_roi_extractor (line 62) | def build_roi_extractor(cfg): function build_shared_head (line 67) | def build_shared_head(cfg): function build_head (line 72) | def build_head(cfg): function build_loss (line 77) | def build_loss(cfg): function build_detector (line 82) | def build_detector(cfg, train_cfg=None, test_cfg=None): function build_segmentor (line 96) | def build_segmentor(cfg, train_cfg=None, test_cfg=None): function build_model (line 110) | def build_model(cfg, train_cfg=None, test_cfg=None): function build_voxel_encoder (line 122) | def build_voxel_encoder(cfg): function build_middle_encoder (line 127) | def build_middle_encoder(cfg): function build_fusion_layer (line 132) | def build_fusion_layer(cfg): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/MomAD_head.py class MLP (line 28) | class MLP(nn.Module): method __init__ (line 29) | def __init__(self, in_channels, hidden_unit, verbose=False): method forward (line 37) | def forward(self, x): class LaneNet (line 41) | class LaneNet(nn.Module): method __init__ (line 42) | def __init__(self, in_channels, hidden_unit, num_subgraph_layers): method forward (line 51) | def forward(self, pts_lane_feats): class MomADHead (line 74) | class MomADHead(DETRHead): method __init__ (line 85) | def __init__(self, method _init_layers (line 302) | def _init_layers(self): method init_weights (line 458) | def init_weights(self): method forward (line 507) | def forward(self, method map_transform_box (line 879) | def map_transform_box(self, pts, y_first=False): method _get_target_single (line 909) | def _get_target_single(self, method _map_get_target_single (line 995) | def _map_get_target_single(self, method get_targets (line 1063) | def get_targets(self, method map_get_targets (line 1117) | def map_get_targets(self, method loss_planning_refine (line 1172) | def loss_planning_refine(self, method loss_planning (line 1262) | def loss_planning(self, method loss_single (line 1374) | def loss_single(self, method get_best_fut_preds (line 1492) | def get_best_fut_preds(self, method get_best_reg (line 1524) | def get_best_reg(self, method select_best_reg (line 1542) | def select_best_reg(self, reg_preds, reg_target): method get_traj_cls_target (line 1556) | def get_traj_cls_target(self, method get_plan_cls_target (line 1586) | def get_plan_cls_target(self, reg_preds, method map_loss_single (line 1600) | def map_loss_single(self, method loss (line 1726) | def loss(self, method get_bboxes (line 1954) | def get_bboxes(self, preds_dicts, img_metas, rescale=False): method select_and_pad_pred_map (line 1992) | def select_and_pad_pred_map( method select_and_pad_query (line 2092) | def select_and_pad_query( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/VAD_head.py class MLP (line 28) | class MLP(nn.Module): method __init__ (line 29) | def __init__(self, in_channels, hidden_unit, verbose=False): method forward (line 37) | def forward(self, x): class LaneNet (line 41) | class LaneNet(nn.Module): method __init__ (line 42) | def __init__(self, in_channels, hidden_unit, num_subgraph_layers): method forward (line 51) | def forward(self, pts_lane_feats): class VADHead (line 74) | class VADHead(DETRHead): method __init__ (line 85) | def __init__(self, method _init_layers (line 287) | def _init_layers(self): method init_weights (line 433) | def init_weights(self): method forward (line 482) | def forward(self, method map_transform_box (line 817) | def map_transform_box(self, pts, y_first=False): method _get_target_single (line 847) | def _get_target_single(self, method _map_get_target_single (line 933) | def _map_get_target_single(self, method get_targets (line 1001) | def get_targets(self, method map_get_targets (line 1055) | def map_get_targets(self, method loss_planning (line 1110) | def loss_planning(self, method loss_single (line 1190) | def loss_single(self, method get_best_fut_preds (line 1307) | def get_best_fut_preds(self, method get_traj_cls_target (line 1339) | def get_traj_cls_target(self, method map_loss_single (line 1369) | def map_loss_single(self, method loss (line 1495) | def loss(self, method get_bboxes (line 1703) | def get_bboxes(self, preds_dicts, img_metas, rescale=False): method select_and_pad_pred_map (line 1741) | def select_and_pad_pred_map( method select_and_pad_query (line 1841) | def select_and_pad_query( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/anchor3d_head.py class Anchor3DHead (line 17) | class Anchor3DHead(BaseModule, AnchorTrainMixin): method __init__ (line 43) | def __init__(self, method _init_assigner_sampler (line 115) | def _init_assigner_sampler(self): method _init_layers (line 131) | def _init_layers(self): method forward_single (line 141) | def forward_single(self, x): method forward (line 158) | def forward(self, feats): method get_anchors (line 171) | def get_anchors(self, featmap_sizes, input_metas, device='cuda'): method loss_single (line 191) | def loss_single(self, cls_score, bbox_pred, dir_cls_preds, labels, method add_sin_difference (line 278) | def add_sin_difference(boxes1, boxes2): method loss (line 302) | def loss(self, method get_bboxes (line 373) | def get_bboxes(self, method get_bboxes_single (line 424) | def get_bboxes_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/anchor_free_head.py class AnchorFreeHead (line 15) | class AnchorFreeHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 41) | def __init__(self, method _init_layers (line 89) | def _init_layers(self): method _init_cls_convs (line 95) | def _init_cls_convs(self): method _init_reg_convs (line 115) | def _init_reg_convs(self): method _init_predictor (line 135) | def _init_predictor(self): method _load_from_state_dict (line 141) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... method forward (line 179) | def forward(self, feats): method forward_single (line 197) | def forward_single(self, x): method loss (line 222) | def loss(self, method get_bboxes (line 251) | def get_bboxes(self, method get_targets (line 274) | def get_targets(self, points, gt_bboxes_list, gt_labels_list): method _get_points_single (line 288) | def _get_points_single(self, method get_points (line 306) | def get_points(self, featmap_sizes, dtype, device, flatten=False): method aug_test (line 324) | def aug_test(self, feats, img_metas, rescale=False): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/anchor_head.py class AnchorHead (line 15) | class AnchorHead(BaseDenseHead, BBoxTestMixin): method __init__ (line 37) | def __init__(self, method _init_layers (line 100) | def _init_layers(self): method forward_single (line 106) | def forward_single(self, x): method forward (line 123) | def forward(self, feats): method get_anchors (line 142) | def get_anchors(self, featmap_sizes, img_metas, device='cuda'): method _get_targets_single (line 172) | def _get_targets_single(self, method get_targets (line 270) | def get_targets(self, method loss_single (line 372) | def loss_single(self, cls_score, bbox_pred, anchors, labels, label_wei... method loss (line 423) | def loss(self, method get_bboxes (line 493) | def get_bboxes(self, method _get_bboxes (line 589) | def _get_bboxes(self, method aug_test (line 726) | def aug_test(self, feats, img_metas, rescale=False): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/base_dense_head.py class BaseDenseHead (line 6) | class BaseDenseHead(BaseModule, metaclass=ABCMeta): method __init__ (line 9) | def __init__(self, init_cfg=None): method loss (line 13) | def loss(self, **kwargs): method get_bboxes (line 18) | def get_bboxes(self, **kwargs): method forward_train (line 22) | def forward_train(self, method simple_test (line 61) | def simple_test(self, feats, img_metas, rescale=False): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/bev_head.py class BEVHead (line 26) | class BEVHead(BaseModule): method __init__ (line 27) | def __init__(self, method init_weights (line 53) | def init_weights(self): method _init_layers (line 57) | def _init_layers(self): method forward (line 63) | def forward(self, mlvl_feats, img_metas, prev_bev=None, only_bev=False): method loss (line 96) | def loss(self, method get_bboxes (line 106) | def get_bboxes(self, ret, img_metas, rescale=False): class FreeAnchor3DHeadV2 (line 110) | class FreeAnchor3DHeadV2(FreeAnchor3DHead): method loss (line 112) | def loss(self, method get_bboxes (line 122) | def get_bboxes(self, pred, img_metas, rescale=False): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/bevformer_head.py class BEVFormerHead (line 20) | class BEVFormerHead(DETRHead): method __init__ (line 32) | def __init__(self, method _init_layers (line 72) | def _init_layers(self): method init_weights (line 112) | def init_weights(self): method forward (line 121) | def forward(self, mlvl_feats, img_metas, prev_bev=None, only_bev=False): method _get_target_single (line 218) | def _get_target_single(self, method get_targets (line 277) | def get_targets(self, method loss_single (line 328) | def loss_single(self, method loss (line 399) | def loss(self, method get_bboxes (line 486) | def get_bboxes(self, preds_dicts, img_metas, rescale=False): class BEVFormerHead_GroupDETR (line 516) | class BEVFormerHead_GroupDETR(BEVFormerHead): method __init__ (line 517) | def __init__(self, method forward (line 526) | def forward(self, mlvl_feats, img_metas, prev_bev=None, only_bev=False): method loss (line 606) | def loss(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/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 40) | def aug_test_bboxes(self, feats, img_metas, rescale=False): method simple_test_rpn (line 112) | def simple_test_rpn(self, x, img_metas): method aug_test_rpn (line 129) | def aug_test_rpn(self, feats, img_metas): method async_simple_test_rpn (line 165) | async def async_simple_test_rpn(self, x, img_metas): method merge_aug_bboxes (line 175) | def merge_aug_bboxes(self, aug_bboxes, aug_scores, img_metas): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/detr_head.py class DETRHead (line 17) | class DETRHead(AnchorFreeHead): method __init__ (line 51) | def __init__(self, method _init_layers (line 151) | def _init_layers(self): method init_weights (line 166) | def init_weights(self): method _load_from_state_dict (line 171) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... method forward (line 201) | def forward(self, feats, img_metas): method forward_single (line 225) | def forward_single(self, x, img_metas): method loss (line 267) | def loss(self, method loss_single (line 333) | def loss_single(self, method get_targets (line 418) | def get_targets(self, method _get_target_single (line 475) | def _get_target_single(self, method forward_train (line 546) | def forward_train(self, method get_bboxes (line 582) | def get_bboxes(self, method _get_bboxes_single (line 627) | def _get_bboxes_single(self, method simple_test_bboxes (line 684) | def simple_test_bboxes(self, feats, img_metas, rescale=False): method forward_onnx (line 706) | def forward_onnx(self, feats, img_metas): method forward_single_onnx (line 734) | def forward_single_onnx(self, x, img_metas): method onnx_export (line 774) | def onnx_export(self, all_cls_scores_list, all_bbox_preds_list, img_me... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/free_anchor3d_head.py class FreeAnchor3DHead (line 13) | class FreeAnchor3DHead(Anchor3DHead): method __init__ (line 31) | def __init__(self, method loss (line 45) | def loss(self, method positive_bag_loss (line 246) | def positive_bag_loss(self, matched_cls_prob, matched_box_prob): method negative_bag_loss (line 268) | def negative_bag_loss(self, cls_prob, box_prob): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/ga_rpn_head.py class GARPNHead (line 15) | class GARPNHead(GuidedAnchorHead): method __init__ (line 18) | def __init__(self, method _init_layers (line 33) | def _init_layers(self): method forward_single (line 39) | def forward_single(self, x): method loss (line 48) | def loss(self, method _get_bboxes_single (line 71) | def _get_bboxes_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/guided_anchor_head.py class FeatureAdaption (line 18) | class FeatureAdaption(BaseModule): method __init__ (line 33) | def __init__(self, method forward (line 56) | def forward(self, x, shape): class GuidedAnchorHead (line 63) | class GuidedAnchorHead(AnchorHead): method __init__ (line 99) | def __init__( method _init_layers (line 212) | def _init_layers(self): method forward_single (line 227) | def forward_single(self, x): method forward (line 240) | def forward(self, feats): method get_sampled_approxs (line 243) | def get_sampled_approxs(self, featmap_sizes, img_metas, device='cuda'): method get_anchors (line 293) | def get_anchors(self, method _get_guided_anchors_single (line 344) | def _get_guided_anchors_single(self, method ga_loc_targets (line 378) | def ga_loc_targets(self, gt_bboxes_list, featmap_sizes): method _ga_shape_target_single (line 480) | def _ga_shape_target_single(self, method ga_shape_targets (line 543) | def ga_shape_targets(self, method loss_shape_single (line 609) | def loss_shape_single(self, shape_pred, bbox_anchors, bbox_gts, method loss_loc_single (line 633) | def loss_loc_single(self, loc_pred, loc_target, loc_weight, method loss (line 644) | def loss(self, method get_bboxes (line 750) | def get_bboxes(self, method _get_bboxes_single (line 794) | def _get_bboxes_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/motion_head.py class MotionHead (line 22) | class MotionHead(BaseMotionHead): method __init__ (line 43) | def __init__(self, method forward_train (line 88) | def forward_train(self, method forward_test (line 166) | def forward_test(self, bev_embed, outs_track={}, outs_seg={}): method forward (line 212) | def forward(self, method group_mode_query_pos (line 354) | def group_mode_query_pos(self, bbox_results, mode_query_pos): method loss (line 383) | def loss(self, method compute_matched_gt_traj (line 445) | def compute_matched_gt_traj(self, method compute_loss_traj (line 497) | def compute_loss_traj(self, method get_trajs (line 535) | def get_trajs(self, preds_dicts, bbox_results): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/motion_head_plugin/base_motion_head.py class BaseMotionHead (line 14) | class BaseMotionHead(nn.Module): method __init__ (line 15) | def __init__(self, *args, **kwargs): method _build_loss (line 19) | def _build_loss(self, loss_traj): method _load_anchors (line 33) | def _load_anchors(self, anchor_info_path): method _build_layers (line 47) | def _build_layers(self, transformerlayers, det_layer_num): method _init_layers (line 89) | def _init_layers(self): method _extract_tracking_centers (line 118) | def _extract_tracking_centers(self, bbox_results, bev_range): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/motion_head_plugin/modules.py class MotionTransformerDecoder (line 20) | class MotionTransformerDecoder(BaseModule): method __init__ (line 28) | def __init__(self, pc_range=None, embed_dims=256, transformerlayers=No... method forward (line 62) | def forward(self, class TrackAgentInteraction (line 175) | class TrackAgentInteraction(BaseModule): method __init__ (line 179) | def __init__(self, method forward (line 195) | def forward(self, query, key, query_pos=None, key_pos=None): class MapInteraction (line 215) | class MapInteraction(BaseModule): method __init__ (line 219) | def __init__(self, method forward (line 235) | def forward(self, query, key, query_pos=None, key_pos=None): class IntentionInteraction (line 254) | class IntentionInteraction(BaseModule): method __init__ (line 258) | def __init__(self, method forward (line 274) | def forward(self, query): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/motion_head_plugin/motion_deformable_attn.py class MotionTransformerAttentionLayer (line 25) | class MotionTransformerAttentionLayer(BaseModule): method __init__ (line 59) | def __init__(self, method forward (line 145) | def forward(self, class MotionDeformableAttention (line 243) | class MotionDeformableAttention(BaseModule): method __init__ (line 270) | def __init__(self, method init_weights (line 329) | def init_weights(self): method forward (line 351) | def forward(self, method agent_coords_to_ego_coords (line 473) | def agent_coords_to_ego_coords(self, reference_trajs, bbox_results): method rot_2d (line 484) | def rot_2d(self, yaw): class CustomModeMultiheadAttention (line 490) | class CustomModeMultiheadAttention(BaseModule): method __init__ (line 510) | def __init__(self, method forward (line 539) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/motion_head_plugin/motion_optimization.py class MotionNonlinearSmoother (line 17) | class MotionNonlinearSmoother: method __init__ (line 26) | def __init__(self, trajectory_len: int, dt: float): method _init_optimization (line 39) | def _init_optimization(self) -> None: method set_reference_trajectory (line 58) | def set_reference_trajectory(self, x_curr: Sequence[float], reference_... method set_solver_optimizerons (line 70) | def set_solver_optimizerons(self, options: Dict[str, Any]) -> None: method solve (line 77) | def solve(self) -> OptiSol: method _create_decision_variables (line 84) | def _create_decision_variables(self) -> None: method _create_parameters (line 106) | def _create_parameters(self) -> None: method _set_dynamic_constraints (line 114) | def _set_dynamic_constraints(self) -> None: method _set_control_constraints (line 141) | def _set_control_constraints(self) -> None: method _set_state_constraints (line 150) | def _set_state_constraints(self) -> None: method _set_objective (line 171) | def _set_objective(self) -> None: method _set_initial_guess (line 200) | def _set_initial_guess(self, x_curr: Sequence[float], reference_trajec... method _check_inputs (line 209) | def _check_inputs(self, x_curr: Sequence[float], reference_trajectory:... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/motion_head_plugin/motion_utils.py function nonlinear_smoother (line 13) | def nonlinear_smoother(gt_bboxes_3d, gt_fut_traj, gt_fut_traj_mask, bbox... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/occ_head.py function _get_clones (line 19) | def _get_clones(module, N): class OccHead (line 23) | class OccHead(BaseModule): method __init__ (line 24) | def __init__(self, method init_weights (line 168) | def init_weights(self): method get_attn_mask (line 173) | def get_attn_mask(self, state, ins_query): method forward (line 198) | def forward(self, x, ins_query): method merge_queries (line 271) | def merge_queries(self, outs_dict, detach_query_pos=True): method forward_train (line 286) | def forward_train( method forward_test (line 408) | def forward_test( method get_ins_seg_gt (line 461) | def get_ins_seg_gt(self, gt_instance): method get_occ_labels (line 473) | def get_occ_labels(self, gt_segmentation, gt_instance, gt_img_is_valid): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/occ_head_plugin/metrics.py class IntersectionOverUnion (line 14) | class IntersectionOverUnion(Metric): method __init__ (line 16) | def __init__( method update (line 35) | def update(self, prediction: torch.Tensor, target: torch.Tensor): method compute (line 43) | def compute(self): class PanopticMetric (line 72) | class PanopticMetric(Metric): method __init__ (line 73) | def __init__( method update (line 91) | def update(self, pred_instance, gt_instance): method compute (line 124) | def compute(self): method panoptic_metrics (line 140) | def panoptic_metrics(self, pred_segmentation, pred_instance, gt_segmen... method combine_mask (line 228) | def combine_mask(self, segmentation: torch.Tensor, instance: torch.Ten... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/occ_head_plugin/modules.py class BevFeatureSlicer (line 19) | class BevFeatureSlicer(nn.Module): method __init__ (line 20) | def __init__(self, grid_conf, map_grid_conf): method forward (line 51) | def forward(self, x): class MLP (line 62) | class MLP(nn.Module): method __init__ (line 65) | def __init__(self, input_dim, hidden_dim, output_dim, num_layers): method forward (line 73) | def forward(self, x): class SimpleConv2d (line 78) | class SimpleConv2d(BaseModule): method __init__ (line 79) | def __init__(self, in_channels, method forward (line 129) | def forward(self, x): class CVT_DecoderBlock (line 136) | class CVT_DecoderBlock(nn.Module): method __init__ (line 137) | def __init__(self, in_channels, out_channels, skip_dim, residual, fact... method forward (line 167) | def forward(self, x, skip): class CVT_Decoder (line 179) | class CVT_Decoder(BaseModule): method __init__ (line 180) | def __init__(self, dim, blocks, residual=True, factor=2, upsample=True... method forward (line 202) | def forward(self, x): class UpsamplingAdd (line 217) | class UpsamplingAdd(nn.Module): method __init__ (line 218) | def __init__(self, in_channels, out_channels, scale_factor=2): method forward (line 226) | def forward(self, x, x_skip): class Interpolate (line 230) | class Interpolate(nn.Module): method __init__ (line 231) | def __init__(self, scale_factor: int = 2): method forward (line 236) | def forward(self, x): class Bottleneck (line 239) | class Bottleneck(nn.Module): method __init__ (line 244) | def __init__( method forward (line 334) | def forward(self, *args): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/occ_head_plugin/utils.py function calculate_birds_eye_view_parameters (line 13) | def calculate_birds_eye_view_parameters(x_bounds, y_bounds, z_bounds): function gen_dx_bx (line 37) | def gen_dx_bx(xbound, ybound, zbound): function update_instance_ids (line 45) | def update_instance_ids(instance_seg, old_ids, new_ids): function make_instance_seg_consecutive (line 63) | def make_instance_seg_consecutive(instance_seg): function predict_instance_segmentation_and_trajectories (line 71) | def predict_instance_segmentation_and_trajectories( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/panseg_head.py class PansegformerHead (line 24) | class PansegformerHead(SegDETRHead): method __init__ (line 40) | def __init__( method _init_layers (line 121) | def _init_layers(self): method init_weights (line 160) | def init_weights(self): method forward (line 182) | def forward(self, bev_embed): method loss (line 281) | def loss( method filter_query (line 423) | def filter_query(self, method _filter_query_single (line 451) | def _filter_query_single(self, method get_targets_with_mask (line 491) | def get_targets_with_mask(self, method _get_target_single_with_mask (line 540) | def _get_target_single_with_mask(self, method get_filter_results_and_loss (line 599) | def get_filter_results_and_loss(self, cls_scores, bbox_preds, method loss_single_panoptic (line 669) | def loss_single_panoptic(self, method forward_test (line 1005) | def forward_test(self, method forward_train (line 1070) | def forward_train(self, method _get_bboxes_single (line 1108) | def _get_bboxes_single(self, method get_bboxes (line 1145) | def get_bboxes( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/planning_head.py class PlanningHeadSingleMode (line 17) | class PlanningHeadSingleMode(nn.Module): method __init__ (line 18) | def __init__(self, method forward_train (line 96) | def forward_train(self, method forward_test (line 131) | def forward_test(self, bev_embed, outs_motion={}, outs_occflow={}, com... method forward (line 140) | def forward(self, method collision_optimization (line 205) | def collision_optimization(self, sdc_traj_all, occ_mask): method loss (line 243) | def loss(self, sdc_planning, sdc_planning_mask, outs_planning, future_... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/planning_head_plugin/collision_optimization.py class CollisionNonlinearOptimizer (line 16) | class CollisionNonlinearOptimizer: method __init__ (line 25) | def __init__(self, trajectory_len: int, dt: float, sigma, alpha_collis... method _init_optimization (line 40) | def _init_optimization(self) -> None: method set_reference_trajectory (line 54) | def set_reference_trajectory(self, reference_trajectory: Sequence[Pose... method set_solver_optimizerons (line 63) | def set_solver_optimizerons(self, options: Dict[str, Any]) -> None: method solve (line 70) | def solve(self) -> OptiSol: method _create_decision_variables (line 77) | def _create_decision_variables(self) -> None: method _create_parameters (line 86) | def _create_parameters(self) -> None: method _set_objective (line 92) | def _set_objective(self) -> None: method _set_initial_guess (line 112) | def _set_initial_guess(self, reference_trajectory: Sequence[Pose]) -> ... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/planning_head_plugin/metric_stp3.py class PlanningMetric (line 15) | class PlanningMetric(): method __init__ (line 16) | def __init__(self): method gen_dx_bx (line 46) | def gen_dx_bx(self, xbound, ybound, zbound): method calculate_birds_eye_view_parameters (line 53) | def calculate_birds_eye_view_parameters(self, x_bounds, y_bounds, z_bo... method get_label (line 74) | def get_label( method get_birds_eye_view_label (line 85) | def get_birds_eye_view_label( method _get_poly_region_in_image (line 147) | def _get_poly_region_in_image(self,param): method evaluate_single_coll (line 165) | def evaluate_single_coll(self, traj, segmentation, input_gt): method evaluate_coll (line 241) | def evaluate_coll( method compute_L2 (line 291) | def compute_L2(self, trajs, gt_trajs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/planning_head_plugin/planning_metrics.py class UniADPlanningMetric (line 15) | class UniADPlanningMetric(Metric): method __init__ (line 16) | def __init__( method evaluate_single_coll (line 42) | def evaluate_single_coll(self, traj, segmentation): method evaluate_coll (line 83) | def evaluate_coll(self, trajs, gt_trajs, segmentation): method compute_L2 (line 118) | def compute_L2(self, trajs, gt_trajs, gt_trajs_mask): method update (line 125) | def update(self, trajs, gt_trajs, gt_trajs_mask, segmentation): method compute (line 142) | def compute(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/rpn_head.py class RPNHead (line 14) | class RPNHead(AnchorHead): method __init__ (line 22) | def __init__(self, method _init_layers (line 29) | def _init_layers(self): method forward_single (line 37) | def forward_single(self, x): method loss (line 45) | def loss(self, method get_bboxes (line 79) | def get_bboxes(self, method _get_bboxes_single (line 134) | def _get_bboxes_single(self, method onnx_export (line 226) | def onnx_export(self, x, img_metas): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/seg_head_plugin/seg_assigner.py class SamplingResult_segformer (line 25) | class SamplingResult_segformer(util_mixins.NiceRepr): method __init__ (line 29) | def __init__(self, pos_inds, neg_inds, bboxes, gt_bboxes, gt_masks,ass... method bboxes (line 64) | def bboxes(self): method to (line 69) | def to(self, device): method __nice__ (line 84) | def __nice__(self): method info (line 93) | def info(self): method random (line 106) | def random(cls, rng=None, **kwargs): class PseudoSampler_segformer (line 169) | class PseudoSampler_segformer(BaseSampler): method __init__ (line 172) | def __init__(self, **kwargs): method _sample_pos (line 175) | def _sample_pos(self, **kwargs): method _sample_neg (line 179) | def _sample_neg(self, **kwargs): method sample (line 183) | def sample(self, assign_result, bboxes, gt_bboxes,gt_masks, **kwargs): class HungarianAssigner_filter (line 205) | class HungarianAssigner_filter(BaseAssigner): method __init__ (line 209) | def __init__(self, method assign (line 219) | def assign(self, class HungarianAssigner_multi_info (line 304) | class HungarianAssigner_multi_info(BaseAssigner): method __init__ (line 332) | def __init__(self, method assign (line 346) | def assign(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/seg_head_plugin/seg_deformable_transformer.py class SegDeformableTransformer (line 29) | class SegDeformableTransformer(Transformer): method __init__ (line 40) | def __init__(self, method init_layers (line 53) | def init_layers(self): method init_weights (line 67) | def init_weights(self): method gen_encoder_output_proposals (line 82) | def gen_encoder_output_proposals(self, memory, memory_padding_mask, method get_reference_points (line 156) | def get_reference_points(spatial_shapes, valid_ratios, device): method get_valid_ratio (line 196) | def get_valid_ratio(self, mask): method get_proposal_pos_embed (line 206) | def get_proposal_pos_embed(self, method forward (line 226) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/seg_head_plugin/seg_detr_head.py class SegDETRHead (line 18) | class SegDETRHead( method __init__ (line 54) | def __init__( method _init_layers (line 155) | def _init_layers(self): method init_weights (line 170) | def init_weights(self): method _load_from_state_dict (line 175) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... method forward (line 204) | def forward(self, feats, img_metas): method forward_single (line 228) | def forward_single(self, x, img_metas): method loss (line 270) | def loss(self, method loss_single (line 336) | def loss_single(self, method get_targets (line 426) | def get_targets(self, method _get_target_single (line 483) | def _get_target_single(self, method forward_train (line 553) | def forward_train(self, method get_bboxes (line 589) | def get_bboxes(self, method _get_bboxes_single (line 634) | def _get_bboxes_single(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/seg_head_plugin/seg_mask_head.py class Mlp (line 18) | class Mlp(nn.Module): method __init__ (line 19) | def __init__(self, method forward (line 36) | def forward(self, x): class SelfAttention (line 45) | class SelfAttention(nn.Module): method __init__ (line 46) | def __init__(self, method forward (line 66) | def forward(self, x): class Attention (line 86) | class Attention(nn.Module): method __init__ (line 87) | def __init__(self, method _reset_parameters (line 116) | def _reset_parameters(self): method forward (line 122) | def forward(self, query, key, value, key_padding_mask, hw_lvl): class AttentionTail (line 158) | class AttentionTail(nn.Module): method __init__ (line 159) | def __init__(self, method _reset_parameters (line 186) | def _reset_parameters(self): method forward (line 192) | def forward(self, query, key, key_padding_mask, hw_lvl=None): class Block (line 214) | class Block(nn.Module): method __init__ (line 215) | def __init__(self, method forward (line 260) | def forward(self, query, key, value, key_padding_mask=None, hw_lvl=None): function drop_path (line 273) | def drop_path(x, drop_prob: float = 0., training: bool = False): function _get_clones (line 293) | def _get_clones(module, N): class DropPath (line 297) | class DropPath(nn.Module): method __init__ (line 300) | def __init__(self, drop_prob=None): method forward (line 305) | def forward(self, x): class SegMaskHead (line 310) | class SegMaskHead(nn.Module): method __init__ (line 311) | def __init__(self, method _reset_parameters (line 359) | def _reset_parameters(self): method with_pos_embed (line 364) | def with_pos_embed(self, tensor, pos: Optional[Tensor]): method forward (line 372) | def forward(self, memory, mask_memory, pos_memory, query_embed, mask_q... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/seg_head_plugin/seg_utils.py function IOU (line 3) | def IOU(intputs, targets): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/track_head.py class BEVFormerTrackHead (line 26) | class BEVFormerTrackHead(DETRHead): method __init__ (line 38) | def __init__(self, method _init_layers (line 84) | def _init_layers(self): method init_weights (line 134) | def init_weights(self): method get_bev_features (line 142) | def get_bev_features(self, mlvl_feats, img_metas, prev_bev=None): method get_detections (line 163) | def get_detections( method _get_target_single (line 238) | def _get_target_single(self, method get_targets (line 297) | def get_targets(self, method loss_single (line 348) | def loss_single(self, method loss (line 418) | def loss(self, method get_bboxes (line 505) | def get_bboxes(self, preds_dicts, img_metas, rescale=False): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/track_head_plugin/modules.py class MemoryBank (line 7) | class MemoryBank(nn.Module): method __init__ (line 9) | def __init__(self, method _build_layers (line 19) | def _build_layers(self, args, dim_in, hidden_dim, dim_out): method update (line 32) | def update(self, track_instances): method _forward_temporal_attn (line 55) | def _forward_temporal_attn(self, track_instances): method forward_temporal_attn (line 82) | def forward_temporal_attn(self, track_instances): method forward (line 85) | def forward(self, track_instances: Instances, update_bank=True) -> Ins... class QueryInteractionBase (line 93) | class QueryInteractionBase(nn.Module): method __init__ (line 95) | def __init__(self, args, dim_in, hidden_dim, dim_out): method _build_layers (line 101) | def _build_layers(self, args, dim_in, hidden_dim, dim_out): method _reset_parameters (line 104) | def _reset_parameters(self): method _select_active_tracks (line 109) | def _select_active_tracks(self, data: dict) -> Instances: method _update_track_embedding (line 112) | def _update_track_embedding(self, track_instances): class QueryInteractionModule (line 115) | class QueryInteractionModule(QueryInteractionBase): method __init__ (line 117) | def __init__(self, args, dim_in, hidden_dim, dim_out): method _build_layers (line 123) | def _build_layers(self, args, dim_in, hidden_dim, dim_out): method _update_track_embedding (line 151) | def _update_track_embedding(self, track_instances: Instances) -> Insta... method _random_drop_tracks (line 189) | def _random_drop_tracks(self, track_instances: Instances) -> Instances: method _add_fp_tracks (line 196) | def _add_fp_tracks(self, track_instances: Instances, method _select_active_tracks (line 229) | def _select_active_tracks(self, data: dict) -> Instances: method forward (line 247) | def forward(self, data) -> Instances: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/track_head_plugin/track_instance.py class Instances (line 6) | class Instances: method __init__ (line 29) | def __init__(self, image_size: Tuple[int, int], **kwargs: Any): method image_size (line 41) | def image_size(self) -> Tuple[int, int]: method __setattr__ (line 48) | def __setattr__(self, name: str, val: Any) -> None: method __getattr__ (line 54) | def __getattr__(self, name: str) -> Any: method set (line 59) | def set(self, name: str, value: Any) -> None: method has (line 72) | def has(self, name: str) -> bool: method remove (line 79) | def remove(self, name: str) -> None: method get (line 85) | def get(self, name: str) -> Any: method get_fields (line 91) | def get_fields(self) -> Dict[str, Any]: method to (line 100) | def to(self, *args: Any, **kwargs: Any) -> "Instances": method numpy (line 112) | def numpy(self): method __getitem__ (line 120) | def __getitem__(self, item: Union[int, slice, torch.BoolTensor]) -> "I... method __len__ (line 150) | def __len__(self) -> int: method __iter__ (line 156) | def __iter__(self): method cat (line 160) | def cat(instance_lists: List["Instances"]) -> "Instances": method __str__ (line 190) | def __str__(self) -> str: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/track_head_plugin/tracker.py class RuntimeTrackerBase (line 6) | class RuntimeTrackerBase(object): method __init__ (line 7) | def __init__(self, score_thresh=0.5, filter_score_thresh=0.4, miss_to... method clear (line 13) | def clear(self): method update (line 16) | def update(self, track_instances: Instances, iou_thre=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/dense_heads/train_mixins.py class AnchorTrainMixin (line 9) | class AnchorTrainMixin(object): method anchor_target_3d (line 12) | def anchor_target_3d(self, method anchor_target_3d_single (line 102) | def anchor_target_3d_single(self, method anchor_target_single_assigner (line 238) | def anchor_target_single_assigner(self, function get_direction_target (line 318) | def get_direction_target(anchors, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/MomAD.py class MomAD (line 16) | class MomAD(MVXTwoStageDetector): method __init__ (line 19) | def __init__(self, method extract_img_feat (line 69) | def extract_img_feat(self, img, img_metas, len_queue=None): method extract_feat (line 106) | def extract_feat(self, img, img_metas=None, len_queue=None): method forward_pts_train (line 114) | def forward_pts_train(self, method forward_dummy (line 154) | def forward_dummy(self, img): method forward (line 159) | def forward(self, inputs,return_loss=True,rescale=False): method obtain_history_bev (line 180) | def obtain_history_bev(self, imgs_queue, img_metas_list): method forward_train (line 202) | def forward_train(self, method forward_test (line 271) | def forward_test( method simple_test (line 357) | def simple_test( method simple_test_pts (line 398) | def simple_test_pts( method map_pred2result (line 495) | def map_pred2result(self, bboxes, scores, labels, pts, attrs=None): method assign_pred_to_gt_vip3d (line 524) | def assign_pred_to_gt_vip3d( method compute_motion_metric_vip3d (line 565) | def compute_motion_metric_vip3d( method compute_planner_metric_stp3 (line 649) | def compute_planner_metric_stp3( method set_epoch (line 699) | def set_epoch(self, epoch): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/VAD.py class VAD (line 16) | class VAD(MVXTwoStageDetector): method __init__ (line 19) | def __init__(self, method extract_img_feat (line 69) | def extract_img_feat(self, img, img_metas, len_queue=None): method extract_feat (line 105) | def extract_feat(self, img, img_metas=None, len_queue=None): method forward_pts_train (line 112) | def forward_pts_train(self, method forward_dummy (line 152) | def forward_dummy(self, img): method forward (line 156) | def forward(self, inputs,return_loss=True,rescale=False): method obtain_history_bev (line 176) | def obtain_history_bev(self, imgs_queue, img_metas_list): method forward_train (line 197) | def forward_train(self, method forward_test (line 266) | def forward_test( method simple_test (line 351) | def simple_test( method simple_test_pts (line 392) | def simple_test_pts( method map_pred2result (line 480) | def map_pred2result(self, bboxes, scores, labels, pts, attrs=None): method assign_pred_to_gt_vip3d (line 509) | def assign_pred_to_gt_vip3d( method compute_motion_metric_vip3d (line 550) | def compute_motion_metric_vip3d( method compute_planner_metric_stp3 (line 634) | def compute_planner_metric_stp3( method set_epoch (line 684) | def set_epoch(self, epoch): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/base.py class BaseDetector (line 20) | class BaseDetector(BaseModule, metaclass=ABCMeta): method __init__ (line 23) | def __init__(self, init_cfg=None): method with_neck (line 28) | def with_neck(self): method with_shared_head (line 35) | def with_shared_head(self): method with_bbox (line 40) | def with_bbox(self): method with_mask (line 46) | def with_mask(self): method extract_feat (line 52) | def extract_feat(self, imgs): method extract_feats (line 56) | def extract_feats(self, imgs): method forward_train (line 69) | def forward_train(self, imgs, img_metas, **kwargs): method async_simple_test (line 88) | async def async_simple_test(self, img, img_metas, **kwargs): method simple_test (line 92) | def simple_test(self, img, img_metas, **kwargs): method aug_test (line 96) | def aug_test(self, imgs, img_metas, **kwargs): method aforward_test (line 100) | async def aforward_test(self, *, img, img_metas, **kwargs): method forward_test (line 118) | def forward_test(self, imgs, img_metas, **kwargs): method forward (line 163) | def forward(self, img, img_metas, return_loss=True, **kwargs): method _parse_losses (line 182) | def _parse_losses(self, losses): method show_result (line 218) | def show_result(self, method onnx_export (line 305) | def onnx_export(self, img, img_metas): class Base3DDetector (line 310) | class Base3DDetector(BaseDetector): method forward_test (line 313) | def forward_test(self, points, img_metas, img=None, **kwargs): method forward (line 345) | def forward(self, return_loss=True, **kwargs): method show_results (line 361) | def show_results(self, data, result, out_dir): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/bevformer.py class BEVFormer (line 20) | class BEVFormer(MVXTwoStageDetector): method __init__ (line 26) | def __init__(self, method extract_img_feat (line 66) | def extract_img_feat(self, img, img_metas, len_queue=None): method extract_feat (line 102) | def extract_feat(self, img, img_metas=None, len_queue=None): method forward_pts_train (line 110) | def forward_pts_train(self, method forward_dummy (line 138) | def forward_dummy(self, img): method forward (line 142) | def forward(self, inputs, return_loss=True, rescale=False): method obtain_history_bev (line 162) | def obtain_history_bev(self, imgs_queue, img_metas_list): method forward_train (line 184) | def forward_train(self, method forward_test (line 239) | def forward_test(self, img_metas, img=None, rescale=None): method simple_test_pts (line 274) | def simple_test_pts(self, x, img_metas, prev_bev=None, rescale=False): method simple_test (line 286) | def simple_test(self, img_metas, img=None, prev_bev=None, rescale=False): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/bevformerV2.py class BEVFormerV2 (line 18) | class BEVFormerV2(MVXTwoStageDetector): method __init__ (line 24) | def __init__(self, method extract_img_feat (line 72) | def extract_img_feat(self, img): method extract_feat (line 98) | def extract_feat(self, img, img_metas, len_queue=None): method forward_pts_train (line 107) | def forward_pts_train(self, method forward_mono_train (line 120) | def forward_mono_train(self, img_feats, mono_input_dict): method forward_dummy (line 155) | def forward_dummy(self, img): method forward (line 159) | def forward(self, return_loss=True, **kwargs): method obtain_history_bev (line 165) | def obtain_history_bev(self, img_dict, img_metas_dict): method forward_train (line 186) | def forward_train(self, method forward_test (line 226) | def forward_test(self, img_metas, img=None, **kwargs): method simple_test_pts (line 235) | def simple_test_pts(self, x, img_metas, prev_bev=None, rescale=False): method simple_test (line 247) | def simple_test(self, img_metas, img=None, prev_bev=None, rescale=Fals... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/bevformer_fp16.py class BEVFormer_fp16 (line 23) | class BEVFormer_fp16(BEVFormer): method forward_train (line 30) | def forward_train(self, method val_step (line 78) | def val_step(self, data, optimizer): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/mvx_two_stage.py class MVXTwoStageDetector (line 23) | class MVXTwoStageDetector(Base3DDetector): method __init__ (line 26) | def __init__(self, method with_img_shared_head (line 109) | def with_img_shared_head(self): method with_pts_bbox (line 115) | def with_pts_bbox(self): method with_img_bbox (line 121) | def with_img_bbox(self): method with_img_backbone (line 127) | def with_img_backbone(self): method with_pts_backbone (line 132) | def with_pts_backbone(self): method with_fusion (line 137) | def with_fusion(self): method with_img_neck (line 143) | def with_img_neck(self): method with_pts_neck (line 148) | def with_pts_neck(self): method with_img_rpn (line 153) | def with_img_rpn(self): method with_img_roi_head (line 158) | def with_img_roi_head(self): method with_voxel_encoder (line 163) | def with_voxel_encoder(self): method with_middle_encoder (line 169) | def with_middle_encoder(self): method extract_img_feat (line 174) | def extract_img_feat(self, img, img_metas): method extract_pts_feat (line 194) | def extract_pts_feat(self, pts, img_feats, img_metas): method extract_feat (line 208) | def extract_feat(self, points, img, img_metas): method voxelize (line 216) | def voxelize(self, points): method forward_train (line 241) | def forward_train(self, method forward_pts_train (line 295) | def forward_pts_train(self, method forward_img_train (line 322) | def forward_img_train(self, method simple_test_img (line 376) | def simple_test_img(self, x, img_metas, proposals=None, rescale=False): method simple_test_rpn (line 387) | def simple_test_rpn(self, x, img_metas, rpn_test_cfg): method simple_test_pts (line 394) | def simple_test_pts(self, x, img_metas, rescale=False): method simple_test (line 405) | def simple_test(self, points, img_metas, img=None, rescale=False): method aug_test (line 423) | def aug_test(self, points, img_metas, imgs=None, rescale=False): method extract_feats (line 433) | def extract_feats(self, points, img_metas, imgs=None): method aug_test_pts (line 441) | def aug_test_pts(self, feats, img_metas, rescale=False): method show_results (line 460) | def show_results(self, data, result, out_dir): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/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): class SingleStage3DDetector (line 169) | class SingleStage3DDetector(Base3DDetector): method __init__ (line 186) | def __init__(self, method forward_dummy (line 204) | def forward_dummy(self, points): method extract_feat (line 217) | def extract_feat(self, points, img_metas=None): method extract_feats (line 228) | def extract_feats(self, points, img_metas): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/single_stage_mono3d.py class SingleStageMono3DDetector (line 21) | class SingleStageMono3DDetector(SingleStageDetector): method extract_feats (line 28) | def extract_feats(self, imgs): method forward_train (line 33) | def forward_train(self, method simple_test (line 77) | def simple_test(self, img, img_metas, rescale=False): method aug_test (line 117) | def aug_test(self, imgs, img_metas, rescale=False): method show_results (line 187) | def show_results(self, data, result, out_dir): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/sparsedrive.py class SparseDrive (line 27) | class SparseDrive(BaseDetector): method __init__ (line 28) | def __init__( method extract_feat (line 62) | def extract_feat(self, img, return_depth=False, metas=None): method forward (line 92) | def forward(self, img, **data): method forward_train (line 98) | def forward_train(self, img, **data): method forward_test (line 108) | def forward_test(self, img, **data): method simple_test (line 114) | def simple_test(self, img, **data): method aug_test (line 122) | def aug_test(self, img, **data): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/uniad_e2e.py class UniAD (line 17) | class UniAD(UniADTrack): method __init__ (line 21) | def __init__( method with_planning_head (line 51) | def with_planning_head(self): method with_occ_head (line 55) | def with_occ_head(self): method with_motion_head (line 59) | def with_motion_head(self): method with_seg_head (line 63) | def with_seg_head(self): method forward_dummy (line 66) | def forward_dummy(self, img): method forward (line 70) | def forward(self, inputs, return_loss=True, rescale=False): method forward_train (line 92) | def forward_train(self, method loss_weighted_and_prefixed (line 234) | def loss_weighted_and_prefixed(self, loss_dict, prefix=''): method forward_test (line 239) | def forward_test(self, function pop_elem_in_result (line 376) | def pop_elem_in_result(task_result:dict, pop_list:list=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/detectors/uniad_track.py class UniADTrack (line 23) | class UniADTrack(MVXTwoStageDetector): method __init__ (line 26) | def __init__( method extract_img_feat (line 154) | def extract_img_feat(self, img, len_queue=None): method _generate_empty_tracks (line 179) | def _generate_empty_tracks(self): method velo_update (line 237) | def velo_update( method _copy_tracks_for_loss (line 303) | def _copy_tracks_for_loss(self, tgt_instances): method get_history_bev (line 331) | def get_history_bev(self, imgs_queue, img_metas_list): method get_bevs (line 352) | def get_bevs(self, imgs, img_metas, prev_img=None, prev_img_metas=None... method _forward_single_frame_train (line 373) | def _forward_single_frame_train( method select_active_track_query (line 492) | def select_active_track_query(self, track_instances, active_index, img... method select_sdc_track_query (line 498) | def select_sdc_track_query(self, sdc_instance, img_metas): method forward_track_train (line 509) | def forward_track_train(self, method upsample_bev_if_tiny (line 598) | def upsample_bev_if_tiny(self, outs_track): method _forward_single_frame_inference (line 635) | def _forward_single_frame_inference( method simple_test_track (line 723) | def simple_test_track( method _track_instances2results (line 793) | def _track_instances2results(self, track_instances, img_metas, with_ma... method _det_instances2results (line 823) | def _det_instances2results(self, instances, results, img_metas): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/losses/focal_loss.py function py_sigmoid_focal_loss (line 11) | def py_sigmoid_focal_loss(pred, function sigmoid_focal_loss (line 59) | def sigmoid_focal_loss(pred, class FocalLoss (line 106) | class FocalLoss(nn.Module): method __init__ (line 108) | def __init__(self, method forward (line 136) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/losses/iou_loss.py function iou_loss (line 12) | def iou_loss(pred, target, linear=False, eps=1e-6): function bounded_iou_loss (line 38) | def bounded_iou_loss(pred, target, beta=0.2, eps=1e-3): function giou_loss (line 84) | def giou_loss(pred, target, eps=1e-7): function diou_loss (line 103) | def diou_loss(pred, target, eps=1e-7): function ciou_loss (line 157) | def ciou_loss(pred, target, eps=1e-7): class IoULoss (line 217) | class IoULoss(nn.Module): method __init__ (line 230) | def __init__(self, method forward (line 241) | def forward(self, class BoundedIoULoss (line 288) | class BoundedIoULoss(nn.Module): method __init__ (line 290) | def __init__(self, beta=0.2, eps=1e-3, reduction='mean', loss_weight=1... method forward (line 297) | def forward(self, class GIoULoss (line 324) | class GIoULoss(nn.Module): method __init__ (line 326) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 332) | def forward(self, class DIoULoss (line 364) | class DIoULoss(nn.Module): method __init__ (line 366) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 372) | def forward(self, class CIoULoss (line 404) | class CIoULoss(nn.Module): method __init__ (line 406) | def __init__(self, eps=1e-6, reduction='mean', loss_weight=1.0): method forward (line 412) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/losses/smooth_l1_loss.py function smooth_l1_loss (line 9) | def smooth_l1_loss(pred, target, beta=1.0): function l1_loss (line 30) | def l1_loss(pred, target): class SmoothL1Loss (line 46) | class SmoothL1Loss(nn.Module): method __init__ (line 57) | def __init__(self, beta=1.0, reduction='mean', loss_weight=1.0): method forward (line 63) | def forward(self, class L1Loss (line 98) | class L1Loss(nn.Module): method __init__ (line 107) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 112) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/losses/utils.py function get_class_weight (line 7) | def get_class_weight(class_weight): function reduce_loss (line 24) | def reduce_loss(loss, reduction): function weight_reduce_loss (line 43) | def weight_reduce_loss(loss, weight=None, reduction='mean', avg_factor=N... function weighted_loss (line 72) | def weighted_loss(loss_func): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/VAD_transformer.py function inverse_sigmoid (line 22) | def inverse_sigmoid(x, eps=1e-5): class MapDetectionTransformerDecoder (line 41) | class MapDetectionTransformerDecoder(TransformerLayerSequence): method __init__ (line 49) | def __init__(self, *args, return_intermediate=False, **kwargs): method forward (line 54) | def forward(self, class VADPerceptionTransformer (line 121) | class VADPerceptionTransformer(BaseModule): method __init__ (line 132) | def __init__(self, method init_layers (line 175) | def init_layers(self): method init_weights (line 192) | def init_weights(self): method get_bev_features (line 212) | def get_bev_features( method forward (line 312) | def forward(self, class CustomTransformerDecoder (line 439) | class CustomTransformerDecoder(TransformerLayerSequence): method __init__ (line 446) | def __init__(self, *args, return_intermediate=False, **kwargs): method forward (line 451) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/custom_base_transformer_layer.py class MyCustomBaseTransformerLayer (line 21) | class MyCustomBaseTransformerLayer(BaseModule): method __init__ (line 55) | def __init__(self, method forward (line 148) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/decoder.py function inverse_sigmoid (line 33) | def inverse_sigmoid(x, eps=1e-5): class DetectionTransformerDecoder (line 52) | class DetectionTransformerDecoder(TransformerLayerSequence): method __init__ (line 60) | def __init__(self, *args, return_intermediate=False, **kwargs): method forward (line 65) | def forward(self, class CustomMSDeformableAttention (line 132) | class CustomMSDeformableAttention(BaseModule): method __init__ (line 159) | def __init__(self, method init_weights (line 208) | def init_weights(self): method forward (line 230) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/encoder.py class BEVFormerEncoder (line 26) | class BEVFormerEncoder(TransformerLayerSequence): method __init__ (line 37) | def __init__(self, *args, pc_range=None, num_points_in_pillar=4, retur... method get_reference_points (line 48) | def get_reference_points(H, W, Z=8, num_points_in_pillar=4, dim='3d', ... method point_sampling (line 90) | def point_sampling(self, reference_points, pc_range, img_metas): method forward (line 150) | def forward(self, class BEVFormerLayer (line 242) | class BEVFormerLayer(MyCustomBaseTransformerLayer): method __init__ (line 263) | def __init__(self, method forward (line 286) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/group_attention.py class GroupMultiheadAttention (line 19) | class GroupMultiheadAttention(BaseModule): method __init__ (line 39) | def __init__(self, method forward (line 70) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/multi_scale_deformable_attn_function.py class MultiScaleDeformableAttnFunction_fp16 (line 15) | class MultiScaleDeformableAttnFunction_fp16(Function): method forward (line 19) | def forward(ctx, value, value_spatial_shapes, value_level_start_index, method backward (line 57) | def backward(ctx, grad_output): class MultiScaleDeformableAttnFunction_fp32 (line 90) | class MultiScaleDeformableAttnFunction_fp32(Function): method forward (line 94) | def forward(ctx, value, value_spatial_shapes, value_level_start_index, method backward (line 133) | def backward(ctx, grad_output): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/spatial_cross_attention.py class SpatialCrossAttention (line 31) | class SpatialCrossAttention(BaseModule): method __init__ (line 44) | def __init__(self, method init_weight (line 70) | def init_weight(self): method forward (line 75) | def forward(self, class MSDeformableAttention3D (line 178) | class MSDeformableAttention3D(BaseModule): method __init__ (line 203) | def __init__(self, method init_weights (line 252) | def init_weights(self): method forward (line 272) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/temporal_self_attention.py class TemporalSelfAttention (line 25) | class TemporalSelfAttention(BaseModule): method __init__ (line 54) | def __init__(self, method init_weights (line 106) | def init_weights(self): method forward (line 127) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/transformer.py class UniADPerceptionTransformer (line 25) | class UniADPerceptionTransformer(BaseModule): method __init__ (line 36) | def __init__(self, method init_layers (line 68) | def init_layers(self): method init_weights (line 83) | def init_weights(self): method get_bev_features (line 100) | def get_bev_features( method get_states_and_refs (line 196) | def get_states_and_refs( class GroupFree3DMHA (line 237) | class GroupFree3DMHA(MultiheadAttention): method __init__ (line 258) | def __init__(self, method forward (line 270) | def forward(self, class ConvBNPositionalEncoding (line 340) | class ConvBNPositionalEncoding(nn.Module): method __init__ (line 349) | def __init__(self, input_channel, num_pos_feats=288): method forward (line 356) | def forward(self, xyz): class BEVFormerPerceptionTransformer (line 370) | class BEVFormerPerceptionTransformer(BaseModule): method __init__ (line 381) | def __init__(self, method init_layers (line 413) | def init_layers(self): method init_weights (line 429) | def init_weights(self): method get_bev_features (line 447) | def get_bev_features( method forward (line 546) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/transformerV2.py class ResNetFusion (line 16) | class ResNetFusion(BaseModule): method __init__ (line 17) | def __init__(self, in_channels, out_channels, inter_channels, num_laye... method forward (line 41) | def forward(self, x): class PerceptionTransformerBEVEncoder (line 55) | class PerceptionTransformerBEVEncoder(BaseModule): method __init__ (line 56) | def __init__(self, method init_weights (line 81) | def init_weights(self): method forward (line 97) | def forward(self, class PerceptionTransformerV2 (line 177) | class PerceptionTransformerV2(PerceptionTransformerBEVEncoder): method __init__ (line 188) | def __init__(self, method init_weights (line 214) | def init_weights(self): method get_bev_features (line 229) | def get_bev_features( method forward (line 250) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/modules/vote_module.py class VoteModule (line 10) | class VoteModule(nn.Module): method __init__ (line 35) | def __init__(self, method forward (line 86) | def forward(self, seed_points, seed_feats): method get_loss (line 150) | def get_loss(self, seed_points, vote_points, seed_indices, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/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: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/opt/adamw.py class AdamW2 (line 11) | class AdamW2(Optimizer): method __init__ (line 38) | def __init__(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, method __setstate__ (line 54) | def __setstate__(self, state): method step (line 60) | def step(self, closure=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/roi_heads/mask_heads/fused_semantic_head.py class FusedSemanticHead (line 11) | class FusedSemanticHead(BaseModule): method __init__ (line 27) | def __init__(self, method forward (line 86) | def forward(self, feats): method loss (line 103) | def loss(self, mask_pred, labels): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/segmentors/base.py class BaseSegmentor (line 18) | class BaseSegmentor(BaseModule, metaclass=ABCMeta): method __init__ (line 21) | def __init__(self, init_cfg=None): method with_neck (line 26) | def with_neck(self): method with_auxiliary_head (line 31) | def with_auxiliary_head(self): method with_decode_head (line 37) | def with_decode_head(self): method extract_feat (line 42) | def extract_feat(self, imgs): method encode_decode (line 47) | def encode_decode(self, img, img_metas): method forward_train (line 53) | def forward_train(self, imgs, img_metas, **kwargs): method simple_test (line 58) | def simple_test(self, img, img_meta, **kwargs): method aug_test (line 63) | def aug_test(self, imgs, img_metas, **kwargs): method forward_test (line 67) | def forward_test(self, imgs, img_metas, **kwargs): method forward (line 102) | def forward(self, img, img_metas, return_loss=True, **kwargs): method train_step (line 117) | def train_step(self, data_batch, optimizer, **kwargs): method val_step (line 153) | def val_step(self, data_batch, **kwargs): method _parse_losses (line 164) | def _parse_losses(losses): method show_result (line 199) | def show_result(self, class Base3DSegmentor (line 266) | class Base3DSegmentor(BaseSegmentor): method with_regularization_loss (line 274) | def with_regularization_loss(self): method forward_test (line 279) | def forward_test(self, points, img_metas, **kwargs): method forward (line 307) | def forward(self, return_loss=True, **kwargs): method show_results (line 323) | def show_results(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/builder.py function build_transformer (line 8) | def build_transformer(cfg, default_args=None): function build_linear_layer (line 16) | def build_linear_layer(cfg, *args, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/functional.py function bivariate_gaussian_activation (line 5) | def bivariate_gaussian_activation(ip): function norm_points (line 26) | def norm_points(pos, pc_range): function pos2posemb2d (line 41) | def pos2posemb2d(pos, num_pos_feats=128, temperature=10000): function rot_2d (line 64) | def rot_2d(yaw): function anchor_coordinate_transform (line 78) | def anchor_coordinate_transform(anchors, bbox_results, with_translation_... function trajectory_coordinate_transform (line 111) | def trajectory_coordinate_transform(trajectory, bbox_results, with_trans... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/fuse_conv_bn.py function _fuse_conv_bn (line 6) | def _fuse_conv_bn(conv, bn): function fuse_conv_bn (line 27) | def fuse_conv_bn(module): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/grid_mask.py class Grid (line 7) | class Grid(object): method __init__ (line 8) | def __init__(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5... method set_prob (line 18) | def set_prob(self, epoch, max_epoch): method __call__ (line 21) | def __call__(self, img, label): class GridMask (line 70) | class GridMask(nn.Module): method __init__ (line 71) | def __init__(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5... method set_prob (line 82) | def set_prob(self, epoch, max_epoch): method forward (line 85) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/positional_encoding.py class SinePositionalEncoding (line 10) | class SinePositionalEncoding(BaseModule): method __init__ (line 35) | def __init__(self, method forward (line 55) | def forward(self, mask): method __repr__ (line 94) | def __repr__(self): class LearnedPositionalEncoding (line 106) | class LearnedPositionalEncoding(BaseModule): method __init__ (line 120) | def __init__(self, method forward (line 132) | def forward(self, mask): method __repr__ (line 156) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/res_layer.py class ResLayer (line 8) | class ResLayer(Sequential): method __init__ (line 27) | def __init__(self, class SimplifiedBasicBlock (line 108) | class SimplifiedBasicBlock(BaseModule): method __init__ (line 117) | def __init__(self, method norm1 (line 163) | def norm1(self): method norm2 (line 168) | def norm2(self): method forward (line 172) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/transformer.py function inverse_sigmoid (line 32) | def inverse_sigmoid(x, eps=1e-5): class DetrTransformerDecoderLayer (line 52) | class DetrTransformerDecoderLayer(BaseTransformerLayer): method __init__ (line 74) | def __init__(self, class DetrTransformerEncoder (line 99) | class DetrTransformerEncoder(TransformerLayerSequence): method __init__ (line 107) | def __init__(self, *args, post_norm_cfg=dict(type='LN'), **kwargs): method forward (line 118) | def forward(self, *args, **kwargs): class DetrTransformerDecoder (line 131) | class DetrTransformerDecoder(TransformerLayerSequence): method __init__ (line 140) | def __init__(self, method forward (line 154) | def forward(self, query, *args, **kwargs): class Transformer (line 184) | class Transformer(BaseModule): method __init__ (line 206) | def __init__(self, encoder=None, decoder=None, init_cfg=None): method init_weights (line 212) | def init_weights(self): method forward (line 219) | def forward(self, x, mask, query_embed, pos_embed): class DeformableDetrTransformerDecoder (line 270) | class DeformableDetrTransformerDecoder(TransformerLayerSequence): method __init__ (line 279) | def __init__(self, *args, return_intermediate=False, **kwargs): method forward (line 284) | def forward(self, class DeformableDetrTransformer (line 358) | class DeformableDetrTransformer(Transformer): method __init__ (line 370) | def __init__(self, method init_layers (line 382) | def init_layers(self): method init_weights (line 396) | def init_weights(self): method gen_encoder_output_proposals (line 408) | def gen_encoder_output_proposals(self, memory, memory_padding_mask, method get_reference_points (line 476) | def get_reference_points(spatial_shapes, valid_ratios, device): method get_valid_ratio (line 510) | def get_valid_ratio(self, mask): method get_proposal_pos_embed (line 520) | def get_proposal_pos_embed(self, method forward (line 538) | def forward(self, class DynamicConv (line 700) | class DynamicConv(BaseModule): method __init__ (line 725) | def __init__(self, method forward (line 756) | def forward(self, param_feature, input_feature): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/utils/weight_init.py function update_init_info (line 16) | def update_init_info(module, init_info): function constant_init (line 48) | def constant_init(module, val, bias=0): function xavier_init (line 55) | def xavier_init(module, gain=1, bias=0, distribution='normal'): function normal_init (line 66) | def normal_init(module, mean=0, std=1, bias=0): function trunc_normal_init (line 73) | def trunc_normal_init(module: nn.Module, function uniform_init (line 85) | def uniform_init(module, a=0, b=1, bias=0): function kaiming_init (line 92) | def kaiming_init(module, function caffe2_xavier_init (line 110) | def caffe2_xavier_init(module, bias=0): function bias_init_with_prob (line 122) | def bias_init_with_prob(prior_prob): function _get_bases_name (line 128) | def _get_bases_name(m): class BaseInit (line 132) | class BaseInit(object): method __init__ (line 134) | def __init__(self, *, bias=0, bias_prob=None, layer=None): method _get_init_info (line 157) | def _get_init_info(self): class ConstantInit (line 163) | class ConstantInit(BaseInit): method __init__ (line 175) | def __init__(self, val, **kwargs): method __call__ (line 179) | def __call__(self, module): method _get_init_info (line 194) | def _get_init_info(self): class XavierInit (line 200) | class XavierInit(BaseInit): method __init__ (line 217) | def __init__(self, gain=1, distribution='normal', **kwargs): method __call__ (line 222) | def __call__(self, module): method _get_init_info (line 237) | def _get_init_info(self): class NormalInit (line 244) | class NormalInit(BaseInit): method __init__ (line 260) | def __init__(self, mean=0, std=1, **kwargs): method __call__ (line 265) | def __call__(self, module): method _get_init_info (line 280) | def _get_init_info(self): class TruncNormalInit (line 287) | class TruncNormalInit(BaseInit): method __init__ (line 306) | def __init__(self, method __call__ (line 318) | def __call__(self, module: nn.Module) -> None: method _get_init_info (line 335) | def _get_init_info(self): class UniformInit (line 342) | class UniformInit(BaseInit): method __init__ (line 358) | def __init__(self, a=0, b=1, **kwargs): method __call__ (line 363) | def __call__(self, module): method _get_init_info (line 378) | def _get_init_info(self): class KaimingInit (line 385) | class KaimingInit(BaseInit): method __init__ (line 411) | def __init__(self, method __call__ (line 423) | def __call__(self, module): method _get_init_info (line 440) | def _get_init_info(self): class Caffe2XavierInit (line 448) | class Caffe2XavierInit(KaimingInit): method __init__ (line 451) | def __init__(self, **kwargs): method __call__ (line 459) | def __call__(self, module): class PretrainedInit (line 464) | class PretrainedInit(object): method __init__ (line 478) | def __init__(self, checkpoint, prefix=None, map_location=None): method __call__ (line 483) | def __call__(self, module): method _get_init_info (line 505) | def _get_init_info(self): function _initialize (line 510) | def _initialize(module, cfg, wholemodule=False): function _initialize_override (line 519) | def _initialize_override(module, override, cfg): function initialize (line 549) | def initialize(module, init_cfg): function _no_grad_trunc_normal_ (line 621) | def _no_grad_trunc_normal_(tensor: Tensor, mean: float, std: float, a: f... function trunc_normal_ (line 661) | def trunc_normal_(tensor: Tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/vad_utils/CD_loss.py function reduce_loss (line 13) | def reduce_loss(loss, reduction): function custom_weight_dir_reduce_loss (line 32) | def custom_weight_dir_reduce_loss(loss, weight=None, reduction='mean', a... function custom_weight_reduce_loss (line 64) | def custom_weight_reduce_loss(loss, weight=None, reduction='mean', avg_f... function custom_weighted_loss (line 96) | def custom_weighted_loss(loss_func): function custom_weighted_dir_loss (line 142) | def custom_weighted_dir_loss(loss_func): function ordered_pts_smooth_l1_loss (line 188) | def ordered_pts_smooth_l1_loss(pred, target): function pts_l1_loss (line 207) | def pts_l1_loss(pred, target): function ordered_pts_l1_loss (line 224) | def ordered_pts_l1_loss(pred, target): function pts_dir_cos_loss (line 242) | def pts_dir_cos_loss(pred, target): class OrderedPtsSmoothL1Loss (line 260) | class OrderedPtsSmoothL1Loss(nn.Module): method __init__ (line 269) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 274) | def forward(self, class PtsDirCosLoss (line 303) | class PtsDirCosLoss(nn.Module): method __init__ (line 312) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 317) | def forward(self, class PtsL1Loss (line 347) | class PtsL1Loss(nn.Module): method __init__ (line 356) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 361) | def forward(self, class OrderedPtsL1Loss (line 389) | class OrderedPtsL1Loss(nn.Module): method __init__ (line 398) | def __init__(self, reduction='mean', loss_weight=1.0): method forward (line 403) | def forward(self, class OrderedPtsSmoothL1Cost (line 434) | class OrderedPtsSmoothL1Cost(object): method __init__ (line 440) | def __init__(self, weight=1.): method __call__ (line 443) | def __call__(self, bbox_pred, gt_bboxes): class PtsL1Cost (line 465) | class PtsL1Cost(object): method __init__ (line 471) | def __init__(self, weight=1.): method __call__ (line 474) | def __call__(self, bbox_pred, gt_bboxes): class OrderedPtsL1Cost (line 494) | class OrderedPtsL1Cost(object): method __init__ (line 500) | def __init__(self, weight=1.): method __call__ (line 503) | def __call__(self, bbox_pred, gt_bboxes): class MyChamferDistanceCost (line 523) | class MyChamferDistanceCost: method __init__ (line 524) | def __init__(self, loss_src_weight=1., loss_dst_weight=1.): method __call__ (line 530) | def __call__(self, src, dst,src_weight=1.0,dst_weight=1.0,): function chamfer_distance (line 557) | def chamfer_distance(src, class MyChamferDistance (line 635) | class MyChamferDistance(nn.Module): method __init__ (line 647) | def __init__(self, method forward (line 661) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/vad_utils/map_utils.py function normalize_2d_bbox (line 3) | def normalize_2d_bbox(bboxes, pc_range): function normalize_2d_pts (line 15) | def normalize_2d_pts(pts, pc_range): function denormalize_2d_bbox (line 25) | def denormalize_2d_bbox(bboxes, pc_range): function denormalize_2d_pts (line 35) | def denormalize_2d_pts(pts, pc_range): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/vad_utils/plan_loss.py class PlanMapBoundLoss (line 9) | class PlanMapBoundLoss(nn.Module): method __init__ (line 22) | def __init__( method forward (line 41) | def forward(self, function plan_map_bound_loss (line 87) | def plan_map_bound_loss(pred, target, dis_thresh=1.0): function segments_intersect (line 144) | def segments_intersect(line1_start, line1_end, line2_start, line2_end): class PlanCollisionLoss (line 177) | class PlanCollisionLoss(nn.Module): method __init__ (line 190) | def __init__( method forward (line 207) | def forward(self, function plan_col_loss (line 258) | def plan_col_loss( class PlanMapDirectionLoss (line 315) | class PlanMapDirectionLoss(nn.Module): method __init__ (line 326) | def __init__( method forward (line 343) | def forward(self, function plan_map_dir_loss (line 385) | def plan_map_dir_loss(pred, target, dis_thresh=2.0): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/models/vad_utils/traj_lr_warmup.py function get_traj_warmup_loss_weight (line 3) | def get_traj_warmup_loss_weight( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/common/box_iou_rotated_utils.hpp type RotatedBox (line 21) | struct RotatedBox { type Point (line 26) | struct Point { method HOST_DEVICE_INLINE (line 29) | HOST_DEVICE_INLINE Point operator+(const Point& p) const { method HOST_DEVICE_INLINE (line 32) | HOST_DEVICE_INLINE Point& operator+=(const Point& p) { method HOST_DEVICE_INLINE (line 37) | HOST_DEVICE_INLINE Point operator-(const Point& p) const { method HOST_DEVICE_INLINE (line 40) | HOST_DEVICE_INLINE Point operator*(const T coeff) const { function HOST_DEVICE_INLINE (line 46) | HOST_DEVICE_INLINE T dot_2d(const Point& A, const Point& B) { function HOST_DEVICE_INLINE (line 51) | HOST_DEVICE_INLINE T cross_2d(const Point& A, const Point& B) { function HOST_DEVICE_INLINE (line 56) | HOST_DEVICE_INLINE void get_rotated_vertices(const RotatedBox& box, function HOST_DEVICE_INLINE (line 77) | HOST_DEVICE_INLINE int get_intersection_points(const Point (&pts1)[4], function HOST_DEVICE_INLINE (line 157) | HOST_DEVICE_INLINE int convex_hull_graham(const Point (&p)[24], function HOST_DEVICE_INLINE (line 270) | HOST_DEVICE_INLINE T polygon_area(const Point (&q)[24], const int& m) { function HOST_DEVICE_INLINE (line 284) | HOST_DEVICE_INLINE T rotated_boxes_intersection(const RotatedBox& box1, function HOST_DEVICE_INLINE (line 310) | HOST_DEVICE_INLINE T single_box_iou_rotated(T const* const box1_raw, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/common/cuda/common_cuda_helper.hpp function GET_BLOCKS (line 14) | inline int GET_BLOCKS(const int N) { function __device__ (line 21) | __device__ T bilinear_interpolate(const T* input, const int height, function __device__ (line 65) | __device__ void bilinear_interpolate_gradient( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/common/pytorch_device_registry.hpp function GetDeviceStr (line 15) | inline std::string GetDeviceStr(const at::Device& device) { class DeviceRegistry (line 26) | class DeviceRegistry class DeviceRegistry (line 29) | class DeviceRegistry { method Register (line 35) | void Register(at::DeviceType device, FunctionType function) { method FunctionType (line 39) | FunctionType Find(at::DeviceType device) const { method DeviceRegistry (line 43) | static DeviceRegistry& instance() { method DeviceRegistry (line 49) | DeviceRegistry() { function GetFirstTensorDevice (line 62) | at::Device GetFirstTensorDevice(T&& t, Args&&... args) { function GetFirstTensorDevice (line 68) | at::Device GetFirstTensorDevice(T&& t, Args&&... args) { function CheckDeviceConsistency (line 74) | inline std::pair CheckDeviceConsistency( function CheckDeviceConsistency (line 89) | std::pair CheckDeviceConsistency(const at::Device& device, function CheckDeviceConsistency (line 103) | std::pair CheckDeviceConsistency(const at::Device& device, function Dispatch (line 112) | auto Dispatch(const R& registry, const char* name, Args&&... args) { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/assign_score_withk.cpp function assign_score_withk_forward_impl (line 6) | void assign_score_withk_forward_impl(int B, int N0, int N1, int M, int K... function assign_score_withk_backward_impl (line 15) | void assign_score_withk_backward_impl( function assign_score_withk_forward (line 25) | void assign_score_withk_forward(const Tensor& points, const Tensor& cent... function assign_score_withk_backward (line 33) | void assign_score_withk_backward(const Tensor& grad_out, const Tensor& p... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/ball_query.cpp function ball_query_forward_impl (line 7) | void ball_query_forward_impl(int b, int n, int m, float min_radius, function ball_query_forward (line 15) | void ball_query_forward(Tensor new_xyz_tensor, Tensor xyz_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/bbox_overlaps.cpp function bbox_overlaps_impl (line 5) | void bbox_overlaps_impl(const Tensor bboxes1, const Tensor bboxes2, Tens... function bbox_overlaps (line 11) | void bbox_overlaps(const Tensor bboxes1, const Tensor bboxes2, Tensor ious, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/border_align.cpp function border_align_forward_impl (line 5) | void border_align_forward_impl(const Tensor &input, const Tensor &boxes, function border_align_backward_impl (line 12) | void border_align_backward_impl(const Tensor &grad_output, const Tensor ... function border_align_forward (line 19) | void border_align_forward(const Tensor &input, const Tensor &boxes, function border_align_backward (line 25) | void border_align_backward(const Tensor &grad_output, const Tensor &boxes, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/box_iou_rotated.cpp function box_iou_rotated_impl (line 7) | void box_iou_rotated_impl(const Tensor boxes1, const Tensor boxes2, Tens... function box_iou_rotated (line 16) | void box_iou_rotated(const Tensor boxes1, const Tensor boxes2, Tensor ious, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/carafe.cpp function carafe_forward_impl (line 5) | void carafe_forward_impl(Tensor features, Tensor masks, Tensor rfeatures, function carafe_backward_impl (line 12) | void carafe_backward_impl(Tensor top_grad, Tensor rfeatures, Tensor masks, function carafe_forward (line 23) | void carafe_forward(Tensor features, Tensor masks, Tensor rfeatures, function carafe_backward (line 30) | void carafe_backward(Tensor top_grad, Tensor rfeatures, Tensor masks, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/carafe_naive.cpp function carafe_naive_forward_impl (line 5) | void carafe_naive_forward_impl(Tensor features, Tensor masks, Tensor out... function carafe_naive_backward_impl (line 12) | void carafe_naive_backward_impl(Tensor top_grad, Tensor features, Tensor... function carafe_naive_forward (line 21) | void carafe_naive_forward(Tensor features, Tensor masks, Tensor output, function carafe_naive_backward (line 27) | void carafe_naive_backward(Tensor top_grad, Tensor features, Tensor masks, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/contour_expand.cpp class Point2d (line 10) | class Point2d { method Point2d (line 15) | Point2d() : x(0), y(0) {} method Point2d (line 16) | Point2d(int _x, int _y) : x(_x), y(_y) {} function kernel_dilate (line 19) | void kernel_dilate(const uint8_t *data, IntArrayRef data_shape, function contour_expand (line 89) | std::vector> contour_expand(Tensor kernel_mask, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/corner_pool.cpp function Tensor (line 6) | Tensor bottom_pool_forward(Tensor input) { function Tensor (line 23) | Tensor bottom_pool_backward(Tensor input, Tensor grad_output) { function Tensor (line 65) | Tensor left_pool_forward(Tensor input) { function Tensor (line 82) | Tensor left_pool_backward(Tensor input, Tensor grad_output) { function Tensor (line 124) | Tensor right_pool_forward(Tensor input) { function Tensor (line 141) | Tensor right_pool_backward(Tensor input, Tensor grad_output) { function Tensor (line 183) | Tensor top_pool_forward(Tensor input) { function Tensor (line 200) | Tensor top_pool_backward(Tensor input, Tensor grad_output) { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/correlation.cpp function correlation_forward_impl (line 7) | void correlation_forward_impl(Tensor input1, Tensor input2, Tensor output, function correlation_backward_impl (line 17) | void correlation_backward_impl(Tensor grad_output, Tensor input1, Tensor... function correlation_forward (line 29) | void correlation_forward(Tensor input1, Tensor input2, Tensor output, in... function correlation_backward (line 38) | void correlation_backward(Tensor grad_output, Tensor input1, Tensor input2, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/box_iou_rotated.cpp function box_iou_rotated_cpu_kernel (line 9) | void box_iou_rotated_cpu_kernel(const Tensor boxes1, const Tensor boxes2, function box_iou_rotated_cpu (line 31) | void box_iou_rotated_cpu(const Tensor boxes1, const Tensor boxes2, Tenso... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/deform_conv.cpp function T (line 6) | T deformable_im2col_bilinear_cpu(const T *input, const int data_width, function T (line 40) | T get_gradient_weight_cpu(T argmax_h, T argmax_w, const int h, const int w, function T (line 66) | T get_coordinate_weight_cpu(T argmax_h, T argmax_w, const int height, function deformable_im2col_cpu_kernel (line 114) | void deformable_im2col_cpu_kernel( function deformable_col2im_cpu_kernel (line 167) | void deformable_col2im_cpu_kernel( function deformable_col2im_coord_cpu_kernel (line 224) | void deformable_col2im_coord_cpu_kernel( function deformable_im2col_cpu (line 291) | void deformable_im2col_cpu(Tensor data_im, Tensor data_offset, function deformable_col2im_cpu (line 318) | void deformable_col2im_cpu(Tensor data_col, Tensor data_offset, function deformable_col2im_coord_cpu (line 349) | void deformable_col2im_coord_cpu( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/modulated_deform_conv.cpp function T (line 6) | T dmcn_im2col_bilinear_cpu(const T *input, const int data_width, function T (line 36) | T dmcn_get_gradient_weight_cpu(T argmax_h, T argmax_w, const int h, cons... function T (line 62) | T dmcn_get_coordinate_weight_cpu(T argmax_h, T argmax_w, const int height, function modulated_deformable_im2col_cpu_kernel (line 110) | void modulated_deformable_im2col_cpu_kernel( function modulated_deformable_col2im_cpu_kernel (line 171) | void modulated_deformable_col2im_cpu_kernel( function modulated_deformable_col2im_coord_cpu_kernel (line 234) | void modulated_deformable_col2im_coord_cpu_kernel( function modulated_deformable_im2col_cpu (line 322) | void modulated_deformable_im2col_cpu( function modulated_deformable_col2im_cpu (line 348) | void modulated_deformable_col2im_cpu( function modulated_deformable_col2im_coord_cpu (line 374) | void modulated_deformable_col2im_coord_cpu( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/nms.cpp function Tensor (line 5) | Tensor nms_cpu(Tensor boxes, Tensor scores, float iou_threshold, int off... function Tensor (line 59) | Tensor softnms_cpu(Tensor boxes, Tensor scores, Tensor dets, function nms_match_cpu (line 168) | std::vector > nms_match_cpu(Tensor dets, float iou_thre... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/nms_rotated.cpp function Tensor (line 8) | Tensor nms_rotated_cpu_kernel(const Tensor dets, const Tensor scores, function Tensor (line 59) | Tensor nms_rotated_cpu(const Tensor dets, const Tensor scores, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/pixel_group.cpp function estimate_confidence (line 7) | std::vector> estimate_confidence(int32_t* label, function pixel_group_cpu (line 37) | std::vector> pixel_group_cpu( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/points_in_boxes.cpp function lidar_to_local_coords_cpu (line 3) | inline void lidar_to_local_coords_cpu(float shift_x, float shift_y, floa... function check_pt_in_box3d_cpu (line 10) | inline int check_pt_in_box3d_cpu(const float *pt, const float *box3d, function points_in_boxes_cpu_forward (line 28) | void points_in_boxes_cpu_forward(Tensor boxes_tensor, Tensor pts_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/psamask.cpp function psamask_collect_forward (line 14) | void psamask_collect_forward(const int num_, const int h_feature, function psamask_distribute_forward (line 51) | void psamask_distribute_forward(const int num_, const int h_feature, function psamask_collect_backward (line 88) | void psamask_collect_backward(const int num_, const int h_feature, function psamask_distribute_backward (line 124) | void psamask_distribute_backward(const int num_, const int h_feature, function psamask_forward_cpu (line 160) | void psamask_forward_cpu(const int psa_type, const Tensor input, Tensor ... function psamask_backward_cpu (line 173) | void psamask_backward_cpu(const int psa_type, const Tensor grad_output, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/roi_align.cpp type PreCalc (line 12) | struct PreCalc { function pre_calc_for_bilinear_interpolate (line 24) | void pre_calc_for_bilinear_interpolate( function ROIAlignForward (line 111) | void ROIAlignForward(const int nthreads, const T* input, const T* rois, function bilinear_interpolate_gradient (line 217) | void bilinear_interpolate_gradient(const int height, const int width, T ... function add (line 266) | inline void add(T* address, const T& val) { function ROIAlignBackward (line 271) | void ROIAlignBackward(const int nthreads, const T* grad_output, const T*... function ROIAlignForwardCPULauncher (line 384) | void ROIAlignForwardCPULauncher(Tensor input, Tensor rois, Tensor output, function ROIAlignBackwardCPULauncher (line 405) | void ROIAlignBackwardCPULauncher(Tensor grad_output, Tensor rois, function roi_align_forward_cpu (line 434) | void roi_align_forward_cpu(Tensor input, Tensor rois, Tensor output, function roi_align_backward_cpu (line 443) | void roi_align_backward_cpu(Tensor grad_output, Tensor rois, Tensor argm... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/roi_align_rotated.cpp type PreCalc (line 12) | struct PreCalc { function pre_calc_for_bilinear_interpolate (line 24) | void pre_calc_for_bilinear_interpolate( function ROIAlignRotatedForward (line 116) | void ROIAlignRotatedForward(const int nthreads, const T* input, function bilinear_interpolate_gradient (line 215) | void bilinear_interpolate_gradient(const int height, const int width, T ... function add (line 268) | inline void add(T* address, const T& val) { function ROIAlignRotatedBackward (line 273) | void ROIAlignRotatedBackward( function ROIAlignRotatedForwardCPULauncher (line 374) | void ROIAlignRotatedForwardCPULauncher(Tensor input, Tensor rois, Tensor... function ROIAlignRotatedBackwardCPULauncher (line 393) | void ROIAlignRotatedBackwardCPULauncher(Tensor grad_output, Tensor rois, function roi_align_rotated_forward_cpu (line 420) | void roi_align_rotated_forward_cpu(Tensor input, Tensor rois, Tensor out... function roi_align_rotated_backward_cpu (line 429) | void roi_align_rotated_backward_cpu(Tensor top_grad, Tensor rois, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cpu/voxelization.cpp function dynamic_voxelize_forward_cpu_kernel (line 6) | void dynamic_voxelize_forward_cpu_kernel( function hard_voxelize_forward_cpu_kernel (line 39) | void hard_voxelize_forward_cpu_kernel( function dynamic_voxelize_forward_cpu (line 90) | void dynamic_voxelize_forward_cpu(const at::Tensor& points, at::Tensor& ... function hard_voxelize_forward_cpu (line 115) | int hard_voxelize_forward_cpu(const at::Tensor& points, at::Tensor& voxels, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/cuda/cudabind.cpp function assign_score_withk_forward_cuda (line 15) | void assign_score_withk_forward_cuda(int B, int N0, int N1, int M, int K... function assign_score_withk_backward_cuda (line 24) | void assign_score_withk_backward_cuda( function ball_query_forward_cuda (line 56) | void ball_query_forward_cuda(int b, int n, int m, float min_radius, function bbox_overlaps_cuda (line 74) | void bbox_overlaps_cuda(const Tensor bboxes1, const Tensor bboxes2, Tens... function border_align_forward_cuda (line 94) | void border_align_forward_cuda(const Tensor& input, const Tensor& boxes, function border_align_backward_cuda (line 101) | void border_align_backward_cuda(const Tensor& grad_output, const Tensor&... function carafe_forward_cuda (line 141) | void carafe_forward_cuda(Tensor features, Tensor masks, Tensor rfeatures, function carafe_backward_cuda (line 149) | void carafe_backward_cuda(Tensor top_grad, Tensor rfeatures, Tensor masks, function carafe_naive_forward_cuda (line 184) | void carafe_naive_forward_cuda(Tensor features, Tensor masks, Tensor out... function carafe_naive_backward_cuda (line 191) | void carafe_naive_backward_cuda(Tensor top_grad, Tensor features, Tensor... function correlation_forward_cuda (line 228) | void correlation_forward_cuda(Tensor input1, Tensor input2, Tensor output, function correlation_backward_cuda (line 238) | void correlation_backward_cuda(Tensor grad_output, Tensor input1, Tensor... function deform_roi_pool_forward_cuda (line 333) | void deform_roi_pool_forward_cuda(Tensor input, Tensor rois, Tensor offset, function deform_roi_pool_backward_cuda (line 342) | void deform_roi_pool_backward_cuda(Tensor grad_output, Tensor input, function sigmoid_focal_loss_forward_cuda (line 392) | void sigmoid_focal_loss_forward_cuda(Tensor input, Tensor target, Tensor... function sigmoid_focal_loss_backward_cuda (line 398) | void sigmoid_focal_loss_backward_cuda(Tensor input, Tensor target, function softmax_focal_loss_forward_cuda (line 405) | void softmax_focal_loss_forward_cuda(Tensor input, Tensor target, Tensor... function softmax_focal_loss_backward_cuda (line 411) | void softmax_focal_loss_backward_cuda(Tensor input, Tensor target, function furthest_point_sampling_forward_cuda (line 450) | void furthest_point_sampling_forward_cuda(Tensor points_tensor, function furthest_point_sampling_with_dist_forward_cuda (line 459) | void furthest_point_sampling_with_dist_forward_cuda(Tensor points_tensor, function gather_points_forward_cuda (line 505) | void gather_points_forward_cuda(int b, int c, int n, int npoints, function gather_points_backward_cuda (line 511) | void gather_points_backward_cuda(int b, int c, int n, int npoints, function group_points_forward_cuda (line 540) | void group_points_forward_cuda(int b, int c, int n, int npoints, int nsa... function group_points_backward_cuda (line 547) | void group_points_backward_cuda(int b, int c, int n, int npoints, int ns... function iou3d_boxes_overlap_bev_forward_cuda (line 588) | void iou3d_boxes_overlap_bev_forward_cuda(const int num_a, const Tensor ... function iou3d_boxes_iou_bev_forward_cuda (line 595) | void iou3d_boxes_iou_bev_forward_cuda(const int num_a, const Tensor boxe... function iou3d_nms_forward_cuda (line 602) | void iou3d_nms_forward_cuda(const Tensor boxes, unsigned long long* mask, function iou3d_nms_normal_forward_cuda (line 607) | void iou3d_nms_normal_forward_cuda(const Tensor boxes, unsigned long lon... function knn_forward_cuda (line 639) | void knn_forward_cuda(int b, int n, int m, int nsample, const Tensor xyz, function masked_im2col_forward_cuda (line 661) | void masked_im2col_forward_cuda(const Tensor im, const Tensor mask_h_idx, function masked_col2im_forward_cuda (line 671) | void masked_col2im_forward_cuda(const Tensor col, const Tensor mask_h_idx, function Tensor (line 785) | Tensor nms_cuda(Tensor boxes, Tensor scores, float iou_threshold, int of... function points_in_boxes_part_forward_cuda (line 802) | void points_in_boxes_part_forward_cuda(int batch_size, int boxes_num, function points_in_boxes_all_forward_cuda (line 810) | void points_in_boxes_all_forward_cuda(int batch_size, int boxes_num, function psamask_forward_cuda (line 844) | void psamask_forward_cuda(const int psa_type, const Tensor input, Tensor... function psamask_backward_cuda (line 854) | void psamask_backward_cuda(const int psa_type, const Tensor grad_output, function roi_align_forward_cuda (line 891) | void roi_align_forward_cuda(Tensor input, Tensor rois, Tensor output, function roi_align_backward_cuda (line 901) | void roi_align_backward_cuda(Tensor grad_output, Tensor rois, Tensor arg... function roi_align_rotated_forward_cuda (line 938) | void roi_align_rotated_forward_cuda(Tensor features, Tensor rois, Tensor... function roi_align_rotated_backward_cuda (line 959) | void roi_align_rotated_backward_cuda(Tensor top_grad, Tensor rois, function roiaware_pool3d_forward_cuda (line 1006) | void roiaware_pool3d_forward_cuda(int boxes_num, int pts_num, int channels, function roiaware_pool3d_backward_cuda (line 1018) | void roiaware_pool3d_backward_cuda(int boxes_num, int out_x, int out_y, function roipoint_pool3d_forward_cuda (line 1053) | void roipoint_pool3d_forward_cuda(int batch_size, int pts_num, int boxes... function roi_pool_forward_cuda (line 1082) | void roi_pool_forward_cuda(Tensor input, Tensor rois, Tensor output, function roi_pool_backward_cuda (line 1089) | void roi_pool_backward_cuda(Tensor grad_output, Tensor rois, Tensor argmax, function dynamic_point_to_voxel_forward_cuda (line 1117) | std::vector dynamic_point_to_voxel_forward_cuda( function dynamic_point_to_voxel_backward_cuda (line 1124) | void dynamic_point_to_voxel_backward_cuda( function sync_bn_forward_mean_cuda (line 1172) | void sync_bn_forward_mean_cuda(const Tensor input, Tensor mean) { function sync_bn_forward_var_cuda (line 1176) | void sync_bn_forward_var_cuda(const Tensor input, const Tensor mean, function sync_bn_forward_output_cuda (line 1181) | void sync_bn_forward_output_cuda(const Tensor input, const Tensor mean, function sync_bn_backward_param_cuda (line 1192) | void sync_bn_backward_param_cuda(const Tensor grad_output, const Tensor ... function sync_bn_backward_data_cuda (line 1198) | void sync_bn_backward_data_cuda(const Tensor grad_output, const Tensor w... function three_interpolate_forward_cuda (line 1247) | void three_interpolate_forward_cuda(int b, int c, int m, int n, function three_interpolate_backward_cuda (line 1254) | void three_interpolate_backward_cuda(int b, int c, int n, int m, function three_nn_forward_cuda (line 1277) | void three_nn_forward_cuda(int b, int n, int m, const Tensor unknown, function tin_shift_forward_cuda (line 1292) | void tin_shift_forward_cuda(Tensor input, Tensor shift, Tensor output) { function tin_shift_backward_cuda (line 1296) | void tin_shift_backward_cuda(Tensor grad_output, Tensor shift, function hard_voxelize_forward_cuda (line 1329) | int hard_voxelize_forward_cuda(const at::Tensor& points, at::Tensor& vox... function dynamic_voxelize_forward_cuda (line 1341) | void dynamic_voxelize_forward_cuda(const at::Tensor& points, at::Tensor&... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/deform_conv.cpp function deformable_im2col_impl (line 5) | void deformable_im2col_impl(Tensor data_im, Tensor data_offset, function deformable_col2im_impl (line 19) | void deformable_col2im_impl(Tensor data_col, Tensor data_offset, function deformable_col2im_coord_impl (line 33) | void deformable_col2im_coord_impl( function deform_conv_shape_check (line 45) | void deform_conv_shape_check(at::Tensor input, at::Tensor offset, function deform_conv_forward (line 140) | void deform_conv_forward(Tensor input, Tensor weight, Tensor offset, function deform_conv_backward_input (line 260) | void deform_conv_backward_input(Tensor input, Tensor offset, Tensor grad... function deform_conv_backward_parameters (line 392) | void deform_conv_backward_parameters(Tensor input, Tensor offset, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/deform_roi_pool.cpp function deform_roi_pool_forward_impl (line 5) | void deform_roi_pool_forward_impl(Tensor input, Tensor rois, Tensor offset, function deform_roi_pool_backward_impl (line 14) | void deform_roi_pool_backward_impl(Tensor grad_output, Tensor input, function deform_roi_pool_forward (line 25) | void deform_roi_pool_forward(Tensor input, Tensor rois, Tensor offset, function deform_roi_pool_backward (line 34) | void deform_roi_pool_backward(Tensor grad_output, Tensor input, Tensor r... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/focal_loss.cpp function sigmoid_focal_loss_forward_impl (line 5) | void sigmoid_focal_loss_forward_impl(Tensor input, Tensor target, Tensor... function sigmoid_focal_loss_backward_impl (line 11) | void sigmoid_focal_loss_backward_impl(Tensor input, Tensor target, function softmax_focal_loss_forward_impl (line 18) | void softmax_focal_loss_forward_impl(Tensor input, Tensor target, Tensor... function softmax_focal_loss_backward_impl (line 24) | void softmax_focal_loss_backward_impl(Tensor input, Tensor target, function sigmoid_focal_loss_forward (line 32) | void sigmoid_focal_loss_forward(Tensor input, Tensor target, Tensor weight, function sigmoid_focal_loss_backward (line 37) | void sigmoid_focal_loss_backward(Tensor input, Tensor target, Tensor wei... function softmax_focal_loss_forward (line 43) | void softmax_focal_loss_forward(Tensor input, Tensor target, Tensor weight, function softmax_focal_loss_backward (line 48) | void softmax_focal_loss_backward(Tensor input, Tensor target, Tensor wei... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/furthest_point_sample.cpp function furthest_point_sampling_forward_impl (line 7) | void furthest_point_sampling_forward_impl(Tensor points_tensor, function furthest_point_sampling_with_dist_forward_impl (line 14) | void furthest_point_sampling_with_dist_forward_impl(Tensor points_tensor, function furthest_point_sampling_forward (line 22) | void furthest_point_sampling_forward(Tensor points_tensor, Tensor temp_t... function furthest_point_sampling_with_dist_forward (line 28) | void furthest_point_sampling_with_dist_forward(Tensor points_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/fused_bias_leakyrelu.cpp function fused_bias_leakyrelu_op_impl (line 105) | torch::Tensor fused_bias_leakyrelu_op_impl(const torch::Tensor& input, function fused_bias_leakyrelu (line 113) | torch::Tensor fused_bias_leakyrelu(const torch::Tensor& input, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/gather_points.cpp function gather_points_forward_impl (line 4) | void gather_points_forward_impl(int b, int c, int n, int npoints, function gather_points_backward_impl (line 11) | void gather_points_backward_impl(int b, int c, int n, int npoints, function gather_points_forward (line 18) | void gather_points_forward(Tensor points_tensor, Tensor idx_tensor, function gather_points_backward (line 25) | void gather_points_backward(Tensor grad_out_tensor, Tensor idx_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/group_points.cpp function group_points_forward_impl (line 8) | void group_points_forward_impl(int b, int c, int n, int npoints, int nsa... function group_points_backward_impl (line 15) | void group_points_backward_impl(int b, int c, int n, int npoints, int ns... function group_points_forward (line 22) | void group_points_forward(Tensor points_tensor, Tensor idx_tensor, function group_points_backward (line 29) | void group_points_backward(Tensor grad_out_tensor, Tensor idx_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/info.cpp function get_cudart_version (line 9) | int get_cudart_version() { return CUDART_VERSION; } function get_compiling_cuda_version (line 13) | std::string get_compiling_cuda_version() { function get_compiler_version (line 37) | std::string get_compiler_version() { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/iou3d.cpp function iou3d_boxes_overlap_bev_forward_impl (line 15) | void iou3d_boxes_overlap_bev_forward_impl(const int num_a, const Tensor ... function iou3d_boxes_iou_bev_forward_impl (line 22) | void iou3d_boxes_iou_bev_forward_impl(const int num_a, const Tensor boxe... function iou3d_nms_forward_impl (line 29) | void iou3d_nms_forward_impl(const Tensor boxes, unsigned long long *mask, function iou3d_nms_normal_forward_impl (line 35) | void iou3d_nms_normal_forward_impl(const Tensor boxes, unsigned long lon... function iou3d_boxes_overlap_bev_forward (line 41) | void iou3d_boxes_overlap_bev_forward(Tensor boxes_a, Tensor boxes_b, function iou3d_boxes_iou_bev_forward (line 54) | void iou3d_boxes_iou_bev_forward(Tensor boxes_a, Tensor boxes_b, function iou3d_nms_forward (line 65) | void iou3d_nms_forward(Tensor boxes, Tensor keep, Tensor keep_num, function iou3d_nms_normal_forward (line 108) | void iou3d_nms_normal_forward(Tensor boxes, Tensor keep, Tensor keep_num, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/knn.cpp function knn_forward_impl (line 7) | void knn_forward_impl(int b, int n, int m, int nsample, const Tensor xyz, function knn_forward (line 13) | void knn_forward(Tensor xyz_tensor, Tensor new_xyz_tensor, Tensor idx_te... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/masked_conv2d.cpp function masked_im2col_forward_impl (line 5) | void masked_im2col_forward_impl(const Tensor im, const Tensor mask_h_idx, function masked_col2im_forward_impl (line 13) | void masked_col2im_forward_impl(const Tensor col, const Tensor mask_h_idx, function masked_im2col_forward (line 20) | void masked_im2col_forward(const Tensor im, const Tensor mask_h_idx, function masked_col2im_forward (line 28) | void masked_col2im_forward(const Tensor col, const Tensor mask_h_idx, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp function modulated_deformable_im2col_impl (line 5) | void modulated_deformable_im2col_impl( function modulated_deformable_col2im_impl (line 19) | void modulated_deformable_col2im_impl( function modulated_deformable_col2im_coord_impl (line 33) | void modulated_deformable_col2im_coord_impl( function modulated_deform_conv_forward (line 48) | void modulated_deform_conv_forward( function modulated_deform_conv_backward (line 126) | void modulated_deform_conv_backward( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/ms_deform_attn.cpp function Tensor (line 15) | Tensor ms_deform_attn_impl_forward(const Tensor &value, function ms_deform_attn_impl_backward (line 26) | void ms_deform_attn_impl_backward( function Tensor (line 38) | Tensor ms_deform_attn_forward(const Tensor &value, const Tensor &spatial... function ms_deform_attn_backward (line 48) | void ms_deform_attn_backward(const Tensor &value, const Tensor &spatial_... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/nms.cpp function Tensor (line 5) | Tensor nms_impl(Tensor boxes, Tensor scores, float iou_threshold, int of... function Tensor (line 9) | Tensor softnms_impl(Tensor boxes, Tensor scores, Tensor dets, function nms_match_impl (line 16) | std::vector > nms_match_impl(Tensor dets, function Tensor (line 21) | Tensor nms(Tensor boxes, Tensor scores, float iou_threshold, int offset) { function Tensor (line 25) | Tensor softnms(Tensor boxes, Tensor scores, Tensor dets, float iou_thres... function nms_match (line 31) | std::vector > nms_match(Tensor dets, float iou_threshol... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/nms_rotated.cpp function Tensor (line 18) | Tensor nms_rotated(const Tensor dets, const Tensor scores, const Tensor ... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/pixel_group.cpp function pixel_group_impl (line 7) | std::vector> pixel_group_impl( function pixel_group (line 15) | std::vector> pixel_group( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/points_in_boxes.cpp function points_in_boxes_part_forward_impl (line 4) | void points_in_boxes_part_forward_impl(int batch_size, int boxes_num, function points_in_boxes_all_forward_impl (line 12) | void points_in_boxes_all_forward_impl(int batch_size, int boxes_num, function points_in_boxes_part_forward (line 20) | void points_in_boxes_part_forward(Tensor boxes_tensor, Tensor pts_tensor, function points_in_boxes_all_forward (line 34) | void points_in_boxes_all_forward(Tensor boxes_tensor, Tensor pts_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/psamask.cpp function psamask_forward_impl (line 7) | void psamask_forward_impl(const int psa_type, const Tensor input, Tensor... function psamask_backward_impl (line 17) | void psamask_backward_impl(const int psa_type, const Tensor grad_output, function psamask_forward (line 27) | void psamask_forward(const Tensor input, Tensor output, const int psa_type, function psamask_backward (line 35) | void psamask_backward(Tensor grad_output, const Tensor grad_input, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/pybind.cpp function PYBIND11_MODULE (line 343) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/roi_align.cpp function roi_align_forward_impl (line 5) | void roi_align_forward_impl(Tensor input, Tensor rois, Tensor output, function roi_align_backward_impl (line 15) | void roi_align_backward_impl(Tensor grad_output, Tensor rois, Tensor arg... function roi_align_forward (line 25) | void roi_align_forward(Tensor input, Tensor rois, Tensor output, function roi_align_backward (line 34) | void roi_align_backward(Tensor grad_output, Tensor rois, Tensor argmax_y, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/roi_align_rotated.cpp function roi_align_rotated_forward_impl (line 5) | void roi_align_rotated_forward_impl(Tensor features, Tensor rois, Tensor... function roi_align_rotated_backward_impl (line 14) | void roi_align_rotated_backward_impl(Tensor top_grad, Tensor rois, function roi_align_rotated_forward (line 24) | void roi_align_rotated_forward(Tensor input, Tensor rois, Tensor output, function roi_align_rotated_backward (line 33) | void roi_align_rotated_backward(Tensor top_grad, Tensor rois, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/roi_pool.cpp function roi_pool_forward_impl (line 5) | void roi_pool_forward_impl(Tensor input, Tensor rois, Tensor output, function roi_pool_backward_impl (line 12) | void roi_pool_backward_impl(Tensor grad_output, Tensor rois, Tensor argmax, function roi_pool_forward (line 19) | void roi_pool_forward(Tensor input, Tensor rois, Tensor output, Tensor a... function roi_pool_backward (line 26) | void roi_pool_backward(Tensor grad_output, Tensor rois, Tensor argmax, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/roiaware_pool3d.cpp function roiaware_pool3d_forward_impl (line 4) | void roiaware_pool3d_forward_impl(int boxes_num, int pts_num, int channels, function roiaware_pool3d_backward_impl (line 16) | void roiaware_pool3d_backward_impl(int boxes_num, int out_x, int out_y, function roiaware_pool3d_forward (line 27) | void roiaware_pool3d_forward(Tensor rois, Tensor pts, Tensor pts_feature, function roiaware_pool3d_backward (line 54) | void roiaware_pool3d_backward(Tensor pts_idx_of_voxels, Tensor argmax, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/roipoint_pool3d.cpp function roipoint_pool3d_forward_impl (line 12) | void roipoint_pool3d_forward_impl(int batch_size, int pts_num, int boxes... function roipoint_pool3d_forward (line 23) | void roipoint_pool3d_forward(Tensor xyz, Tensor boxes3d, Tensor pts_feat... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/scatter_points.cpp function dynamic_point_to_voxel_forward_impl (line 7) | std::vector dynamic_point_to_voxel_forward_impl( function dynamic_point_to_voxel_backward_impl (line 14) | void dynamic_point_to_voxel_backward_impl( function reduce_t (line 24) | inline reduce_t convert_reduce_type(const std::string &reduce_type) { function dynamic_point_to_voxel_forward (line 36) | std::vector dynamic_point_to_voxel_forward( function dynamic_point_to_voxel_backward (line 43) | void dynamic_point_to_voxel_backward(torch::Tensor &grad_feats, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/sync_bn.cpp function sync_bn_forward_mean_impl (line 5) | void sync_bn_forward_mean_impl(const Tensor input, Tensor mean) { function sync_bn_forward_var_impl (line 9) | void sync_bn_forward_var_impl(const Tensor input, const Tensor mean, function sync_bn_forward_output_impl (line 14) | void sync_bn_forward_output_impl(const Tensor input, const Tensor mean, function sync_bn_backward_param_impl (line 25) | void sync_bn_backward_param_impl(const Tensor grad_output, const Tensor ... function sync_bn_backward_data_impl (line 31) | void sync_bn_backward_data_impl(const Tensor grad_output, const Tensor w... function sync_bn_forward_mean (line 39) | void sync_bn_forward_mean(const Tensor input, Tensor mean) { function sync_bn_forward_var (line 43) | void sync_bn_forward_var(const Tensor input, const Tensor mean, Tensor v... function sync_bn_forward_output (line 47) | void sync_bn_forward_output(const Tensor input, const Tensor mean, function sync_bn_backward_param (line 58) | void sync_bn_backward_param(const Tensor grad_output, const Tensor norm, function sync_bn_backward_data (line 63) | void sync_bn_backward_data(const Tensor grad_output, const Tensor weight, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/three_interpolate.cpp function three_interpolate_forward_impl (line 7) | void three_interpolate_forward_impl(int b, int c, int m, int n, function three_interpolate_backward_impl (line 14) | void three_interpolate_backward_impl(int b, int c, int n, int m, function three_interpolate_forward (line 21) | void three_interpolate_forward(Tensor points_tensor, Tensor idx_tensor, function three_interpolate_backward (line 28) | void three_interpolate_backward(Tensor grad_out_tensor, Tensor idx_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/three_nn.cpp function three_nn_forward_impl (line 7) | void three_nn_forward_impl(int b, int n, int m, const Tensor unknown, function three_nn_forward (line 13) | void three_nn_forward(Tensor unknown_tensor, Tensor known_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/tin_shift.cpp function tin_shift_forward_impl (line 5) | void tin_shift_forward_impl(Tensor input, Tensor shift, Tensor output) { function tin_shift_backward_impl (line 9) | void tin_shift_backward_impl(Tensor grad_output, Tensor shift, function tin_shift_forward (line 14) | void tin_shift_forward(Tensor input, Tensor shift, Tensor output) { function tin_shift_backward (line 18) | void tin_shift_backward(Tensor grad_output, Tensor shift, Tensor grad_in... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/upfirdn2d.cpp function upfirdn2d_op_impl (line 105) | torch::Tensor upfirdn2d_op_impl(const torch::Tensor& input, function upfirdn2d (line 113) | torch::Tensor upfirdn2d(const torch::Tensor& input, const torch::Tensor&... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/csrc/pytorch/voxelization.cpp function hard_voxelize_forward_impl (line 5) | int hard_voxelize_forward_impl(const at::Tensor &points, at::Tensor &vox... function dynamic_voxelize_forward_impl (line 17) | void dynamic_voxelize_forward_impl(const at::Tensor &points, at::Tensor ... function hard_voxelize_forward (line 25) | void hard_voxelize_forward(const at::Tensor &points, function dynamic_voxelize_forward (line 44) | void dynamic_voxelize_forward(const at::Tensor &points, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/deform_conv.py class DeformConv2dFunction (line 22) | class DeformConv2dFunction(Function): method symbolic (line 25) | def symbolic(g, method forward (line 50) | def forward(ctx, method backward (line 114) | def backward(ctx, grad_output): method _output_size (line 173) | def _output_size(ctx, input, weight): class DeformConv2d (line 192) | class DeformConv2d(nn.Module): method __init__ (line 228) | def __init__(self, method reset_parameters (line 269) | def reset_parameters(self): method forward (line 276) | def forward(self, x: Tensor, offset: Tensor) -> Tensor: method __repr__ (line 315) | def __repr__(self): class DeformConv2dPack (line 331) | class DeformConv2dPack(DeformConv2d): method __init__ (line 358) | def __init__(self, *args, **kwargs): method init_offset (line 370) | def init_offset(self): method forward (line 374) | def forward(self, x): method _load_from_state_dict (line 380) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/focal_loss.py class SigmoidFocalLossFunction (line 15) | class SigmoidFocalLossFunction(Function): method symbolic (line 18) | def symbolic(g, input, target, gamma, alpha, weight, reduction): method forward (line 29) | def forward(ctx, method backward (line 66) | def backward(ctx, grad_output): class SigmoidFocalLoss (line 88) | class SigmoidFocalLoss(nn.Module): method __init__ (line 90) | def __init__(self, gamma, alpha, weight=None, reduction='mean'): method forward (line 97) | def forward(self, input, target): method __repr__ (line 101) | def __repr__(self): class SoftmaxFocalLossFunction (line 109) | class SoftmaxFocalLossFunction(Function): method symbolic (line 112) | def symbolic(g, input, target, gamma, alpha, weight, reduction): method forward (line 123) | def forward(ctx, method backward (line 171) | def backward(ctx, grad_output): class SoftmaxFocalLoss (line 194) | class SoftmaxFocalLoss(nn.Module): method __init__ (line 196) | def __init__(self, gamma, alpha, weight=None, reduction='mean'): method forward (line 203) | def forward(self, input, target): method __repr__ (line 207) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/iou3d.py function boxes_iou_bev (line 12) | def boxes_iou_bev(boxes_a, boxes_b): function nms_bev (line 31) | def nms_bev(boxes, scores, thresh, pre_max_size=None, post_max_size=None): function nms_normal_bev (line 67) | def nms_normal_bev(boxes, scores, thresh): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/iou3d_det/iou3d_utils.py function boxes_iou_bev (line 6) | def boxes_iou_bev(boxes_a, boxes_b): function nms_gpu (line 25) | def nms_gpu(boxes, scores, thresh, pre_maxsize=None, post_max_size=None): function nms_normal_gpu (line 53) | def nms_normal_gpu(boxes, scores, thresh): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/iou3d_det/src/iou3d.cpp function gpuAssert (line 30) | inline void gpuAssert(cudaError_t code, const char *file, int line, function boxes_overlap_bev_gpu (line 51) | int boxes_overlap_bev_gpu(at::Tensor boxes_a, at::Tensor boxes_b, function boxes_iou_bev_gpu (line 74) | int boxes_iou_bev_gpu(at::Tensor boxes_a, at::Tensor boxes_b, function nms_gpu (line 96) | int nms_gpu(at::Tensor boxes, at::Tensor keep, function nms_normal_gpu (line 150) | int nms_normal_gpu(at::Tensor boxes, at::Tensor keep, function PYBIND11_MODULE (line 204) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/masked_conv.py class MaskedConv2dFunction (line 16) | class MaskedConv2dFunction(Function): method symbolic (line 19) | def symbolic(g, features, mask, weight, bias, padding, stride): method forward (line 30) | def forward(ctx, features, mask, weight, bias, padding=0, stride=1): method backward (line 79) | def backward(ctx, grad_output): class MaskedConv2d (line 86) | class MaskedConv2d(nn.Conv2d): method __init__ (line 93) | def __init__(self, method forward (line 106) | def forward(self, input, mask=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/modulated_deform_conv.py class ModulatedDeformConv2dFunction (line 19) | class ModulatedDeformConv2dFunction(Function): method symbolic (line 22) | def symbolic(g, input, offset, mask, weight, bias, stride, padding, method forward (line 37) | def forward(ctx, method backward (line 97) | def backward(ctx, grad_output): method _output_size (line 137) | def _output_size(ctx, input, weight): class ModulatedDeformConv2d (line 156) | class ModulatedDeformConv2d(nn.Module): method __init__ (line 160) | def __init__(self, method init_weights (line 192) | def init_weights(self): method forward (line 201) | def forward(self, x, offset, mask): class ModulatedDeformConv2dPack (line 209) | class ModulatedDeformConv2dPack(ModulatedDeformConv2d): method __init__ (line 228) | def __init__(self, *args, **kwargs): method init_weights (line 240) | def init_weights(self): method forward (line 246) | def forward(self, x): method _load_from_state_dict (line 256) | def _load_from_state_dict(self, state_dict, prefix, local_metadata, st... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/multi_scale_deform_attn.py class MultiScaleDeformableAttnFunction (line 20) | class MultiScaleDeformableAttnFunction(Function): method forward (line 23) | def forward(ctx, value, value_spatial_shapes, value_level_start_index, method backward (line 61) | def backward(ctx, grad_output): function multi_scale_deformable_attn_pytorch (line 94) | def multi_scale_deformable_attn_pytorch(value, value_spatial_shapes, class MultiScaleDeformableAttention (line 155) | class MultiScaleDeformableAttention(BaseModule): method __init__ (line 182) | def __init__(self, method init_weights (line 230) | def init_weights(self): method forward (line 252) | def forward(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/nms.py class NMSop (line 14) | class NMSop(torch.autograd.Function): method forward (line 17) | def forward(ctx, bboxes, scores, iou_threshold, offset, score_threshold, method symbolic (line 36) | def symbolic(g, bboxes, scores, iou_threshold, offset, score_threshold, class SoftNMSop (line 82) | class SoftNMSop(torch.autograd.Function): method forward (line 85) | def forward(ctx, boxes, scores, iou_threshold, sigma, min_score, method, method symbolic (line 100) | def symbolic(g, boxes, scores, iou_threshold, sigma, min_score, method, function nms (line 118) | def nms(boxes, scores, iou_threshold, offset=0, score_threshold=0, max_n... function soft_nms (line 174) | def soft_nms(boxes, function batched_nms (line 242) | def batched_nms(boxes, scores, idxs, nms_cfg, class_agnostic=False): function nms_match (line 321) | def nms_match(dets, iou_threshold): function nms_rotated (line 356) | def nms_rotated(dets, scores, iou_threshold, labels=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/roi_align.py class RoIAlignFunction (line 14) | class RoIAlignFunction(Function): method symbolic (line 17) | def symbolic(g, input, rois, output_size, spatial_scale, sampling_ratio, method forward (line 64) | def forward(ctx, method backward (line 110) | def backward(ctx, grad_output): class RoIAlign (line 133) | class RoIAlign(nn.Module): method __init__ (line 176) | def __init__(self, method forward (line 192) | def forward(self, input, rois): method __repr__ (line 215) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/roiaware_pool3d/points_in_boxes.py function points_in_boxes_gpu (line 6) | def points_in_boxes_gpu(points, boxes): function points_in_boxes_cpu (line 53) | def points_in_boxes_cpu(points, boxes): function points_in_boxes_batch (line 85) | def points_in_boxes_batch(points, boxes): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/roiaware_pool3d/roiaware_pool3d.py class RoIAwarePool3d (line 9) | class RoIAwarePool3d(nn.Module): method __init__ (line 11) | def __init__(self, out_size, max_pts_per_voxel=128, mode='max'): method forward (line 26) | def forward(self, rois, pts, pts_feature): class RoIAwarePool3dFunction (line 44) | class RoIAwarePool3dFunction(Function): method forward (line 47) | def forward(ctx, rois, pts, pts_feature, out_size, max_pts_per_voxel, method backward (line 91) | def backward(ctx, grad_out): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/roiaware_pool3d/src/points_in_boxes_cpu.cpp function lidar_to_local_coords_cpu (line 16) | inline void lidar_to_local_coords_cpu(float shift_x, float shift_y, floa... function check_pt_in_box3d_cpu (line 25) | inline int check_pt_in_box3d_cpu(const float *pt, const float *box3d, function points_in_boxes_cpu (line 42) | int points_in_boxes_cpu(at::Tensor boxes_tensor, at::Tensor pts_tensor, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/roiaware_pool3d/src/roiaware_pool3d.cpp function roiaware_pool3d_gpu (line 49) | int roiaware_pool3d_gpu(at::Tensor rois, at::Tensor pts, at::Tensor pts_... function roiaware_pool3d_gpu_backward (line 92) | int roiaware_pool3d_gpu_backward(at::Tensor pts_idx_of_voxels, function PYBIND11_MODULE (line 126) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/ops/voxelize.py class _Voxelization (line 13) | class _Voxelization(Function): method forward (line 16) | def forward(ctx, class Voxelization (line 84) | class Voxelization(nn.Module): method __init__ (line 102) | def __init__(self, method forward (line 129) | def forward(self, input): method __repr__ (line 138) | def __repr__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/optims/adamw.py class AdamW2 (line 11) | class AdamW2(Optimizer): method __init__ (line 38) | def __init__(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8, method __setstate__ (line 54) | def __setstate__(self, state): method step (line 60) | def step(self, closure=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/optims/optimizer.py function build_optimizer (line 13) | def build_optimizer(model, cfg): function register_torch_optimizers (line 18) | def register_torch_optimizers(): class DefaultOptimizerConstructor (line 32) | class DefaultOptimizerConstructor: method __init__ (line 114) | def __init__(self, optimizer_cfg, paramwise_cfg=None): method _validate_cfg (line 124) | def _validate_cfg(self): method _is_in (line 147) | def _is_in(self, param_group, param_group_list): method add_params (line 156) | def add_params(self, params, module, prefix='', is_dcn_module=None): method __call__ (line 253) | def __call__(self, model): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/parallel/collate.py function collate (line 10) | def collate(batch, samples_per_gpu=1): function collate_dc (line 22) | def collate_dc(batch, samples_per_gpu=1): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/parallel/data_container.py function assert_tensor_type (line 6) | def assert_tensor_type(func): class DataContainer (line 19) | class DataContainer: method __init__ (line 36) | def __init__(self, method __repr__ (line 49) | def __repr__(self): method __len__ (line 52) | def __len__(self): method data (line 56) | def data(self): method datatype (line 60) | def datatype(self): method cpu_only (line 67) | def cpu_only(self): method stack (line 71) | def stack(self): method padding_value (line 75) | def padding_value(self): method pad_dims (line 79) | def pad_dims(self): method size (line 83) | def size(self, *args, **kwargs): method dim (line 87) | def dim(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/parallel/utils.py function is_module_wrapper (line 5) | def is_module_wrapper(module): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/base_runner.py class BaseRunner (line 17) | class BaseRunner(metaclass=ABCMeta): method __init__ (line 47) | def __init__(self, method model_name (line 129) | def model_name(self): method rank (line 134) | def rank(self): method world_size (line 139) | def world_size(self): method hooks (line 145) | def hooks(self): method epoch (line 150) | def epoch(self): method iter (line 155) | def iter(self): method inner_iter (line 160) | def inner_iter(self): method max_epochs (line 165) | def max_epochs(self): method max_iters (line 170) | def max_iters(self): method train (line 175) | def train(self): method val (line 179) | def val(self): method run (line 183) | def run(self, data_loaders, workflow, **kwargs): method save_checkpoint (line 187) | def save_checkpoint(self, method current_lr (line 195) | def current_lr(self): method current_momentum (line 214) | def current_momentum(self): method register_hook (line 245) | def register_hook(self, hook, priority='NORMAL'): method register_hook_from_cfg (line 273) | def register_hook_from_cfg(self, hook_cfg): method call_hook (line 289) | def call_hook(self, fn_name): method get_hook_info (line 299) | def get_hook_info(self): method load_checkpoint (line 322) | def load_checkpoint(self, method resume (line 335) | def resume(self, method register_lr_hook (line 389) | def register_lr_hook(self, lr_config): method register_momentum_hook (line 410) | def register_momentum_hook(self, momentum_config): method register_optimizer_hook (line 431) | def register_optimizer_hook(self, optimizer_config): method register_checkpoint_hook (line 441) | def register_checkpoint_hook(self, checkpoint_config): method register_logger_hooks (line 451) | def register_logger_hooks(self, log_config): method register_timer_hook (line 460) | def register_timer_hook(self, timer_config): method register_custom_hooks (line 470) | def register_custom_hooks(self, custom_config): method register_profiler_hook (line 483) | def register_profiler_hook(self, profiler_config): method register_training_hooks (line 493) | def register_training_hooks(self, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/builder.py function build_runner (line 7) | def build_runner(cfg, default_args=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/epoch_based_runner.py class EpochBasedRunner (line 20) | class EpochBasedRunner(BaseRunner): method run_iter (line 26) | def run_iter(self, data_batch, train_mode, **kwargs): method train (line 41) | def train(self, data_loader, **kwargs): method val (line 59) | def val(self, data_loader, **kwargs): method run (line 74) | def run(self, data_loaders, workflow, max_epochs=None, **kwargs): method save_checkpoint (line 134) | def save_checkpoint(self, class EpochBasedRunner_video (line 184) | class EpochBasedRunner_video(EpochBasedRunner): method __init__ (line 198) | def __init__(self, method run_iter (line 222) | def run_iter(self, data_batch, train_mode, **kwargs): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/checkpoint.py class CheckpointHook (line 11) | class CheckpointHook(Hook): method __init__ (line 51) | def __init__(self, method before_run (line 71) | def before_run(self, runner): method after_train_epoch (line 102) | def after_train_epoch(self, runner): method _save_checkpoint (line 119) | def _save_checkpoint(self, runner): method after_train_iter (line 153) | def after_train_iter(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/evaluation.py class EvalHook (line 16) | class EvalHook(Hook): method __init__ (line 85) | def __init__(self, method _init_rule (line 152) | def _init_rule(self, rule, key_indicator): method before_run (line 201) | def before_run(self, runner): method before_train_iter (line 227) | def before_train_iter(self, runner): method before_train_epoch (line 235) | def before_train_epoch(self, runner): method after_train_iter (line 243) | def after_train_iter(self, runner): method after_train_epoch (line 263) | def after_train_epoch(self, runner): method _do_evaluate (line 268) | def _do_evaluate(self, runner): method _should_evaluate (line 278) | def _should_evaluate(self, runner): method _save_ckpt (line 313) | def _save_ckpt(self, runner, key_score): method evaluate (line 353) | def evaluate(self, runner, results): class DistEvalHook (line 386) | class DistEvalHook(EvalHook): method __init__ (line 438) | def __init__(self, method _do_evaluate (line 476) | def _do_evaluate(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/hook.py class Hook (line 7) | class Hook: method before_run (line 13) | def before_run(self, runner): method after_run (line 16) | def after_run(self, runner): method before_epoch (line 19) | def before_epoch(self, runner): method after_epoch (line 22) | def after_epoch(self, runner): method before_iter (line 25) | def before_iter(self, runner): method after_iter (line 28) | def after_iter(self, runner): method before_train_epoch (line 31) | def before_train_epoch(self, runner): method before_val_epoch (line 34) | def before_val_epoch(self, runner): method after_train_epoch (line 37) | def after_train_epoch(self, runner): method after_val_epoch (line 40) | def after_val_epoch(self, runner): method before_train_iter (line 43) | def before_train_iter(self, runner): method before_val_iter (line 46) | def before_val_iter(self, runner): method after_train_iter (line 49) | def after_train_iter(self, runner): method after_val_iter (line 52) | def after_val_iter(self, runner): method every_n_epochs (line 55) | def every_n_epochs(self, runner, n): method every_n_inner_iters (line 58) | def every_n_inner_iters(self, runner, n): method every_n_iters (line 61) | def every_n_iters(self, runner, n): method end_of_epoch (line 64) | def end_of_epoch(self, runner): method is_last_epoch (line 67) | def is_last_epoch(self, runner): method is_last_iter (line 70) | def is_last_iter(self, runner): method get_triggered_stages (line 73) | def get_triggered_stages(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/iter_timer.py class IterTimerHook (line 8) | class IterTimerHook(Hook): method before_epoch (line 10) | def before_epoch(self, runner): method before_iter (line 13) | def before_iter(self, runner): method after_iter (line 16) | def after_iter(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/logger/base.py class LoggerHook (line 11) | class LoggerHook(Hook): method __init__ (line 24) | def __init__(self, method log (line 35) | def log(self, runner): method is_scalar (line 39) | def is_scalar(val, include_np=True, include_torch=True): method get_mode (line 59) | def get_mode(self, runner): method get_epoch (line 72) | def get_epoch(self, runner): method get_iter (line 84) | def get_iter(self, runner, inner_iter=False): method get_lr_tags (line 92) | def get_lr_tags(self, runner): method get_momentum_tags (line 102) | def get_momentum_tags(self, runner): method get_loggable_tags (line 112) | def get_loggable_tags(self, method before_run (line 133) | def before_run(self, runner): method before_epoch (line 139) | def before_epoch(self, runner): method after_train_iter (line 142) | def after_train_iter(self, runner): method after_train_epoch (line 156) | def after_train_epoch(self, runner): method after_val_epoch (line 162) | def after_val_epoch(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/logger/tensorboard.py class TensorboardLoggerHook (line 10) | class TensorboardLoggerHook(LoggerHook): method __init__ (line 12) | def __init__(self, method before_run (line 23) | def before_run(self, runner): method log (line 45) | def log(self, runner): method after_run (line 54) | def after_run(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/logger/text.py class TextLoggerHook (line 18) | class TextLoggerHook(LoggerHook): method __init__ (line 55) | def __init__(self, method before_run (line 89) | def before_run(self, runner): method _get_max_memory (line 109) | def _get_max_memory(self, runner): method _log_info (line 119) | def _log_info(self, log_dict, runner): method _dump_log (line 185) | def _dump_log(self, log_dict, runner): method _round_float (line 196) | def _round_float(self, items): method log (line 204) | def log(self, runner): method after_run (line 238) | def after_run(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/lr_updater.py class LrUpdaterHook (line 9) | class LrUpdaterHook(Hook): method __init__ (line 25) | def __init__(self, method _set_lr (line 58) | def _set_lr(self, runner, lr_groups): method get_lr (line 68) | def get_lr(self, runner, base_lr): method get_regular_lr (line 71) | def get_regular_lr(self, runner): method get_warmup_lr (line 85) | def get_warmup_lr(self, cur_iters): method before_run (line 107) | def before_run(self, runner): method before_train_epoch (line 126) | def before_train_epoch(self, runner): method before_train_iter (line 137) | def before_train_iter(self, runner): class FixedLrUpdaterHook (line 157) | class FixedLrUpdaterHook(LrUpdaterHook): method __init__ (line 159) | def __init__(self, **kwargs): method get_lr (line 162) | def get_lr(self, runner, base_lr): class StepLrUpdaterHook (line 167) | class StepLrUpdaterHook(LrUpdaterHook): method __init__ (line 180) | def __init__(self, step, gamma=0.1, min_lr=None, **kwargs): method get_lr (line 193) | def get_lr(self, runner, base_lr): class ExpLrUpdaterHook (line 214) | class ExpLrUpdaterHook(LrUpdaterHook): method __init__ (line 216) | def __init__(self, gamma, **kwargs): method get_lr (line 220) | def get_lr(self, runner, base_lr): class PolyLrUpdaterHook (line 226) | class PolyLrUpdaterHook(LrUpdaterHook): method __init__ (line 228) | def __init__(self, power=1., min_lr=0., **kwargs): method get_lr (line 233) | def get_lr(self, runner, base_lr): class InvLrUpdaterHook (line 245) | class InvLrUpdaterHook(LrUpdaterHook): method __init__ (line 247) | def __init__(self, gamma, power=1., **kwargs): method get_lr (line 252) | def get_lr(self, runner, base_lr): class CosineAnnealingLrUpdaterHook (line 258) | class CosineAnnealingLrUpdaterHook(LrUpdaterHook): method __init__ (line 260) | def __init__(self, min_lr=None, min_lr_ratio=None, **kwargs): method get_lr (line 266) | def get_lr(self, runner, base_lr): class FlatCosineAnnealingLrUpdaterHook (line 282) | class FlatCosineAnnealingLrUpdaterHook(LrUpdaterHook): method __init__ (line 298) | def __init__(self, method get_lr (line 314) | def get_lr(self, runner, base_lr): class CosineRestartLrUpdaterHook (line 336) | class CosineRestartLrUpdaterHook(LrUpdaterHook): method __init__ (line 349) | def __init__(self, method get_lr (line 368) | def get_lr(self, runner, base_lr): function get_position_from_periods (line 388) | def get_position_from_periods(iteration, cumulative_periods): class CyclicLrUpdaterHook (line 412) | class CyclicLrUpdaterHook(LrUpdaterHook): method __init__ (line 434) | def __init__(self, method before_run (line 472) | def before_run(self, runner): method get_lr (line 485) | def get_lr(self, runner, base_lr): class OneCycleLrUpdaterHook (line 498) | class OneCycleLrUpdaterHook(LrUpdaterHook): method __init__ (line 532) | def __init__(self, method before_run (line 575) | def before_run(self, runner): method get_lr (line 614) | def get_lr(self, runner, base_lr): function annealing_cos (line 627) | def annealing_cos(start, end, factor, weight=1): function annealing_linear (line 645) | def annealing_linear(start, end, factor): function format_param (line 659) | def format_param(name, optim, param): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/optimizer.py class OptimizerHook (line 21) | class OptimizerHook(Hook): method __init__ (line 23) | def __init__(self, grad_clip=None): method clip_grads (line 26) | def clip_grads(self, params): method after_train_iter (line 32) | def after_train_iter(self, runner): class GradientCumulativeOptimizerHook (line 45) | class GradientCumulativeOptimizerHook(OptimizerHook): method __init__ (line 63) | def __init__(self, cumulative_iters=1, **kwargs): method has_batch_norm (line 75) | def has_batch_norm(self, module): method _init (line 83) | def _init(self, runner): method after_train_iter (line 104) | def after_train_iter(self, runner): class Fp16OptimizerHook (line 132) | class Fp16OptimizerHook(OptimizerHook): method __init__ (line 160) | def __init__(self, method before_run (line 182) | def before_run(self, runner): method copy_grads_to_fp32 (line 191) | def copy_grads_to_fp32(self, fp16_net, fp32_weights): method copy_params_to_fp16 (line 201) | def copy_params_to_fp16(self, fp16_net, fp32_weights): method after_train_iter (line 207) | def after_train_iter(self, runner): method __init__ (line 316) | def __init__(self, method before_run (line 337) | def before_run(self, runner): method copy_grads_to_fp32 (line 365) | def copy_grads_to_fp32(self, fp16_net, fp32_weights): method copy_params_to_fp16 (line 375) | def copy_params_to_fp16(self, fp16_net, fp32_weights): method after_train_iter (line 381) | def after_train_iter(self, runner): class GradientCumulativeFp16OptimizerHook (line 240) | class GradientCumulativeFp16OptimizerHook(GradientCumulativeOptimizerHook, method __init__ (line 249) | def __init__(self, *args, **kwargs): method after_train_iter (line 253) | def after_train_iter(self, runner): method __init__ (line 442) | def __init__(self, *args, **kwargs): method after_train_iter (line 446) | def after_train_iter(self, runner): class Fp16OptimizerHook (line 295) | class Fp16OptimizerHook(OptimizerHook): method __init__ (line 160) | def __init__(self, method before_run (line 182) | def before_run(self, runner): method copy_grads_to_fp32 (line 191) | def copy_grads_to_fp32(self, fp16_net, fp32_weights): method copy_params_to_fp16 (line 201) | def copy_params_to_fp16(self, fp16_net, fp32_weights): method after_train_iter (line 207) | def after_train_iter(self, runner): method __init__ (line 316) | def __init__(self, method before_run (line 337) | def before_run(self, runner): method copy_grads_to_fp32 (line 365) | def copy_grads_to_fp32(self, fp16_net, fp32_weights): method copy_params_to_fp16 (line 375) | def copy_params_to_fp16(self, fp16_net, fp32_weights): method after_train_iter (line 381) | def after_train_iter(self, runner): class GradientCumulativeFp16OptimizerHook (line 437) | class GradientCumulativeFp16OptimizerHook(GradientCumulativeOptimizerHook, method __init__ (line 249) | def __init__(self, *args, **kwargs): method after_train_iter (line 253) | def after_train_iter(self, runner): method __init__ (line 442) | def __init__(self, *args, **kwargs): method after_train_iter (line 446) | def after_train_iter(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/sampler_seed.py class DistSamplerSeedHook (line 6) | class DistSamplerSeedHook(Hook): method before_epoch (line 14) | def before_epoch(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/runner/hooks/vad_hooks.py class CustomSetEpochInfoHook (line 8) | class CustomSetEpochInfoHook(Hook): method before_train_epoch (line 11) | def before_train_epoch(self, runner): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/structures/boxes.py class BoxMode (line 13) | class BoxMode(IntEnum): method convert (line 44) | def convert(box: _RawBoxType, from_mode: "BoxMode", to_mode: "BoxMode"... class Boxes (line 130) | class Boxes: method __init__ (line 142) | def __init__(self, tensor: torch.Tensor): method clone (line 159) | def clone(self) -> "Boxes": method to (line 168) | def to(self, device: torch.device): method area (line 172) | def area(self) -> torch.Tensor: method clip (line 183) | def clip(self, box_size: Tuple[int, int]) -> None: method nonempty (line 199) | def nonempty(self, threshold: float = 0.0) -> torch.Tensor: method __getitem__ (line 215) | def __getitem__(self, item) -> "Boxes": method __len__ (line 239) | def __len__(self) -> int: method __repr__ (line 242) | def __repr__(self) -> str: method inside_box (line 245) | def inside_box(self, box_size: Tuple[int, int], boundary_threshold: in... method get_centers (line 264) | def get_centers(self) -> torch.Tensor: method scale (line 271) | def scale(self, scale_x: float, scale_y: float) -> None: method cat (line 279) | def cat(cls, boxes_list: List["Boxes"]) -> "Boxes": method device (line 299) | def device(self) -> device: method __iter__ (line 305) | def __iter__(self): function pairwise_intersection (line 312) | def pairwise_intersection(boxes1: Boxes, boxes2: Boxes) -> torch.Tensor: function pairwise_iou (line 336) | def pairwise_iou(boxes1: Boxes, boxes2: Boxes) -> torch.Tensor: function pairwise_ioa (line 361) | def pairwise_ioa(boxes1: Boxes, boxes2: Boxes) -> torch.Tensor: function pairwise_point_box_distance (line 381) | def pairwise_point_box_distance(points: torch.Tensor, boxes: Boxes): function matched_pairwise_iou (line 400) | def matched_pairwise_iou(boxes1: Boxes, boxes2: Boxes) -> torch.Tensor: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/structures/image_list.py class ImageList (line 11) | class ImageList: method __init__ (line 23) | def __init__(self, tensor: torch.Tensor, image_sizes: List[Tuple[int, ... method __len__ (line 33) | def __len__(self) -> int: method __getitem__ (line 36) | def __getitem__(self, idx) -> torch.Tensor: method to (line 50) | def to(self, *args: Any, **kwargs: Any) -> "ImageList": method device (line 55) | def device(self) -> device: method from_tensors (line 59) | def from_tensors( FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/structures/instances.py class Instances (line 8) | class Instances: method __init__ (line 39) | def __init__(self, image_size: Tuple[int, int], **kwargs: Any): method image_size (line 51) | def image_size(self) -> Tuple[int, int]: method __setattr__ (line 58) | def __setattr__(self, name: str, val: Any) -> None: method __getattr__ (line 64) | def __getattr__(self, name: str) -> Any: method set (line 69) | def set(self, name: str, value: Any) -> None: method has (line 83) | def has(self, name: str) -> bool: method remove (line 90) | def remove(self, name: str) -> None: method get (line 96) | def get(self, name: str) -> Any: method get_fields (line 102) | def get_fields(self) -> Dict[str, Any]: method to (line 112) | def to(self, *args: Any, **kwargs: Any) -> "Instances": method __getitem__ (line 124) | def __getitem__(self, item: Union[int, slice, torch.BoolTensor]) -> "I... method __len__ (line 144) | def __len__(self) -> int: method __iter__ (line 150) | def __iter__(self): method cat (line 154) | def cat(instance_lists: List["Instances"]) -> "Instances": method __str__ (line 186) | def __str__(self) -> str: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/structures/keypoints.py class Keypoints (line 8) | class Keypoints: method __init__ (line 21) | def __init__(self, keypoints: Union[torch.Tensor, np.ndarray, List[Lis... method __len__ (line 33) | def __len__(self) -> int: method to (line 36) | def to(self, *args: Any, **kwargs: Any) -> "Keypoints": method device (line 40) | def device(self) -> torch.device: method to_heatmap (line 43) | def to_heatmap(self, boxes: torch.Tensor, heatmap_size: int) -> torch.... method __getitem__ (line 60) | def __getitem__(self, item: Union[int, slice, torch.BoolTensor]) -> "K... method __repr__ (line 78) | def __repr__(self) -> str: method cat (line 84) | def cat(keypoints_list: List["Keypoints"]) -> "Keypoints": function _keypoints_to_heatmap (line 105) | def _keypoints_to_heatmap( function heatmaps_to_keypoints (line 165) | def heatmaps_to_keypoints(maps: torch.Tensor, rois: torch.Tensor) -> tor... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/structures/masks.py function polygon_area (line 16) | def polygon_area(x, y): function polygons_to_bitmask (line 22) | def polygons_to_bitmask(polygons: List[np.ndarray], height: int, width: ... function rasterize_polygons_within_box (line 39) | def rasterize_polygons_within_box( class BitMasks (line 88) | class BitMasks: method __init__ (line 97) | def __init__(self, tensor: Union[torch.Tensor, np.ndarray]): method to (line 111) | def to(self, *args: Any, **kwargs: Any) -> "BitMasks": method device (line 115) | def device(self) -> torch.device: method __getitem__ (line 119) | def __getitem__(self, item: Union[int, slice, torch.BoolTensor]) -> "B... method __iter__ (line 143) | def __iter__(self) -> torch.Tensor: method __repr__ (line 147) | def __repr__(self) -> str: method __len__ (line 152) | def __len__(self) -> int: method nonempty (line 155) | def nonempty(self) -> torch.Tensor: method from_polygon_masks (line 166) | def from_polygon_masks( method from_roi_masks (line 183) | def from_roi_masks(roi_masks: "ROIMasks", height: int, width: int) -> ... method crop_and_resize (line 191) | def crop_and_resize(self, boxes: torch.Tensor, mask_size: int) -> torc... method get_bounding_boxes (line 224) | def get_bounding_boxes(self) -> Boxes: method cat (line 243) | def cat(bitmasks_list: List["BitMasks"]) -> "BitMasks": class PolygonMasks (line 261) | class PolygonMasks: method __init__ (line 269) | def __init__(self, polygons: List[List[Union[torch.Tensor, np.ndarray]... method to (line 313) | def to(self, *args: Any, **kwargs: Any) -> "PolygonMasks": method device (line 317) | def device(self) -> torch.device: method get_bounding_boxes (line 320) | def get_bounding_boxes(self) -> Boxes: method nonempty (line 337) | def nonempty(self) -> torch.Tensor: method __getitem__ (line 348) | def __getitem__(self, item: Union[int, slice, List[int], torch.BoolTen... method __iter__ (line 378) | def __iter__(self) -> Iterator[List[np.ndarray]]: method __repr__ (line 386) | def __repr__(self) -> str: method __len__ (line 391) | def __len__(self) -> int: method crop_and_resize (line 394) | def crop_and_resize(self, boxes: torch.Tensor, mask_size: int) -> torc... method area (line 426) | def area(self): method cat (line 446) | def cat(polymasks_list: List["PolygonMasks"]) -> "PolygonMasks": class ROIMasks (line 466) | class ROIMasks: method __init__ (line 473) | def __init__(self, tensor: torch.Tensor): method to (line 482) | def to(self, device: torch.device) -> "ROIMasks": method device (line 486) | def device(self) -> device: method __len__ (line 489) | def __len__(self): method __getitem__ (line 492) | def __getitem__(self, item) -> "ROIMasks": method __repr__ (line 514) | def __repr__(self) -> str: method to_bitmasks (line 520) | def to_bitmasks(self, boxes: torch.Tensor, height, width, threshold=0.5): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/structures/rotated_boxes.py class RotatedBoxes (line 11) | class RotatedBoxes(Boxes): method __init__ (line 20) | def __init__(self, tensor: torch.Tensor): method clone (line 223) | def clone(self) -> "RotatedBoxes": method to (line 232) | def to(self, device: torch.device): method area (line 236) | def area(self) -> torch.Tensor: method normalize_angles (line 248) | def normalize_angles(self) -> None: method clip (line 255) | def clip(self, box_size: Tuple[int, int], clip_angle_threshold: float ... method nonempty (line 305) | def nonempty(self, threshold: float = 0.0) -> torch.Tensor: method __getitem__ (line 320) | def __getitem__(self, item) -> "RotatedBoxes": method __len__ (line 343) | def __len__(self) -> int: method __repr__ (line 346) | def __repr__(self) -> str: method inside_box (line 349) | def inside_box(self, box_size: Tuple[int, int], boundary_threshold: in... method get_centers (line 386) | def get_centers(self) -> torch.Tensor: method scale (line 393) | def scale(self, scale_x: float, scale_y: float) -> None: method cat (line 459) | def cat(cls, boxes_list: List["RotatedBoxes"]) -> "RotatedBoxes": method device (line 479) | def device(self) -> torch.device: method __iter__ (line 483) | def __iter__(self): function pairwise_iou (line 490) | def pairwise_iou(boxes1: RotatedBoxes, boxes2: RotatedBoxes) -> None: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/bricks.py function run_time (line 7) | def run_time(name): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/checkpoint.py function load_checkpoint (line 17) | def load_checkpoint(model, function weights_to_cpu (line 90) | def weights_to_cpu(state_dict): function save_checkpoint (line 106) | def save_checkpoint(model, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/collect_env.py function collect_env (line 4) | def collect_env(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/config.py class ConfigDict (line 34) | class ConfigDict(Dict): method __missing__ (line 36) | def __missing__(self, name): method __getattr__ (line 39) | def __getattr__(self, name): function add_args (line 52) | def add_args(parser, cfg, prefix=''): class Config (line 71) | class Config: method _validate_py_syntax (line 97) | def _validate_py_syntax(filename): method _substitute_predefined_vars (line 108) | def _substitute_predefined_vars(filename, temp_config_name): method _pre_substitute_base_vars (line 129) | def _pre_substitute_base_vars(filename, temp_config_name): method _substitute_base_vars (line 148) | def _substitute_base_vars(cfg, base_var_dict, base_cfg): method _file2dict (line 180) | def _file2dict(filename, use_predefined_variables=True): method _merge_a_into_b (line 274) | def _merge_a_into_b(a, b, allow_list_keys=False): method fromfile (line 328) | def fromfile(filename, method fromstring (line 338) | def fromstring(cfg_str, file_format): method auto_argparser (line 366) | def auto_argparser(description=None): method __init__ (line 377) | def __init__(self, cfg_dict=None, cfg_text=None, filename=None): method filename (line 399) | def filename(self): method text (line 403) | def text(self): method pretty_text (line 407) | def pretty_text(self): method __repr__ (line 500) | def __repr__(self): method __len__ (line 503) | def __len__(self): method __getattr__ (line 506) | def __getattr__(self, name): method __getitem__ (line 509) | def __getitem__(self, name): method __setattr__ (line 512) | def __setattr__(self, name, value): method __setitem__ (line 517) | def __setitem__(self, name, value): method __iter__ (line 522) | def __iter__(self): method __getstate__ (line 525) | def __getstate__(self): method __setstate__ (line 528) | def __setstate__(self, state): method dump (line 534) | def dump(self, file=None): method merge_from_dict (line 549) | def merge_from_dict(self, options, allow_list_keys=True): class DictAction (line 596) | class DictAction(Action): method _parse_int_float_bool (line 606) | def _parse_int_float_bool(val): method _parse_iterable (line 620) | def _parse_iterable(val): method __call__ (line 682) | def __call__(self, parser, namespace, values, option_string=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/contextmanagers.py function completed (line 16) | async def completed(trace_name='', function concurrent (line 91) | async def concurrent(streamqueue: asyncio.Queue, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/ext_loader.py function load_ext (line 10) | def load_ext(name, funcs): function check_ops_exist (line 16) | def check_ops_exist(): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/fp16_utils.py function cast_tensor_type (line 24) | def cast_tensor_type(inputs, src_type, dst_type): function auto_fp16 (line 55) | def auto_fp16(apply_to=None, out_fp32=False): function force_fp32 (line 140) | def force_fp32(apply_to=None, out_fp16=False): function allreduce_grads (line 225) | def allreduce_grads(params, coalesce=True, bucket_size_mb=-1): function wrap_fp16_model (line 232) | def wrap_fp16_model(model): function patch_norm_fp32 (line 260) | def patch_norm_fp32(module): function patch_forward_method (line 280) | def patch_forward_method(func, src_type, dst_type, convert_output=True): class LossScaler (line 303) | class LossScaler: method __init__ (line 332) | def __init__(self, method has_overflow (line 346) | def has_overflow(self, params): method _has_inf_or_nan (line 355) | def _has_inf_or_nan(x): method update_scale (line 369) | def update_scale(self, overflow): method state_dict (line 382) | def state_dict(self): method load_state_dict (line 392) | def load_state_dict(self, state_dict): method loss_scale (line 406) | def loss_scale(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/grid_mask.py class Grid (line 7) | class Grid(object): method __init__ (line 8) | def __init__(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5... method set_prob (line 18) | def set_prob(self, epoch, max_epoch): method __call__ (line 21) | def __call__(self, img, label): class GridMask (line 70) | class GridMask(nn.Module): method __init__ (line 71) | def __init__(self, use_h, use_w, rotate = 1, offset=False, ratio = 0.5... method set_prob (line 82) | def set_prob(self, epoch, max_epoch): method forward (line 85) | def forward(self, x): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/hub.py function _is_legacy_zip_format (line 25) | def _is_legacy_zip_format(filename): function _legacy_zip_load (line 31) | def _legacy_zip_load(filename, model_dir, map_location): function load_url (line 50) | def load_url(url, FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/log_buffer.py class LogBuffer (line 7) | class LogBuffer: method __init__ (line 9) | def __init__(self): method clear (line 15) | def clear(self): method clear_output (line 20) | def clear_output(self): method update (line 24) | def update(self, vars, count=1): method average (line 33) | def average(self, n=0): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/logger.py function get_root_logger (line 5) | def get_root_logger(log_file=None, log_level=logging.INFO, name = __vers... FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/logging.py function get_logger (line 9) | def get_logger(name, log_file=None, log_level=logging.INFO, file_mode='w'): function print_log (line 85) | def print_log(msg, logger=None, level=logging.INFO): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/memory.py function _ignore_torch_cuda_oom (line 12) | def _ignore_torch_cuda_oom(): function retry_if_cuda_oom (line 26) | def retry_if_cuda_oom(func): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/misc.py function _ntuple (line 14) | def _ntuple(n): function is_str (line 31) | def is_str(x): function import_modules_from_strings (line 39) | def import_modules_from_strings(imports, allow_failed_imports=False): function iter_cast (line 87) | def iter_cast(inputs, dst_type, return_type=None): function list_cast (line 112) | def list_cast(inputs, dst_type): function tuple_cast (line 120) | def tuple_cast(inputs, dst_type): function is_seq_of (line 128) | def is_seq_of(seq, expected_type, seq_type=None): function is_list_of (line 152) | def is_list_of(seq, expected_type): function is_tuple_of (line 160) | def is_tuple_of(seq, expected_type): function slice_list (line 168) | def slice_list(in_list, lens): function concat_list (line 194) | def concat_list(in_list): function check_prerequisites (line 206) | def check_prerequisites( function _check_py_package (line 244) | def _check_py_package(package): function _check_executable (line 253) | def _check_executable(cmd): function requires_package (line 260) | def requires_package(prerequisites): function requires_executable (line 276) | def requires_executable(prerequisites): function deprecated_api_warning (line 288) | def deprecated_api_warning(name_dict, cls_name=None): function is_method_overridden (line 348) | def is_method_overridden(method, base_class, derived_class): function has_method (line 367) | def has_method(obj: object, method: str) -> bool: FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/path.py function is_filepath (line 9) | def is_filepath(x): function fopen (line 13) | def fopen(filepath, *args, **kwargs): function check_file_exist (line 21) | def check_file_exist(filename, msg_tmpl='file "{}" does not exist'): function mkdir_or_exist (line 26) | def mkdir_or_exist(dir_name, mode=0o777): function symlink (line 33) | def symlink(src, dst, overwrite=True, **kwargs): function scandir (line 39) | def scandir(dir_path, suffix=None, recursive=False, case_sensitive=True): function find_vcs_root (line 83) | def find_vcs_root(path, markers=('.git', )): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/position_embedding.py class RelPositionEmbedding (line 5) | class RelPositionEmbedding(nn.Module): method __init__ (line 6) | def __init__(self, num_pos_feats=64, pos_norm=True): method forward (line 15) | def forward(self, tensor): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/priority.py class Priority (line 5) | class Priority(Enum): function get_priority (line 42) | def get_priority(priority): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/progressbar.py class ProgressBar (line 10) | class ProgressBar: method __init__ (line 13) | def __init__(self, task_num=0, bar_width=50, start=True, file=sys.stdo... method terminal_width (line 22) | def terminal_width(self): method start (line 26) | def start(self): method update (line 35) | def update(self, num_tasks=1): function track_progress (line 64) | def track_progress(func, tasks, bar_width=50, file=sys.stdout, **kwargs): function init_pool (line 98) | def init_pool(process_num, initializer=None, initargs=None): function track_parallel_progress (line 109) | def track_parallel_progress(func, function track_iter_progress (line 179) | def track_iter_progress(tasks, bar_width=50, file=sys.stdout): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/registry.py function build_from_cfg (line 9) | def build_from_cfg(cfg, registry, default_args=None): class Registry (line 58) | class Registry: method __init__ (line 88) | def __init__(self, name, build_func=None, parent=None, scope=None): method __len__ (line 112) | def __len__(self): method __contains__ (line 115) | def __contains__(self, key): method __repr__ (line 118) | def __repr__(self): method infer_scope (line 125) | def infer_scope(): method split_scope_key (line 149) | def split_scope_key(key): method name (line 171) | def name(self): method scope (line 175) | def scope(self): method module_dict (line 179) | def module_dict(self): method children (line 183) | def children(self): method get (line 186) | def get(self, key): method build (line 211) | def build(self, *args, **kwargs): method _add_children (line 214) | def _add_children(self, registry): method _register_module (line 235) | def _register_module(self, module_class, module_name=None, force=False): method deprecated_register_module (line 250) | def deprecated_register_module(self, cls=None, force=False): method register_module (line 260) | def register_module(self, name=None, force=False, module=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/runner_utils.py function get_host_info (line 24) | def get_host_info(): function get_time_str (line 39) | def get_time_str(): function obj_from_dict (line 43) | def obj_from_dict(info, parent=None, default_args=None): function set_random_seed (line 78) | def set_random_seed(seed, deterministic=False, use_rank_shift=False): function init_dist (line 104) | def init_dist(launcher, backend='nccl', **kwargs): function _init_dist_pytorch (line 117) | def _init_dist_pytorch(backend, **kwargs): function _init_dist_mpi (line 125) | def _init_dist_mpi(backend, **kwargs): function _init_dist_slurm (line 133) | def _init_dist_slurm(backend, port=None): function get_dist_info (line 168) | def get_dist_info(): function master_only (line 178) | def master_only(func): function allreduce_params (line 189) | def allreduce_params(params, coalesce=True, bucket_size_mb=-1): function allreduce_grads (line 211) | def allreduce_grads(params, coalesce=True, bucket_size_mb=-1): function _allreduce_coalesced (line 235) | def _allreduce_coalesced(tensors, world_size, bucket_size_mb=-1): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/timer.py class TimerError (line 5) | class TimerError(Exception): method __init__ (line 7) | def __init__(self, message): class Timer (line 12) | class Timer: method __init__ (line 38) | def __init__(self, start=True, print_tmpl=None): method is_running (line 45) | def is_running(self): method __enter__ (line 49) | def __enter__(self): method __exit__ (line 53) | def __exit__(self, type, value, traceback): method start (line 57) | def start(self): method since_start (line 64) | def since_start(self): method since_last_check (line 74) | def since_last_check(self): function check_time (line 92) | def check_time(timer_id): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/util_mixins.py class NiceRepr (line 41) | class NiceRepr: method __nice__ (line 75) | def __nice__(self): method __repr__ (line 86) | def __repr__(self): method __str__ (line 96) | def __str__(self): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/version_utils.py function digit_version (line 8) | def digit_version(version_str: str, length: int = 4): function _minimal_ext_cmd (line 48) | def _minimal_ext_cmd(cmd): function get_git_hash (line 64) | def get_git_hash(fallback='unknown', digits=None): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/mmcv/utils/visual.py function convert_color (line 8) | def convert_color(img_path): function save_tensor (line 15) | def save_tensor(tensor, path, pad_value=254.0,): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/team_code/pid_controller.py class PID (line 4) | class PID(object): method __init__ (line 5) | def __init__(self, K_P=1.0, K_I=0.0, K_D=0.0, n=20): method step (line 14) | def step(self, error): class PIDController (line 30) | class PIDController(object): method __init__ (line 32) | def __init__(self, turn_KP=0.75, turn_KI=0.75, turn_KD=0.3, turn_n=40,... method control_pid (line 44) | def control_pid(self, waypoints, speed, target): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/team_code/planner.py class Plotter (line 12) | class Plotter(object): method __init__ (line 13) | def __init__(self, size): method clear (line 18) | def clear(self): method dot (line 24) | def dot(self, pos, node, color=(255, 255, 255), r=2): method show (line 31) | def show(self): class RoutePlanner (line 41) | class RoutePlanner(object): method __init__ (line 42) | def __init__(self, min_distance, max_distance, debug_size=256, lat_ref... method set_route (line 57) | def set_route(self, global_plan, gps=False, global_plan_world = None): method run_step (line 83) | def run_step(self, gps): method gps_to_location (line 120) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/team_code/sparsedrive_b2d_agent.py function get_entry_point (line 47) | def get_entry_point(): class Clock (line 50) | class Clock(): method __init__ (line 51) | def __init__(self): method count (line 55) | def count(self, tag): class SparseDriveAgent (line 64) | class SparseDriveAgent(autonomous_agent.AutonomousAgent): method setup (line 65) | def setup(self, path_to_conf_file, gpu_rank, save_name): method _init (line 240) | def _init(self): method sensors (line 261) | def sensors(self): method tick (line 356) | def tick(self, input_data): method run_step (line 396) | def run_step(self, input_data, timestamp): method save (line 534) | def save(self, tick_data): method destroy (line 578) | def destroy(self): method gps_to_location (line 582) | def gps_to_location(self, gps): method get_augmentation (line 593) | def get_augmentation(self): method invert_pose (line 619) | def invert_pose(self, pose): function draw (line 625) | def draw(input, step, cfg): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/team_code/uniad_b2d_agent.py function get_entry_point (line 30) | def get_entry_point(): class UniadAgent (line 33) | class UniadAgent(autonomous_agent.AutonomousAgent): method setup (line 34) | def setup(self, path_to_conf_file): method _init (line 169) | def _init(self): method sensors (line 191) | def sensors(self): method tick (line 272) | def tick(self, input_data): method run_step (line 311) | def run_step(self, input_data, timestamp): method save (line 402) | def save(self, tick_data): method destroy (line 420) | def destroy(self): method gps_to_location (line 424) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/team_code/vad_b2d_agent.py function get_entry_point (line 33) | def get_entry_point(): class VadAgent (line 37) | class VadAgent(autonomous_agent.AutonomousAgent): method setup (line 38) | def setup(self, path_to_conf_file): method _init (line 173) | def _init(self): method sensors (line 196) | def sensors(self): method tick (line 275) | def tick(self, input_data): method run_step (line 315) | def run_step(self, input_data, timestamp): method save (line 437) | def save(self, tick_data): method destroy (line 457) | def destroy(self): method gps_to_location (line 461) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/Bench2DriveZoo/team_code/vad_b2d_agent_visualize.py function float_to_uint8_color (line 35) | def float_to_uint8_color(float_clr): function get_entry_point (line 54) | def get_entry_point(): class VadAgent (line 58) | class VadAgent(autonomous_agent.AutonomousAgent): method setup (line 59) | def setup(self, path_to_conf_file): method _init (line 201) | def _init(self): method sensors (line 223) | def sensors(self): method tick (line 302) | def tick(self, input_data): method run_step (line 342) | def run_step(self, input_data, timestamp): method save (line 453) | def save(self, tick_data,ego_traj,result=None): method draw_traj (line 468) | def draw_traj(self, traj, raw_img,canvas_size=(900,1600),thickness=3,i... method draw_traj_bev (line 501) | def draw_traj_bev(self, traj, raw_img,canvas_size=(512,512),thickness=... method draw_lidar_bbox3d_on_img (line 534) | def draw_lidar_bbox3d_on_img(self,bboxes3d,raw_img,lidar2img_rt,canvas... method plot_rect3d_on_img (line 592) | def plot_rect3d_on_img(self,img,num_rects,rect_corners,scores=None,lab... method destroy (line 616) | def destroy(self): method gps_to_location (line 620) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/bootstrap/js/bootstrap.bundle.js function _defineProperties (line 14) | function _defineProperties(target, props) { function _createClass (line 24) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 30) | function _defineProperty(obj, key, value) { function _objectSpread (line 45) | function _objectSpread(target) { function _inheritsLoose (line 64) | function _inheritsLoose(subClass, superClass) { function toType (line 86) | function toType(obj) { function getSpecialTransitionEndEvent (line 90) | function getSpecialTransitionEndEvent() { function transitionEndEmulator (line 104) | function transitionEndEmulator(duration) { function setTransitionEndSupport (line 119) | function setTransitionEndSupport() { function Alert (line 260) | function Alert(element) { function Button (line 428) | function Button(element) { function Carousel (line 635) | function Carousel(element, config) { function Collapse (line 1195) | function Collapse(element, config) { function microtaskDebounce (line 1539) | function microtaskDebounce(fn) { function taskDebounce (line 1553) | function taskDebounce(fn) { function isFunction (line 1586) | function isFunction(functionToCheck) { function getStyleComputedProperty (line 1598) | function getStyleComputedProperty(element, property) { function getParentNode (line 1615) | function getParentNode(element) { function getScrollParent (line 1629) | function getScrollParent(element) { function isIE (line 1667) | function isIE(version) { function getOffsetParent (line 1684) | function getOffsetParent(element) { function isOffsetContainer (line 1713) | function isOffsetContainer(element) { function getRoot (line 1729) | function getRoot(node) { function findCommonOffsetParent (line 1745) | function findCommonOffsetParent(element1, element2) { function getScroll (line 1789) | function getScroll(element) { function includeScroll (line 1813) | function includeScroll(rect, element) { function getBordersSize (line 1836) | function getBordersSize(styles, axis) { function getSize (line 1843) | function getSize(axis, body, html, computedStyle) { function getWindowSizes (line 1847) | function getWindowSizes(document) { function defineProperties (line 1865) | function defineProperties(target, props) { function getClientRect (line 1922) | function getClientRect(offsets) { function getBoundingClientRect (line 1936) | function getBoundingClientRect(element) { function getOffsetRectRelativeToArbitraryNode (line 1985) | function getOffsetRectRelativeToArbitraryNode(children, parent) { function getViewportOffsetRectRelativeToArtbitraryNode (line 2037) | function getViewportOffsetRectRelativeToArtbitraryNode(element) { function isFixed (line 2066) | function isFixed(element) { function getFixedPositionOffsetParent (line 2089) | function getFixedPositionOffsetParent(element) { function getBoundaries (line 2112) | function getBoundaries(popper, reference, padding, boundariesElement) { function getArea (line 2166) | function getArea(_ref) { function computeAutoPlacement (line 2182) | function computeAutoPlacement(placement, refRect, popper, reference, bou... function getReferenceOffsets (line 2243) | function getReferenceOffsets(state, popper, reference) { function getOuterSizes (line 2257) | function getOuterSizes(element) { function getOppositePlacement (line 2276) | function getOppositePlacement(placement) { function getPopperOffsets (line 2293) | function getPopperOffsets(popper, referenceOffsets, placement) { function find (line 2331) | function find(arr, check) { function findIndex (line 2350) | function findIndex(arr, prop, value) { function runModifiers (line 2375) | function runModifiers(modifiers, data, ends) { function update (line 2405) | function update() { function isModifierEnabled (line 2457) | function isModifierEnabled(modifiers, modifierName) { function getSupportedPropertyName (line 2472) | function getSupportedPropertyName(property) { function destroy (line 2491) | function destroy() { function getWindow (line 2521) | function getWindow(element) { function attachToScrollParents (line 2526) | function attachToScrollParents(scrollParent, event, callback, scrollPare... function setupEventListeners (line 2543) | function setupEventListeners(reference, options, state, updateBound) { function enableEventListeners (line 2563) | function enableEventListeners() { function removeEventListeners (line 2575) | function removeEventListeners(reference, state) { function disableEventListeners (line 2599) | function disableEventListeners() { function isNumeric (line 2613) | function isNumeric(n) { function setStyles (line 2625) | function setStyles(element, styles) { function setAttributes (line 2644) | function setAttributes(element, attributes) { function applyStyle (line 2664) | function applyStyle(data) { function applyStyleOnLoad (line 2693) | function applyStyleOnLoad(reference, popper, options, modifierOptions, s... function getRoundedOffsets (line 2730) | function getRoundedOffsets(data, shouldRound) { function computeStyle (line 2769) | function computeStyle(data, options) { function isModifierRequired (line 2870) | function isModifierRequired(modifiers, requestingName, requestedName) { function arrow (line 2895) | function arrow(data, options) { function getOppositeVariation (line 2977) | function getOppositeVariation(variation) { function clockwise (line 3032) | function clockwise(placement) { function flip (line 3053) | function flip(data, options) { function keepTogether (line 3143) | function keepTogether(data) { function toValue (line 3177) | function toValue(str, measurement, popperOffsets, referenceOffsets) { function parseOffset (line 3229) | function parseOffset(offset, popperOffsets, referenceOffsets, basePlacem... function offset (line 3305) | function offset(data, _ref) { function preventOverflow (line 3346) | function preventOverflow(data, options) { function shift (line 3417) | function shift(data) { function hide (line 3450) | function hide(data) { function inner (line 3488) | function inner(data) { function Popper (line 3939) | function Popper(reference, popper) { function Dropdown (line 4169) | function Dropdown(element, config) { function Modal (line 4674) | function Modal(element, config) { function allowedAttribute (line 5247) | function allowedAttribute(attr, allowedAttributeList) { function sanitizeHtml (line 5271) | function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) { function Tooltip (line 5408) | function Tooltip(element, config) { function Popover (line 6086) | function Popover() { function ScrollSpy (line 6273) | function ScrollSpy(element, config) { function Tab (line 6568) | function Tab(element) { function Toast (line 6805) | function Toast(element, config) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/bootstrap/js/bootstrap.js function _defineProperties (line 15) | function _defineProperties(target, props) { function _createClass (line 25) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 31) | function _defineProperty(obj, key, value) { function _objectSpread (line 46) | function _objectSpread(target) { function _inheritsLoose (line 65) | function _inheritsLoose(subClass, superClass) { function toType (line 87) | function toType(obj) { function getSpecialTransitionEndEvent (line 91) | function getSpecialTransitionEndEvent() { function transitionEndEmulator (line 105) | function transitionEndEmulator(duration) { function setTransitionEndSupport (line 120) | function setTransitionEndSupport() { function Alert (line 261) | function Alert(element) { function Button (line 429) | function Button(element) { function Carousel (line 636) | function Carousel(element, config) { function Collapse (line 1196) | function Collapse(element, config) { function Dropdown (line 1591) | function Dropdown(element, config) { function Modal (line 2096) | function Modal(element, config) { function allowedAttribute (line 2669) | function allowedAttribute(attr, allowedAttributeList) { function sanitizeHtml (line 2693) | function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) { function Tooltip (line 2830) | function Tooltip(element, config) { function Popover (line 3508) | function Popover() { function ScrollSpy (line 3695) | function ScrollSpy(element, config) { function Tab (line 3990) | function Tab(element) { function Toast (line 4227) | function Toast(element, config) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/all.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { function bunker (line 588) | function bunker(fn) { function _defineProperty (line 598) | function _defineProperty(obj, key, value) { function _objectSpread (line 613) | function _objectSpread(target) { function defineIcons (line 639) | function defineIcons(prefix, icons) { function bunker (line 864) | function bunker(fn) { function _defineProperty (line 874) | function _defineProperty(obj, key, value) { function _objectSpread (line 889) | function _objectSpread(target) { function defineIcons (line 915) | function defineIcons(prefix, icons) { function _typeof (line 1918) | function _typeof(obj) { function _classCallCheck (line 1932) | function _classCallCheck(instance, Constructor) { function _defineProperties (line 1938) | function _defineProperties(target, props) { function _createClass (line 1948) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 1954) | function _defineProperty(obj, key, value) { function _objectSpread (line 1969) | function _objectSpread(target) { function _slicedToArray (line 1988) | function _slicedToArray(arr, i) { function _toConsumableArray (line 1992) | function _toConsumableArray(arr) { function _arrayWithoutHoles (line 1996) | function _arrayWithoutHoles(arr) { function _arrayWithHoles (line 2004) | function _arrayWithHoles(arr) { function _iterableToArray (line 2008) | function _iterableToArray(iter) { function _iterableToArrayLimit (line 2012) | function _iterableToArrayLimit(arr, i) { function _nonIterableSpread (line 2038) | function _nonIterableSpread() { function _nonIterableRest (line 2042) | function _nonIterableRest() { function getAttrConfig (line 2134) | function getAttrConfig(attr) { function coerce (line 2142) | function coerce(val) { function domready (line 2213) | function domready (fn) { function asyncFlush (line 2230) | function asyncFlush() { function asyncCall (line 2241) | function asyncCall(callback, arg) { function invokeResolver (line 2250) | function invokeResolver(resolver, promise) { function invokeCallback (line 2266) | function invokeCallback(subscriber) { function handleThenable (line 2294) | function handleThenable(promise, value) { function resolve (line 2337) | function resolve(promise, value) { function fulfill (line 2343) | function fulfill(promise, value) { function reject (line 2351) | function reject(promise, reason) { function publish (line 2359) | function publish(promise) { function publishFulfillment (line 2363) | function publishFulfillment(promise) { function publishRejection (line 2368) | function publishRejection(promise) { function notifyRejectionHandled (line 2377) | function notifyRejectionHandled(promise) { function P (line 2385) | function P(resolver) { function resolver (line 2444) | function resolver(index) { function isReserved (line 2517) | function isReserved(name) { function bunker (line 2521) | function bunker(fn) { function insertCss (line 2530) | function insertCss(css) { function nextUniqueId (line 2554) | function nextUniqueId() { function toArray (line 2564) | function toArray(obj) { function classArray (line 2573) | function classArray(node) { function getIconName (line 2582) | function getIconName(familyPrefix, cls) { function htmlEscape (line 2593) | function htmlEscape(str) { function joinAttributes (line 2596) | function joinAttributes(attributes) { function joinStyles (line 2601) | function joinStyles(styles) { function transformIsMeaningful (line 2606) | function transformIsMeaningful(transform) { function transformForSvg (line 2609) | function transformForSvg(_ref) { function transformForCss (line 2631) | function transformForCss(_ref2) { function fillBlack (line 2661) | function fillBlack(abstract) { function deGroup (line 2671) | function deGroup(abstract) { function makeIconMasking (line 2679) | function makeIconMasking (_ref) { function makeIconStandard (line 2751) | function makeIconStandard (_ref) { function asIcon (line 2792) | function asIcon (_ref) { function asSymbol (line 2819) | function asSymbol (_ref) { function makeInlineSvgAbstract (line 2841) | function makeInlineSvgAbstract(params) { function makeLayersTextAbstract (line 2909) | function makeLayersTextAbstract(params) { function makeLayersCounterAbstract (line 2966) | function makeLayersCounterAbstract(params) { function toHex (line 3076) | function toHex(unicode) { function defineIcons (line 3087) | function defineIcons(prefix, icons) { function byUnicode (line 3168) | function byUnicode(prefix, unicode) { function byLigature (line 3171) | function byLigature(prefix, ligature) { function byOldName (line 3174) | function byOldName(name) { function getCanonicalIcon (line 3189) | function getCanonicalIcon(values) { function iconFromMapping (line 3208) | function iconFromMapping(mapping, prefix, iconName) { function toHtml (line 3218) | function toHtml(abstractNodes) { function isWatched (line 3234) | function isWatched(node) { function getMutator (line 3239) | function getMutator() { function performOperationSync (line 3297) | function performOperationSync(op) { function perform (line 3301) | function perform(mutations, callback) { function disableObservation (line 3323) | function disableObservation() { function enableObservation (line 3326) | function enableObservation() { function observe (line 3330) | function observe(options) { function disconnect (line 3381) | function disconnect() { function styleParser (line 3386) | function styleParser (node) { function classParser (line 3407) | function classParser (node) { function transformParser (line 3495) | function transformParser (node) { function symbolParser (line 3499) | function symbolParser (node) { function attributesParser (line 3504) | function attributesParser (node) { function maskParser (line 3526) | function maskParser (node) { function blankMeta (line 3538) | function blankMeta() { function parseMeta (line 3553) | function parseMeta(node) { function MissingIcon (line 3579) | function MissingIcon(error) { function asFoundIcon (line 3658) | function asFoundIcon(icon) { function findIcon (line 3707) | function findIcon(iconName, prefix) { function generateSvgReplacementMutation (line 3731) | function generateSvgReplacementMutation(node, nodeMeta) { function generateLayersText (line 3763) | function generateLayersText(node, nodeMeta) { function generateMutation (line 3792) | function generateMutation(node) { function onTree (line 3802) | function onTree(root) { function onNode (line 3872) | function onNode(node) { function replaceForPosition (line 3881) | function replaceForPosition(node, position) { function replace (line 3956) | function replace(node) { function processable (line 3960) | function processable(node) { function searchPseudoElements (line 3964) | function searchPseudoElements (root) { function css (line 3984) | function css () { function Library (line 4004) | function Library() { function ensureCss (line 4052) | function ensureCss() { function apiObject (line 4060) | function apiObject(val, abstractCreator) { function findIconDefinition (line 4082) | function findIconDefinition(iconLookup) { function resolveIcons (line 4090) | function resolveIcons(next) { function bootstrap (line 4327) | function bootstrap() { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/brands.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/conflict-detection.js function _typeof (line 11) | function _typeof(obj) { function _defineProperty (line 25) | function _defineProperty(obj, key, value) { function _objectSpread (line 40) | function _objectSpread(target) { function domready (line 94) | function domready (fn) { function report (line 99) | function report (_ref) { function createCommonjsModule (line 167) | function createCommonjsModule(fn, module) { function safeAdd (line 183) | function safeAdd(x, y) { function bitRotateLeft (line 197) | function bitRotateLeft(num, cnt) { function md5cmn (line 213) | function md5cmn(q, a, b, x, s, t) { function md5ff (line 230) | function md5ff(a, b, c, d, x, s, t) { function md5gg (line 247) | function md5gg(a, b, c, d, x, s, t) { function md5hh (line 264) | function md5hh(a, b, c, d, x, s, t) { function md5ii (line 281) | function md5ii(a, b, c, d, x, s, t) { function binlMD5 (line 293) | function binlMD5(x, len) { function binl2rstr (line 392) | function binl2rstr(input) { function rstr2binl (line 412) | function rstr2binl(input) { function rstrMD5 (line 437) | function rstrMD5(s) { function rstrHMACMD5 (line 449) | function rstrHMACMD5(key, data) { function rstr2hex (line 477) | function rstr2hex(input) { function str2rstrUTF8 (line 498) | function str2rstrUTF8(input) { function rawMD5 (line 509) | function rawMD5(s) { function hexMD5 (line 520) | function hexMD5(s) { function rawHMACMD5 (line 532) | function rawHMACMD5(k, d) { function hexHMACMD5 (line 544) | function hexHMACMD5(k, d) { function md5 (line 559) | function md5(string, key, raw) { function md5ForNode (line 583) | function md5ForNode(node) { function pollUntil (line 605) | function pollUntil(_ref) { function detectWebfontConflicts (line 647) | function detectWebfontConflicts() { function detectSvgConflicts (line 765) | function detectSvgConflicts(currentScript) { function setDoneResults (line 844) | function setDoneResults(_ref2) { function conflictDetection (line 853) | function conflictDetection() { function bunker (line 971) | function bunker(fn) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/fontawesome.js function _typeof (line 8) | function _typeof(obj) { function _classCallCheck (line 22) | function _classCallCheck(instance, Constructor) { function _defineProperties (line 28) | function _defineProperties(target, props) { function _createClass (line 38) | function _createClass(Constructor, protoProps, staticProps) { function _defineProperty (line 44) | function _defineProperty(obj, key, value) { function _objectSpread (line 59) | function _objectSpread(target) { function _slicedToArray (line 78) | function _slicedToArray(arr, i) { function _toConsumableArray (line 82) | function _toConsumableArray(arr) { function _arrayWithoutHoles (line 86) | function _arrayWithoutHoles(arr) { function _arrayWithHoles (line 94) | function _arrayWithHoles(arr) { function _iterableToArray (line 98) | function _iterableToArray(iter) { function _iterableToArrayLimit (line 102) | function _iterableToArrayLimit(arr, i) { function _nonIterableSpread (line 128) | function _nonIterableSpread() { function _nonIterableRest (line 132) | function _nonIterableRest() { function getAttrConfig (line 224) | function getAttrConfig(attr) { function coerce (line 232) | function coerce(val) { function domready (line 303) | function domready (fn) { function asyncFlush (line 320) | function asyncFlush() { function asyncCall (line 331) | function asyncCall(callback, arg) { function invokeResolver (line 340) | function invokeResolver(resolver, promise) { function invokeCallback (line 356) | function invokeCallback(subscriber) { function handleThenable (line 384) | function handleThenable(promise, value) { function resolve (line 427) | function resolve(promise, value) { function fulfill (line 433) | function fulfill(promise, value) { function reject (line 441) | function reject(promise, reason) { function publish (line 449) | function publish(promise) { function publishFulfillment (line 453) | function publishFulfillment(promise) { function publishRejection (line 458) | function publishRejection(promise) { function notifyRejectionHandled (line 467) | function notifyRejectionHandled(promise) { function P (line 475) | function P(resolver) { function resolver (line 534) | function resolver(index) { function isReserved (line 607) | function isReserved(name) { function bunker (line 611) | function bunker(fn) { function insertCss (line 620) | function insertCss(css) { function nextUniqueId (line 644) | function nextUniqueId() { function toArray (line 654) | function toArray(obj) { function classArray (line 663) | function classArray(node) { function getIconName (line 672) | function getIconName(familyPrefix, cls) { function htmlEscape (line 683) | function htmlEscape(str) { function joinAttributes (line 686) | function joinAttributes(attributes) { function joinStyles (line 691) | function joinStyles(styles) { function transformIsMeaningful (line 696) | function transformIsMeaningful(transform) { function transformForSvg (line 699) | function transformForSvg(_ref) { function transformForCss (line 721) | function transformForCss(_ref2) { function fillBlack (line 751) | function fillBlack(abstract) { function deGroup (line 761) | function deGroup(abstract) { function makeIconMasking (line 769) | function makeIconMasking (_ref) { function makeIconStandard (line 841) | function makeIconStandard (_ref) { function asIcon (line 882) | function asIcon (_ref) { function asSymbol (line 909) | function asSymbol (_ref) { function makeInlineSvgAbstract (line 931) | function makeInlineSvgAbstract(params) { function makeLayersTextAbstract (line 999) | function makeLayersTextAbstract(params) { function makeLayersCounterAbstract (line 1056) | function makeLayersCounterAbstract(params) { function toHex (line 1166) | function toHex(unicode) { function defineIcons (line 1177) | function defineIcons(prefix, icons) { function byUnicode (line 1258) | function byUnicode(prefix, unicode) { function byLigature (line 1261) | function byLigature(prefix, ligature) { function byOldName (line 1264) | function byOldName(name) { function getCanonicalIcon (line 1279) | function getCanonicalIcon(values) { function iconFromMapping (line 1298) | function iconFromMapping(mapping, prefix, iconName) { function toHtml (line 1308) | function toHtml(abstractNodes) { function isWatched (line 1324) | function isWatched(node) { function getMutator (line 1329) | function getMutator() { function performOperationSync (line 1387) | function performOperationSync(op) { function perform (line 1391) | function perform(mutations, callback) { function disableObservation (line 1413) | function disableObservation() { function enableObservation (line 1416) | function enableObservation() { function observe (line 1420) | function observe(options) { function disconnect (line 1471) | function disconnect() { function styleParser (line 1476) | function styleParser (node) { function classParser (line 1497) | function classParser (node) { function transformParser (line 1585) | function transformParser (node) { function symbolParser (line 1589) | function symbolParser (node) { function attributesParser (line 1594) | function attributesParser (node) { function maskParser (line 1616) | function maskParser (node) { function blankMeta (line 1628) | function blankMeta() { function parseMeta (line 1643) | function parseMeta(node) { function MissingIcon (line 1669) | function MissingIcon(error) { function asFoundIcon (line 1748) | function asFoundIcon(icon) { function findIcon (line 1797) | function findIcon(iconName, prefix) { function generateSvgReplacementMutation (line 1821) | function generateSvgReplacementMutation(node, nodeMeta) { function generateLayersText (line 1853) | function generateLayersText(node, nodeMeta) { function generateMutation (line 1882) | function generateMutation(node) { function onTree (line 1892) | function onTree(root) { function onNode (line 1962) | function onNode(node) { function replaceForPosition (line 1971) | function replaceForPosition(node, position) { function replace (line 2046) | function replace(node) { function processable (line 2050) | function processable(node) { function searchPseudoElements (line 2054) | function searchPseudoElements (root) { function css (line 2074) | function css () { function Library (line 2094) | function Library() { function ensureCss (line 2142) | function ensureCss() { function apiObject (line 2150) | function apiObject(val, abstractCreator) { function findIconDefinition (line 2172) | function findIconDefinition(iconLookup) { function resolveIcons (line 2180) | function resolveIcons(next) { function bootstrap (line 2417) | function bootstrap() { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/regular.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/solid.js function bunker (line 35) | function bunker(fn) { function _defineProperty (line 45) | function _defineProperty(obj, key, value) { function _objectSpread (line 60) | function _objectSpread(target) { function defineIcons (line 86) | function defineIcons(prefix, icons) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/fontawesome-free/js/v4-shims.js function bunker (line 38) | function bunker(fn) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/jquery/jquery.js function DOMEval (line 98) | function DOMEval( code, node, doc ) { function toType (line 128) | function toType( obj ) { function isArrayLike (line 496) | function isArrayLike( obj ) { function Sizzle (line 729) | function Sizzle( selector, context, results, seed ) { function createCache (line 871) | function createCache() { function markFunction (line 889) | function markFunction( fn ) { function assert (line 898) | function assert( fn ) { function addHandle (line 920) | function addHandle( attrs, handler ) { function siblingCheck (line 935) | function siblingCheck( a, b ) { function createInputPseudo (line 961) | function createInputPseudo( type ) { function createButtonPseudo (line 972) | function createButtonPseudo( type ) { function createDisabledPseudo (line 983) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1039) | function createPositionalPseudo( fn ) { function testContext (line 1062) | function testContext( context ) { function setFilters (line 2150) | function setFilters() {} function toSelector (line 2221) | function toSelector( tokens ) { function addCombinator (line 2231) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2295) | function elementMatcher( matchers ) { function multipleContexts (line 2309) | function multipleContexts( selector, contexts, results ) { function condense (line 2318) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2339) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2432) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2490) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function nodeName (line 2826) | function nodeName( elem, name ) { function winnow (line 2836) | function winnow( elements, qualifier, not ) { function sibling (line 3131) | function sibling( cur, dir ) { function createOptions (line 3218) | function createOptions( options ) { function Identity (line 3443) | function Identity( v ) { function Thrower (line 3446) | function Thrower( ex ) { function adoptValue (line 3450) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3543) | function resolve( depth, deferred, handler, special ) { function completed (line 3908) | function completed() { function fcamelCase (line 4003) | function fcamelCase( all, letter ) { function camelCase (line 4010) | function camelCase( string ) { function Data (line 4027) | function Data() { function getData (line 4196) | function getData( data ) { function dataAttr (line 4221) | function dataAttr( elem, key, data ) { function adjustCSS (line 4554) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4622) | function getDefaultDisplay( elem ) { function showHide (line 4645) | function showHide( elements, show ) { function getAll (line 4746) | function getAll( context, tag ) { function setGlobalEval (line 4771) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4787) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4908) | function returnTrue() { function returnFalse (line 4912) | function returnFalse() { function expectSync (line 4922) | function expectSync( elem, type ) { function safeActiveElement (line 4929) | function safeActiveElement() { function on (line 4935) | function on( elem, types, selector, data, fn, one ) { function leverageNative (line 5420) | function leverageNative( el, type, expectSync ) { function manipulationTarget (line 5791) | function manipulationTarget( elem, content ) { function disableScript (line 5802) | function disableScript( elem ) { function restoreScript (line 5806) | function restoreScript( elem ) { function cloneCopyEvent (line 5816) | function cloneCopyEvent( src, dest ) { function fixInput (line 5851) | function fixInput( src, dest ) { function domManip (line 5864) | function domManip( collection, args, callback, ignored ) { function remove (line 5956) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6249) | function computeStyleTests() { function roundPixelMeasures (line 6293) | function roundPixelMeasures( measure ) { function curCSS (line 6338) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6391) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6416) | function vendorPropName( name ) { function finalPropName (line 6431) | function finalPropName( name ) { function setPositiveNumber (line 6457) | function setPositiveNumber( elem, value, subtract ) { function boxModelAdjustment (line 6469) | function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, ... function getWidthOrHeight (line 6537) | function getWidthOrHeight( elem, dimension, extra ) { function Tween (line 6904) | function Tween( elem, options, prop, end, easing ) { function schedule (line 7027) | function schedule() { function createFxNow (line 7040) | function createFxNow() { function genFx (line 7048) | function genFx( type, includeWidth ) { function createTween (line 7068) | function createTween( value, prop, animation ) { function defaultPrefilter (line 7082) | function defaultPrefilter( elem, props, opts ) { function propFilter (line 7254) | function propFilter( props, specialEasing ) { function Animation (line 7291) | function Animation( elem, properties, options ) { function stripAndCollapse (line 8006) | function stripAndCollapse( value ) { function getClass (line 8012) | function getClass( elem ) { function classesToArray (line 8016) | function classesToArray( value ) { function buildParams (line 8638) | function buildParams( prefix, obj, traditional, add ) { function addToPrefiltersOrTransports (line 8792) | function addToPrefiltersOrTransports( structure ) { function inspectPrefiltersOrTransports (line 8826) | function inspectPrefiltersOrTransports( structure, options, originalOpti... function ajaxExtend (line 8855) | function ajaxExtend( target, src ) { function ajaxHandleResponses (line 8875) | function ajaxHandleResponses( s, jqXHR, responses ) { function ajaxConvert (line 8933) | function ajaxConvert( s, response, jqXHR, isSuccess ) { function done (line 9448) | function done( status, nativeStatusText, responses, headers ) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/jquery/jquery.slim.js function DOMEval (line 98) | function DOMEval( code, node, doc ) { function toType (line 128) | function toType( obj ) { function isArrayLike (line 496) | function isArrayLike( obj ) { function Sizzle (line 729) | function Sizzle( selector, context, results, seed ) { function createCache (line 871) | function createCache() { function markFunction (line 889) | function markFunction( fn ) { function assert (line 898) | function assert( fn ) { function addHandle (line 920) | function addHandle( attrs, handler ) { function siblingCheck (line 935) | function siblingCheck( a, b ) { function createInputPseudo (line 961) | function createInputPseudo( type ) { function createButtonPseudo (line 972) | function createButtonPseudo( type ) { function createDisabledPseudo (line 983) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1039) | function createPositionalPseudo( fn ) { function testContext (line 1062) | function testContext( context ) { function setFilters (line 2150) | function setFilters() {} function toSelector (line 2221) | function toSelector( tokens ) { function addCombinator (line 2231) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2295) | function elementMatcher( matchers ) { function multipleContexts (line 2309) | function multipleContexts( selector, contexts, results ) { function condense (line 2318) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2339) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2432) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2490) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function nodeName (line 2826) | function nodeName( elem, name ) { function winnow (line 2836) | function winnow( elements, qualifier, not ) { function sibling (line 3131) | function sibling( cur, dir ) { function createOptions (line 3218) | function createOptions( options ) { function Identity (line 3443) | function Identity( v ) { function Thrower (line 3446) | function Thrower( ex ) { function adoptValue (line 3450) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3543) | function resolve( depth, deferred, handler, special ) { function completed (line 3908) | function completed() { function fcamelCase (line 4003) | function fcamelCase( all, letter ) { function camelCase (line 4010) | function camelCase( string ) { function Data (line 4027) | function Data() { function getData (line 4196) | function getData( data ) { function dataAttr (line 4221) | function dataAttr( elem, key, data ) { function adjustCSS (line 4554) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4622) | function getDefaultDisplay( elem ) { function showHide (line 4645) | function showHide( elements, show ) { function getAll (line 4746) | function getAll( context, tag ) { function setGlobalEval (line 4771) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4787) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4908) | function returnTrue() { function returnFalse (line 4912) | function returnFalse() { function expectSync (line 4922) | function expectSync( elem, type ) { function safeActiveElement (line 4929) | function safeActiveElement() { function on (line 4935) | function on( elem, types, selector, data, fn, one ) { function leverageNative (line 5420) | function leverageNative( el, type, expectSync ) { function manipulationTarget (line 5791) | function manipulationTarget( elem, content ) { function disableScript (line 5802) | function disableScript( elem ) { function restoreScript (line 5806) | function restoreScript( elem ) { function cloneCopyEvent (line 5816) | function cloneCopyEvent( src, dest ) { function fixInput (line 5851) | function fixInput( src, dest ) { function domManip (line 5864) | function domManip( collection, args, callback, ignored ) { function remove (line 5956) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6249) | function computeStyleTests() { function roundPixelMeasures (line 6293) | function roundPixelMeasures( measure ) { function curCSS (line 6338) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6391) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6416) | function vendorPropName( name ) { function finalPropName (line 6431) | function finalPropName( name ) { function setPositiveNumber (line 6457) | function setPositiveNumber( elem, value, subtract ) { function boxModelAdjustment (line 6469) | function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, ... function getWidthOrHeight (line 6537) | function getWidthOrHeight( elem, dimension, extra ) { function stripAndCollapse (line 7213) | function stripAndCollapse( value ) { function getClass (line 7219) | function getClass( elem ) { function classesToArray (line 7223) | function classesToArray( value ) { function buildParams (line 7817) | function buildParams( prefix, obj, traditional, add ) { FILE: close_loop/VAD_MomAD/leaderboard/docs/assets/vendor/startbootstrap-clean-blog/js/jqBootstrapValidation.js function regexFromString (line 900) | function regexFromString(inputstring) { function executeFunctionByName (line 910) | function executeFunctionByName(functionName, context /*, args*/ ) { FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/agent_wrapper.py class AgentError (line 52) | class AgentError(Exception): method __init__ (line 57) | def __init__(self, message): class TickRuntimeError (line 61) | class TickRuntimeError(Exception): class AgentWrapperFactory (line 64) | class AgentWrapperFactory(object): method get_wrapper (line 67) | def get_wrapper(agent): function validate_sensor_configuration (line 74) | def validate_sensor_configuration(sensors, agent_track, selected_track): class AgentWrapper (line 129) | class AgentWrapper(object): method __init__ (line 137) | def __init__(self, agent): method __call__ (line 143) | def __call__(self): method _preprocess_sensor_spec (line 149) | def _preprocess_sensor_spec(self, sensor_spec): method setup_sensors (line 238) | def setup_sensors(self, vehicle): method cleanup (line 270) | def cleanup(self): class ROSAgentWrapper (line 285) | class ROSAgentWrapper(AgentWrapper): method __init__ (line 292) | def __init__(self, agent): method _preprocess_sensor_spec (line 295) | def _preprocess_sensor_spec(self, sensor_spec): method setup_sensors (line 300) | def setup_sensors(self, vehicle): method cleanup (line 314) | def cleanup(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/autonomous_agent.py class Track (line 21) | class Track(Enum): class AutonomousAgent (line 32) | class AutonomousAgent(object): method __init__ (line 38) | def __init__(self, carla_host, carla_port, debug=False): method setup (line 51) | def setup(self, path_to_conf_file): method sensors (line 59) | def sensors(self): # pylint: disable=no-self-use method run_step (line 81) | def run_step(self, input_data, timestamp): method destroy (line 94) | def destroy(self): method __call__ (line 101) | def __call__(self): method get_ros_version (line 125) | def get_ros_version(): method set_global_plan (line 128) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): method get_hero (line 137) | def get_hero(self): method get_metric_info (line 146) | def get_metric_info(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/dummy_agent.py function get_entry_point (line 16) | def get_entry_point(): class DummyAgent (line 19) | class DummyAgent(AutonomousAgent): method setup (line 25) | def setup(self, path_to_conf_file): method sensors (line 31) | def sensors(self): method run_step (line 68) | def run_step(self, input_data, timestamp): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/human_agent.py function get_entry_point (line 33) | def get_entry_point(): class HumanInterface (line 36) | class HumanInterface(object): method __init__ (line 42) | def __init__(self, width, height, side_scale, left_mirror=False, right... method run_interface (line 57) | def run_interface(self, input_data): method set_black_screen (line 83) | def set_black_screen(self): method _quit (line 91) | def _quit(self): class HumanAgent (line 95) | class HumanAgent(AutonomousAgent): method setup (line 104) | def setup(self, path_to_conf_file): method sensors (line 129) | def sensors(self): method run_step (line 166) | def run_step(self, input_data, timestamp): method destroy (line 179) | def destroy(self): class KeyboardControl (line 187) | class KeyboardControl(object): method __init__ (line 193) | def __init__(self, path_to_conf_file): method _json_to_control (line 227) | def _json_to_control(self): method parse_events (line 240) | def parse_events(self, timestamp): method _parse_vehicle_keys (line 256) | def _parse_vehicle_keys(self, keys, milliseconds): method _parse_json_control (line 286) | def _parse_json_control(self): method _record_control (line 294) | def _record_control(self): method __del__ (line 309) | def __del__(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/npc_agent.py function get_entry_point (line 18) | def get_entry_point(): class NpcAgent (line 21) | class NpcAgent(AutonomousAgent): method setup (line 30) | def setup(self, path_to_conf_file): method sensors (line 38) | def sensors(self): method run_step (line 63) | def run_step(self, input_data, timestamp): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/ros1_agent.py class ROS1Server (line 19) | class ROS1Server(object): method __init__ (line 22) | def __init__(self, debug=True): method start (line 25) | def start(self): method shutdown (line 33) | def shutdown(self): function wait_for_message (line 39) | def wait_for_message(client, topic, topic_type, timeout=None): function wait_for_service (line 67) | def wait_for_service(client, service, timeout=None): class ROS1Agent (line 80) | class ROS1Agent(ROSBaseAgent): method __init__ (line 84) | def __init__(self, carla_host, carla_port, debug=False): method get_ros_version (line 104) | def get_ros_version(): method spawn_object (line 107) | def spawn_object(self, type_, id_, transform, attributes, attach_to=0): method destroy_object (line 129) | def destroy_object(self, uid): method run_step (line 136) | def run_step(self, input_data, timestamp): method set_global_plan (line 139) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): method destroy (line 168) | def destroy(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/ros2_agent.py function wait_for_message (line 31) | def wait_for_message(node, topic, topic_type, timeout=None): class ROS2Agent (line 50) | class ROS2Agent(ROSBaseAgent): method __init__ (line 58) | def __init__(self, carla_host, carla_port, debug=False): method get_ros_version (line 81) | def get_ros_version(): method spawn_object (line 84) | def spawn_object(self, type_, id_, transform, attributes, attach_to=0): method destroy_object (line 107) | def destroy_object(self, uid): method set_global_plan (line 117) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): method destroy (line 139) | def destroy(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/autoagents/ros_base_agent.py class ROSLogger (line 29) | class ROSLogger(object): method __init__ (line 31) | def __init__(self, name): method write (line 47) | def write(self, data): method flush (line 50) | def flush(self): method fileno (line 53) | def fileno(self): method destroy (line 56) | def destroy(self): class ROSLauncher (line 60) | class ROSLauncher(object): method __init__ (line 62) | def __init__(self, app_name, ros_version, debug=False): method run (line 74) | def run(self, package, launch_file, parameters={}, wait=False): method log (line 86) | def log(self): method is_alive (line 93) | def is_alive(self): method terminate (line 98) | def terminate(self): class BridgeHelper (line 107) | class BridgeHelper(object): method carla2ros_pose (line 110) | def carla2ros_pose(cls, x, y, z, roll, pitch, yaw, to_quat=False): method rpy2quat (line 123) | def rpy2quat(roll, pitch, yaw): class ROSBaseAgent (line 128) | class ROSBaseAgent(AutonomousAgent): method __init__ (line 137) | def __init__(self, ros_version, carla_host, carla_port, debug=False): method get_ros_entrypoint (line 165) | def get_ros_entrypoint(self): method spawn_object (line 168) | def spawn_object(self, type_, id_, transform, attributes, attach_to=0): method destroy_object (line 171) | def destroy_object(self, uid): method _vehicle_control_cmd_callback (line 174) | def _vehicle_control_cmd_callback(self, control_msg): method run_step (line 227) | def run_step(self, _, timestamp): method destroy (line 245) | def destroy(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/envs/sensor_interface.py function threaded (line 16) | def threaded(fn): class SensorConfigurationInvalid (line 26) | class SensorConfigurationInvalid(Exception): method __init__ (line 31) | def __init__(self, message): class SensorReceivedNoData (line 35) | class SensorReceivedNoData(Exception): method __init__ (line 40) | def __init__(self, message): class GenericMeasurement (line 44) | class GenericMeasurement(object): method __init__ (line 45) | def __init__(self, data, frame): class BaseReader (line 50) | class BaseReader(object): method __init__ (line 51) | def __init__(self, vehicle, reading_frequency=1.0): method __call__ (line 58) | def __call__(self): method run (line 62) | def run(self): method listen (line 79) | def listen(self, callback): method stop (line 83) | def stop(self): method destroy (line 86) | def destroy(self): class SpeedometerReader (line 90) | class SpeedometerReader(BaseReader): method _get_forward_speed (line 96) | def _get_forward_speed(self, transform=None, velocity=None): method __call__ (line 110) | def __call__(self): class OpenDriveMapReader (line 128) | class OpenDriveMapReader(BaseReader): method __call__ (line 129) | def __call__(self): class CallBack (line 133) | class CallBack(object): method __init__ (line 134) | def __init__(self, tag, sensor_type, sensor, data_provider): method __call__ (line 140) | def __call__(self, data): method _parse_image_cb (line 157) | def _parse_image_cb(self, image, tag): method _parse_lidar_cb (line 163) | def _parse_lidar_cb(self, lidar_data, tag): method _parse_radar_cb (line 169) | def _parse_radar_cb(self, radar_data, tag): method _parse_gnss_cb (line 177) | def _parse_gnss_cb(self, gnss_data, tag): method _parse_imu_cb (line 183) | def _parse_imu_cb(self, imu_data, tag): method _parse_pseudosensor (line 194) | def _parse_pseudosensor(self, package, tag): class SensorInterface (line 198) | class SensorInterface(object): method __init__ (line 199) | def __init__(self): method register_sensor (line 207) | def register_sensor(self, tag, sensor_type, sensor): method update_sensor (line 216) | def update_sensor(self, tag, data, frame): method get_data (line 222) | def get_data(self, frame): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/leaderboard_evaluator.py function find_free_port (line 54) | def find_free_port(starting_port): function get_weather_id (line 64) | def get_weather_id(weather_conditions): class LeaderboardEvaluator (line 80) | class LeaderboardEvaluator(object): method __init__ (line 90) | def __init__(self, args, statistics_manager): method _signal_handler (line 136) | def _signal_handler(self, signum, frame): method __del__ (line 146) | def __del__(self): method _get_running_status (line 155) | def _get_running_status(self): method _cleanup (line 164) | def _cleanup(self): method _setup_simulation (line 197) | def _setup_simulation(self, args): method _reset_world_settings (line 249) | def _reset_world_settings(self): method _load_and_wait_for_world (line 268) | def _load_and_wait_for_world(self, args, town): method _register_statistics (line 296) | def _register_statistics(self, route_index, entry_status, crash_messag... method _load_and_run_scenario (line 306) | def _load_and_run_scenario(self, args, config): method run (line 454) | def run(self, args): function main (line 509) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/scenarios/route_scenario.py class RouteScenario (line 52) | class RouteScenario(BasicScenario): method __init__ (line 63) | def __init__(self, world, config, debug_mode=0, criteria_enable=True): method _get_route (line 109) | def _get_route(self, config): method _filter_scenarios (line 124) | def _filter_scenarios(self, scenario_configs): method _spawn_ego_vehicle (line 144) | def _spawn_ego_vehicle(self): method _get_parking_slots (line 163) | def _get_parking_slots(self, max_distance=100, route_step=10): method spawn_parked_vehicles (line 205) | def spawn_parked_vehicles(self, ego_vehicle, max_scenario_distance=10): method _draw_waypoints (line 241) | def _draw_waypoints(self, waypoints, vertical_shift, size, downsample=1): method get_all_scenario_classes (line 271) | def get_all_scenario_classes(self): method build_scenarios (line 294) | def build_scenarios(self, ego_vehicle, debug=False): method _initialize_actors (line 369) | def _initialize_actors(self, config): method _create_behavior (line 377) | def _create_behavior(self): method _create_test_criteria (line 409) | def _create_test_criteria(self): method _create_weather_behavior (line 438) | def _create_weather_behavior(self): method _create_lights_behavior (line 446) | def _create_lights_behavior(self): method _create_timeout_behavior (line 452) | def _create_timeout_behavior(self): method _initialize_environment (line 458) | def _initialize_environment(self, world): method _create_criterion_tree (line 465) | def _create_criterion_tree(self, scenario, criteria): method __del__ (line 489) | def __del__(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/scenarios/scenario_manager.py class ScenarioManager (line 31) | class ScenarioManager(object): method __init__ (line 48) | def __init__(self, timeout, statistics_manager, debug_mode=0): method signal_handler (line 82) | def signal_handler(self, signum, frame): method cleanup (line 92) | def cleanup(self): method load_scenario (line 108) | def load_scenario(self, scenario, agent, route_index, rep_number): method build_scenarios_loop (line 129) | def build_scenarios_loop(self, debug): method run_scenario (line 139) | def run_scenario(self): method _tick_scenario (line 163) | def _tick_scenario(self): method get_running_status (line 234) | def get_running_status(self): method stop_scenario (line 243) | def stop_scenario(self): method compute_duration_time (line 270) | def compute_duration_time(self): method analyze_scenario (line 280) | def analyze_scenario(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/utils/checkpoint_tools.py function autodetect_proxy (line 10) | def autodetect_proxy(): function fetch_dict (line 24) | def fetch_dict(endpoint): function save_dict (line 50) | def save_dict(endpoint, data): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/utils/result_writer.py class ResultOutputProvider (line 33) | class ResultOutputProvider(object): method __init__ (line 40) | def __init__(self, data): method create_output_text (line 58) | def create_output_text(self): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/utils/route_indexer.py class RouteIndexer (line 10) | class RouteIndexer(): method __init__ (line 11) | def __init__(self, routes_file, repetitions, routes_subset): method peek (line 28) | def peek(self): method get_next_config (line 31) | def get_next_config(self): method validate_and_resume (line 40) | def validate_and_resume(self, endpoint): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/utils/route_manipulation.py function _location_to_gps (line 20) | def _location_to_gps(lat_ref, lon_ref, location): function location_route_to_gps (line 43) | def location_route_to_gps(route, lat_ref, lon_ref): function _get_latlon_ref (line 60) | def _get_latlon_ref(world): function downsample_route (line 85) | def downsample_route(route, sample_factor): function interpolate_trajectory (line 136) | def interpolate_trajectory(waypoints_trajectory, hop_resolution=1.0): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/utils/route_parser.py function convert_elem_to_transform (line 22) | def convert_elem_to_transform(elem): class RouteParser (line 38) | class RouteParser(object): method parse_routes_file (line 45) | def parse_routes_file(route_filename, routes_subset=''): method parse_weather (line 148) | def parse_weather(route): method is_scenario_at_route (line 175) | def is_scenario_at_route(trigger_transform, route): FILE: close_loop/VAD_MomAD/leaderboard/leaderboard/utils/statistics_manager.py class RouteRecord (line 70) | class RouteRecord(): method __init__ (line 71) | def __init__(self): method to_json (line 96) | def to_json(self): class GlobalRecord (line 101) | class GlobalRecord(): method __init__ (line 102) | def __init__(self): method to_json (line 125) | def to_json(self): class Checkpoint (line 129) | class Checkpoint(): method __init__ (line 131) | def __init__(self): method to_json (line 136) | def to_json(self): class Results (line 147) | class Results(): method __init__ (line 149) | def __init__(self): method to_json (line 157) | def to_json(self): function to_route_record (line 170) | def to_route_record(record_dict): function compute_route_length (line 178) | def compute_route_length(route): class StatisticsManager (line 193) | class StatisticsManager(object): method __init__ (line 200) | def __init__(self, endpoint, debug_endpoint): method add_file_records (line 208) | def add_file_records(self, endpoint): method clear_records (line 218) | def clear_records(self): method sort_records (line 224) | def sort_records(self): method write_live_results (line 234) | def write_live_results(self, index, ego_speed, ego_control, ego_locati... method save_sensors (line 300) | def save_sensors(self, sensors): method save_entry_status (line 303) | def save_entry_status(self, entry_status): method save_progress (line 309) | def save_progress(self, route_index, total_routes): method create_route_data (line 313) | def create_route_data(self, route_id, scenario_name, weather_id, save_... method set_scenario (line 332) | def set_scenario(self, scenario): method remove_scenario (line 337) | def remove_scenario(self): method compute_route_statistics (line 342) | def compute_route_statistics(self, route_index, duration_time_system=-... method compute_global_statistics (line 434) | def compute_global_statistics(self): method validate_and_write_statistics (line 554) | def validate_and_write_statistics(self, sensors_initialized, crashed): method write_statistics (line 597) | def write_statistics(self): FILE: close_loop/VAD_MomAD/leaderboard/scripts/manage_scenarios.py function get_scenario_transform (line 25) | def get_scenario_transform(scenario_dict): function get_color_validity (line 39) | def get_color_validity(waypoint_transform, scenario_transform, scenario_... function create_scenarios (line 65) | def create_scenarios(world, town_data, tmap, scenarios, debug): function validate_scenarios (line 116) | def validate_scenarios(world, town_data, tmap, scenarios, debug): function draw_scenarios (line 163) | def draw_scenarios(world, town_data, scenarios, debug): function main (line 208) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/merge_statistics.py function check_duplicates (line 7) | def check_duplicates(route_ids): function check_missing_data (line 14) | def check_missing_data(route_ids): function main (line 40) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/pretty_print_json.py function prettify_json (line 21) | def prettify_json(args): function main (line 97) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/route_creator.py function draw_point (line 19) | def draw_point(world, wp, option): function draw_keypoint (line 35) | def draw_keypoint(world, location): function get_saved_data (line 40) | def get_saved_data(filename, route_id, world, grp): function add_data (line 82) | def add_data(points, tmap, world, spectator, grp): function save_data (line 96) | def save_data(filename, route_id, points): function main (line 156) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/route_displayer.py function draw_point (line 57) | def draw_point(world, wp, color): function draw_keypoint (line 61) | def draw_keypoint(world, location): function show_all_routes (line 67) | def show_all_routes(filename, show_scenarios, world, grp): function show_route (line 106) | def show_route(filename, route_id, show_keypoints, show_scenarios, world... function show_saved_scenarios (line 155) | def show_saved_scenarios(route, world): function main (line 167) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/route_summarizer.py function convert_elem_to_location (line 40) | def convert_elem_to_location(elem): function main (line 44) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/scenario_creator.py function show_saved_scenarios (line 208) | def show_saved_scenarios(filename, route_id, world): function get_scenario_type (line 234) | def get_scenario_type(tmap, world, spectator): function get_attributes_data (line 253) | def get_attributes_data(scen_type, trigger_point, tmap, world, spectator): function get_transform_data (line 273) | def get_transform_data(a_name, scen_type, tmap, world, spectator): function get_location_data (line 285) | def get_location_data(a_name, scen_type, tmap, world, spectator, a_type): function get_value_data (line 312) | def get_value_data(a_name): function get_interval_data (line 316) | def get_interval_data(a_name): function print_scenario_data (line 321) | def print_scenario_data(scen_type, scen_attributes): function save_scenario (line 327) | def save_scenario(filename, route_id, scenario_type, scenario_attributes): function prettify_and_save_tree (line 390) | def prettify_and_save_tree(filename, tree): function main (line 423) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/scenario_orderer.py function order_saved_scenarios (line 229) | def order_saved_scenarios(filename, route_id, tmap, grp): function main (line 323) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/scripts/weather_creator.py function main (line 13) | def main(): FILE: close_loop/VAD_MomAD/leaderboard/team_code/pid_controller.py class PID (line 4) | class PID(object): method __init__ (line 5) | def __init__(self, K_P=1.0, K_I=0.0, K_D=0.0, n=20): method step (line 14) | def step(self, error): class PIDController (line 30) | class PIDController(object): method __init__ (line 32) | def __init__(self, turn_KP=0.75, turn_KI=0.75, turn_KD=0.3, turn_n=40,... method control_pid (line 44) | def control_pid(self, waypoints, speed, target): FILE: close_loop/VAD_MomAD/leaderboard/team_code/planner.py class Plotter (line 12) | class Plotter(object): method __init__ (line 13) | def __init__(self, size): method clear (line 18) | def clear(self): method dot (line 24) | def dot(self, pos, node, color=(255, 255, 255), r=2): method show (line 31) | def show(self): class RoutePlanner (line 41) | class RoutePlanner(object): method __init__ (line 42) | def __init__(self, min_distance, max_distance, debug_size=256, lat_ref... method set_route (line 57) | def set_route(self, global_plan, gps=False, global_plan_world = None): method run_step (line 83) | def run_step(self, gps): method gps_to_location (line 120) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/leaderboard/team_code/uniad_b2d_agent.py function get_entry_point (line 30) | def get_entry_point(): class UniadAgent (line 33) | class UniadAgent(autonomous_agent.AutonomousAgent): method setup (line 34) | def setup(self, path_to_conf_file): method _init (line 169) | def _init(self): method sensors (line 191) | def sensors(self): method tick (line 272) | def tick(self, input_data): method run_step (line 311) | def run_step(self, input_data, timestamp): method save (line 402) | def save(self, tick_data): method destroy (line 420) | def destroy(self): method gps_to_location (line 424) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/leaderboard/team_code/vad_b2d_agent.py function get_entry_point (line 33) | def get_entry_point(): class VadAgent (line 37) | class VadAgent(autonomous_agent.AutonomousAgent): method setup (line 38) | def setup(self, path_to_conf_file): method _init (line 173) | def _init(self): method sensors (line 196) | def sensors(self): method tick (line 275) | def tick(self, input_data): method run_step (line 315) | def run_step(self, input_data, timestamp): method save (line 437) | def save(self, tick_data): method destroy (line 457) | def destroy(self): method gps_to_location (line 461) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/leaderboard/team_code/vad_b2d_agent_visualize.py function float_to_uint8_color (line 35) | def float_to_uint8_color(float_clr): function get_entry_point (line 54) | def get_entry_point(): class VadAgent (line 58) | class VadAgent(autonomous_agent.AutonomousAgent): method setup (line 59) | def setup(self, path_to_conf_file): method _init (line 201) | def _init(self): method sensors (line 223) | def sensors(self): method tick (line 302) | def tick(self, input_data): method run_step (line 342) | def run_step(self, input_data, timestamp): method save (line 453) | def save(self, tick_data,ego_traj,result=None): method draw_traj (line 468) | def draw_traj(self, traj, raw_img,canvas_size=(900,1600),thickness=3,i... method draw_traj_bev (line 501) | def draw_traj_bev(self, traj, raw_img,canvas_size=(512,512),thickness=... method draw_lidar_bbox3d_on_img (line 534) | def draw_lidar_bbox3d_on_img(self,bboxes3d,raw_img,lidar2img_rt,canvas... method plot_rect3d_on_img (line 592) | def plot_rect3d_on_img(self,img,num_rects,rect_corners,scores=None,lab... method destroy (line 616) | def destroy(self): method gps_to_location (line 620) | def gps_to_location(self, gps): FILE: close_loop/VAD_MomAD/scenario_runner/manual_control.py function get_actor_display_name (line 105) | def get_actor_display_name(actor, truncate=250): class World (line 114) | class World(object): method __init__ (line 116) | def __init__(self, carla_world, hud, args): method restart (line 138) | def restart(self): method tick (line 173) | def tick(self, clock, wait_for_repetitions): method render (line 185) | def render(self, display): method destroy_sensors (line 189) | def destroy_sensors(self): method destroy (line 194) | def destroy(self): class KeyboardControl (line 214) | class KeyboardControl(object): method __init__ (line 216) | def __init__(self, world, start_in_autopilot): method parse_events (line 225) | def parse_events(self, client, world, clock): method _parse_vehicle_keys (line 335) | def _parse_vehicle_keys(self, keys, milliseconds): method _is_quit_shortcut (line 364) | def _is_quit_shortcut(key): class HUD (line 373) | class HUD(object): method __init__ (line 374) | def __init__(self, width, height): method on_world_tick (line 392) | def on_world_tick(self, timestamp): method tick (line 398) | def tick(self, world, clock): method toggle_info (line 455) | def toggle_info(self): method notification (line 458) | def notification(self, text, seconds=2.0): method error (line 461) | def error(self, text): method render (line 464) | def render(self, display): class FadingText (line 508) | class FadingText(object): method __init__ (line 509) | def __init__(self, font, dim, pos): method set_text (line 516) | def set_text(self, text, color=(255, 255, 255), seconds=2.0): method tick (line 523) | def tick(self, _, clock): method render (line 528) | def render(self, display): class HelpText (line 537) | class HelpText(object): method __init__ (line 539) | def __init__(self, font, width, height): method toggle (line 554) | def toggle(self): method render (line 557) | def render(self, display): class CollisionSensor (line 567) | class CollisionSensor(object): method __init__ (line 568) | def __init__(self, parent_actor, hud): method get_collision_history (line 581) | def get_collision_history(self): method _on_collision (line 588) | def _on_collision(weak_self, event): class LaneInvasionSensor (line 606) | class LaneInvasionSensor(object): method __init__ (line 607) | def __init__(self, parent_actor, hud): method _on_invasion (line 623) | def _on_invasion(weak_self, event): class GnssSensor (line 637) | class GnssSensor(object): method __init__ (line 638) | def __init__(self, parent_actor): method _on_gnss_event (line 652) | def _on_gnss_event(weak_self, event): class IMUSensor (line 665) | class IMUSensor(object): method __init__ (line 666) | def __init__(self, parent_actor): method _IMU_callback (line 683) | def _IMU_callback(weak_self, sensor_data): class RadarSensor (line 704) | class RadarSensor(object): method __init__ (line 705) | def __init__(self, parent_actor): method _Radar_callback (line 730) | def _Radar_callback(weak_self, radar_data): class CameraManager (line 771) | class CameraManager(object): method __init__ (line 772) | def __init__(self, parent_actor, hud): method toggle_camera (line 802) | def toggle_camera(self): method set_sensor (line 806) | def set_sensor(self, index, notify=True, force_respawn=False): method toggle_recording (line 827) | def toggle_recording(self): method render (line 831) | def render(self, display): method _parse_image (line 836) | def _parse_image(weak_self, image): function game_loop (line 884) | def game_loop(args): function main (line 935) | def main(): FILE: close_loop/VAD_MomAD/scenario_runner/metrics_manager.py class MetricsManager (line 31) | class MetricsManager(object): method __init__ (line 37) | def __init__(self, args): method _get_recorder (line 60) | def _get_recorder(self, log): method _get_criteria (line 81) | def _get_criteria(self, criteria_file): method _get_metric_class (line 93) | def _get_metric_class(self, metric_file): method _get_recorder_map (line 116) | def _get_recorder_map(self, recorder_str): function main (line 127) | def main(): FILE: close_loop/VAD_MomAD/scenario_runner/no_rendering_mode.py function get_actor_display_name (line 157) | def get_actor_display_name(actor, truncate=250): class Util (line 162) | class Util(object): method blits (line 165) | def blits(destination_surface, source_surfaces, rect=None, blend_mode=0): method length (line 170) | def length(v): method get_bounding_box (line 174) | def get_bounding_box(actor): class ModuleManager (line 191) | class ModuleManager(object): method __init__ (line 192) | def __init__(self): method register_module (line 195) | def register_module(self, module): method clear_modules (line 198) | def clear_modules(self): method tick (line 201) | def tick(self, clock): method render (line 206) | def render(self, display): method get_module (line 211) | def get_module(self, name): method start_modules (line 216) | def start_modules(self): class FadingText (line 226) | class FadingText(object): method __init__ (line 227) | def __init__(self, font, dim, pos): method set_text (line 234) | def set_text(self, text, color=COLOR_WHITE, seconds=2.0): method tick (line 241) | def tick(self, clock): method render (line 246) | def render(self, display): class HelpText (line 255) | class HelpText(object): method __init__ (line 256) | def __init__(self, font, width, height): method toggle (line 270) | def toggle(self): method render (line 273) | def render(self, display): class ModuleHUD (line 283) | class ModuleHUD (object): method __init__ (line 285) | def __init__(self, name, width, height): method start (line 291) | def start(self): method _init_hud_params (line 294) | def _init_hud_params(self): method _init_data_params (line 306) | def _init_data_params(self): method notification (line 311) | def notification(self, text, seconds=2.0): method tick (line 314) | def tick(self, clock): method add_info (line 317) | def add_info(self, module_name, info): method render_vehicles_ids (line 320) | def render_vehicles_ids(self, vehicle_id_surface, list_actors, world_t... method render (line 344) | def render(self, display): class TrafficLightSurfaces (line 396) | class TrafficLightSurfaces(object): method __init__ (line 399) | def __init__(self): method rotozoom (line 424) | def rotozoom(self, angle, scale): class MapImage (line 434) | class MapImage(object): method __init__ (line 435) | def __init__(self, carla_world, carla_map, pixels_per_meter, show_trig... method draw_road_map (line 458) | def draw_road_map(self, map_surface, carla_world, carla_map, world_to_... method world_to_pixel (line 763) | def world_to_pixel(self, location, offset=(0, 0)): method world_to_pixel_width (line 768) | def world_to_pixel_width(self, width): method scale_map (line 771) | def scale_map(self, scale): class ModuleWorld (line 778) | class ModuleWorld(object): method __init__ (line 779) | def __init__(self, name, args, timeout): method _get_data_from_carla (line 819) | def _get_data_from_carla(self): method start (line 836) | def start(self): method select_hero_actor (line 888) | def select_hero_actor(self): method _spawn_hero (line 897) | def _spawn_hero(self): method tick (line 914) | def tick(self, clock): method update_hud_info (line 921) | def update_hud_info(self, clock): method on_world_tick (line 966) | def on_world_tick(weak_self, timestamp): method _split_actors (line 975) | def _split_actors(self): method _render_traffic_lights (line 1009) | def _render_traffic_lights(self, surface, list_tl, world_to_pixel): method _render_speed_limits (line 1039) | def _render_speed_limits(self, surface, list_sl, world_to_pixel, world... method _render_walkers (line 1074) | def _render_walkers(self, surface, list_w, world_to_pixel): method _render_vehicles (line 1090) | def _render_vehicles(self, surface, list_v, world_to_pixel): method render_actors (line 1111) | def render_actors(self, surface, vehicles, traffic_lights, speed_limit... method clip_surfaces (line 1121) | def clip_surfaces(self, clipping_rect): method _compute_scale (line 1126) | def _compute_scale(self, scale_factor): method render (line 1147) | def render(self, display): method destroy (line 1235) | def destroy(self): class ModuleInput (line 1243) | class ModuleInput(object): method __init__ (line 1244) | def __init__(self, name): method start (line 1254) | def start(self): method render (line 1258) | def render(self, display): method tick (line 1261) | def tick(self, clock): method _parse_events (line 1264) | def _parse_events(self): method _parse_keys (line 1327) | def _parse_keys(self, milliseconds): method _parse_mouse (line 1342) | def _parse_mouse(self): method parse_input (line 1349) | def parse_input(self, clock): method _is_quit_shortcut (line 1361) | def _is_quit_shortcut(key): function game_loop (line 1376) | def game_loop(args): function exit_game (line 1418) | def exit_game(): function main (line 1428) | def main(): FILE: close_loop/VAD_MomAD/scenario_runner/scenario_runner.py function get_carla_version (line 38) | def get_carla_version(): function get_carla_version (line 43) | def get_carla_version(): class ScenarioRunner (line 63) | class ScenarioRunner(object): method __init__ (line 93) | def __init__(self, args): method destroy (line 131) | def destroy(self): method _signal_handler (line 144) | def _signal_handler(self, signum, frame): method _get_scenario_class_or_fail (line 152) | def _get_scenario_class_or_fail(self, scenario): method _cleanup (line 180) | def _cleanup(self): method _prepare_ego_vehicles (line 217) | def _prepare_ego_vehicles(self, ego_vehicles): method _analyze_scenario (line 259) | def _analyze_scenario(self, config): method _record_criteria (line 287) | def _record_criteria(self, criteria, name): method _load_and_wait_for_world (line 319) | def _load_and_wait_for_world(self, town, ego_vehicles=None): method _load_and_run_scenario (line 368) | def _load_and_run_scenario(self, config): method _run_scenarios (line 451) | def _run_scenarios(self): method _run_route (line 474) | def _run_route(self): method _run_openscenario (line 490) | def _run_openscenario(self): method run (line 512) | def run(self): function main (line 528) | def main(): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/agent_wrapper.py class AgentWrapper (line 20) | class AgentWrapper(object): method __init__ (line 29) | def __init__(self, agent): method __call__ (line 35) | def __call__(self): method setup_sensors (line 41) | def setup_sensors(self, vehicle, debug_mode=False): method cleanup (line 87) | def cleanup(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/autonomous_agent.py class AutonomousAgent (line 19) | class AutonomousAgent(object): method __init__ (line 25) | def __init__(self, path_to_conf_file): method setup (line 36) | def setup(self, path_to_conf_file): method sensors (line 42) | def sensors(self): # pylint: disable=no-self-use method run_step (line 64) | def run_step(self, input_data, timestamp): method destroy (line 77) | def destroy(self): method __call__ (line 84) | def __call__(self): method set_global_plan (line 100) | def set_global_plan(self, global_plan_gps, global_plan_world_coord): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/dummy_agent.py class DummyAgent (line 17) | class DummyAgent(AutonomousAgent): method setup (line 23) | def setup(self, path_to_conf_file): method sensors (line 28) | def sensors(self): method run_step (line 61) | def run_step(self, input_data, timestamp): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/human_agent.py class HumanInterface (line 34) | class HumanInterface(object): method __init__ (line 40) | def __init__(self, width, height): method run_interface (line 51) | def run_interface(self, input_data): method quit_interface (line 64) | def quit_interface(self): class HumanAgent (line 71) | class HumanAgent(AutonomousAgent): method setup (line 81) | def setup(self, path_to_conf_file): method sensors (line 94) | def sensors(self): method run_step (line 120) | def run_step(self, input_data, timestamp): method destroy (line 132) | def destroy(self): class KeyboardControl (line 139) | class KeyboardControl(object): method __init__ (line 145) | def __init__(self, path_to_conf_file): method _json_to_control (line 180) | def _json_to_control(self): method parse_events (line 196) | def parse_events(self, timestamp): method _parse_vehicle_keys (line 212) | def _parse_vehicle_keys(self, keys, milliseconds): method _parse_json_control (line 242) | def _parse_json_control(self): method _record_control (line 253) | def _record_control(self): method __del__ (line 272) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/npc_agent.py class NpcAgent (line 19) | class NpcAgent(AutonomousAgent): method setup (line 28) | def setup(self, path_to_conf_file): method sensors (line 34) | def sensors(self): method run_step (line 59) | def run_step(self, input_data, timestamp): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/ros_agent.py class RosAgent (line 40) | class RosAgent(AutonomousAgent): method setup (line 65) | def setup(self, path_to_conf_file): method destroy (line 162) | def destroy(self): method on_vehicle_control (line 183) | def on_vehicle_control(self, data): method build_camera_info (line 201) | def build_camera_info(self, attributes): # pylint: disable=no-self-use method publish_plan (line 224) | def publish_plan(self): method sensors (line 247) | def sensors(self): method get_header (line 256) | def get_header(self): method publish_lidar (line 264) | def publish_lidar(self, sensor_id, data): method publish_gnss (line 285) | def publish_gnss(self, sensor_id, data): method publish_camera (line 301) | def publish_camera(self, sensor_id, data): method publish_can (line 315) | def publish_can(self, sensor_id, data): method publish_hd_map (line 357) | def publish_hd_map(self, sensor_id, data): method use_stepping_mode (line 402) | def use_stepping_mode(self): # pylint: disable=no-self-use method run_step (line 408) | def run_step(self, input_data, timestamp): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/autoagents/sensor_interface.py class SensorReceivedNoData (line 26) | class SensorReceivedNoData(Exception): class CallBack (line 33) | class CallBack(object): method __init__ (line 39) | def __init__(self, tag, sensor, data_provider): method __call__ (line 48) | def __call__(self, data): method _parse_image_cb (line 66) | def _parse_image_cb(self, image, tag): method _parse_lidar_cb (line 75) | def _parse_lidar_cb(self, lidar_data, tag): method _parse_radar_cb (line 84) | def _parse_radar_cb(self, radar_data, tag): method _parse_gnss_cb (line 95) | def _parse_gnss_cb(self, gnss_data, tag): method _parse_imu_cb (line 104) | def _parse_imu_cb(self, imu_data, tag): class SensorInterface (line 119) | class SensorInterface(object): method __init__ (line 125) | def __init__(self): method register_sensor (line 133) | def register_sensor(self, tag, sensor): method update_sensor (line 142) | def update_sensor(self, tag, data, timestamp): method get_data (line 151) | def get_data(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/metrics/examples/basic_metric.py class BasicMetric (line 13) | class BasicMetric(object): method __init__ (line 18) | def __init__(self, town_map, log, criteria=None): method _create_metric (line 31) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/metrics/examples/criteria_filter.py class CriteriaFilter (line 21) | class CriteriaFilter(BasicMetric): method _create_metric (line 26) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/metrics/examples/distance_between_vehicles.py class DistanceBetweenVehicles (line 23) | class DistanceBetweenVehicles(BasicMetric): method _create_metric (line 28) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/metrics/examples/distance_to_lane_center.py class DistanceToLaneCenter (line 22) | class DistanceToLaneCenter(BasicMetric): method _create_metric (line 27) | def _create_metric(self, town_map, log, criteria): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/metrics/tools/metrics_log.py class MetricsLog (line 20) | class MetricsLog(object): # pylint: disable=too-many-public-methods method __init__ (line 25) | def __init__(self, recorder): method get_actor_collisions (line 34) | def get_actor_collisions(self, actor_id): method get_total_frame_count (line 52) | def get_total_frame_count(self): method get_elapsed_time (line 59) | def get_elapsed_time(self, frame): method get_delta_time (line 66) | def get_delta_time(self, frame): method get_platform_time (line 73) | def get_platform_time(self, frame): method get_ego_vehicle_id (line 81) | def get_ego_vehicle_id(self): method get_actor_ids_with_role_name (line 87) | def get_actor_ids_with_role_name(self, role_name): method get_actor_ids_with_type_id (line 103) | def get_actor_ids_with_type_id(self, type_id): method get_actor_attributes (line 119) | def get_actor_attributes(self, actor_id): method get_actor_bounding_box (line 131) | def get_actor_bounding_box(self, actor_id): method get_traffic_light_trigger_volume (line 146) | def get_traffic_light_trigger_volume(self, traffic_light_id): method get_actor_alive_frames (line 161) | def get_actor_alive_frames(self, actor_id): method _get_actor_state (line 184) | def _get_actor_state(self, actor_id, state, frame): method _get_all_actor_states (line 208) | def _get_all_actor_states(self, actor_id, state, first_frame=None, las... method _get_states_at_frame (line 234) | def _get_states_at_frame(self, frame, state, actor_list=None): method get_actor_transform (line 256) | def get_actor_transform(self, actor_id, frame): method get_all_actor_transforms (line 262) | def get_all_actor_transforms(self, actor_id, first_frame=None, last_fr... method get_actor_transforms_at_frame (line 268) | def get_actor_transforms_at_frame(self, frame, actor_list=None): method get_actor_velocity (line 276) | def get_actor_velocity(self, actor_id, frame): method get_all_actor_velocities (line 282) | def get_all_actor_velocities(self, actor_id, first_frame=None, last_fr... method get_actor_velocities_at_frame (line 288) | def get_actor_velocities_at_frame(self, frame, actor_list=None): method get_actor_angular_velocity (line 296) | def get_actor_angular_velocity(self, actor_id, frame): method get_all_actor_angular_velocities (line 302) | def get_all_actor_angular_velocities(self, actor_id, first_frame=None,... method get_actor_angular_velocities_at_frame (line 308) | def get_actor_angular_velocities_at_frame(self, frame, actor_list=None): method get_actor_acceleration (line 316) | def get_actor_acceleration(self, actor_id, frame): method get_all_actor_accelerations (line 322) | def get_all_actor_accelerations(self, actor_id, first_frame=None, last... method get_actor_accelerations_at_frame (line 328) | def get_actor_accelerations_at_frame(self, frame, actor_list=None): method get_vehicle_control (line 336) | def get_vehicle_control(self, vehicle_id, frame): method get_vehicle_physics_control (line 342) | def get_vehicle_physics_control(self, vehicle_id, frame): method get_walker_speed (line 356) | def get_walker_speed(self, walker_id, frame): method get_traffic_light_state (line 363) | def get_traffic_light_state(self, traffic_light_id, frame): method is_traffic_light_frozen (line 369) | def is_traffic_light_frozen(self, traffic_light_id, frame): method get_traffic_light_elapsed_time (line 375) | def get_traffic_light_elapsed_time(self, traffic_light_id, frame): method get_traffic_light_state_time (line 381) | def get_traffic_light_state_time(self, traffic_light_id, state, frame): method get_vehicle_lights (line 398) | def get_vehicle_lights(self, vehicle_id, frame): method is_vehicle_light_active (line 404) | def is_vehicle_light_active(self, light, vehicle_id, frame): method get_scene_light_state (line 416) | def get_scene_light_state(self, light_id, frame): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/metrics/tools/metrics_parser.py function parse_actor (line 17) | def parse_actor(info): function parse_transform (line 29) | def parse_transform(info): function parse_control (line 45) | def parse_control(info): function parse_vehicle_lights (line 58) | def parse_vehicle_lights(info): function parse_traffic_light (line 81) | def parse_traffic_light(info): function parse_velocity (line 97) | def parse_velocity(info): function parse_angular_velocity (line 106) | def parse_angular_velocity(info): function parse_scene_lights (line 115) | def parse_scene_lights(info): function parse_bounding_box (line 130) | def parse_bounding_box(info): function parse_state_times (line 157) | def parse_state_times(info): function parse_vector_list (line 166) | def parse_vector_list(info): function parse_gears_control (line 178) | def parse_gears_control(info): function parse_wheels_control (line 187) | def parse_wheels_control(info): class MetricsParser (line 204) | class MetricsParser(object): method __init__ (line 209) | def __init__(self, recorder_info): method get_row_elements (line 216) | def get_row_elements(self, indent_num, split_string): method next_row (line 222) | def next_row(self): method parse_recorder_info (line 229) | def parse_recorder_info(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py class OpenScenarioConfiguration (line 27) | class OpenScenarioConfiguration(ScenarioConfiguration): method __init__ (line 34) | def __init__(self, filename, client, custom_params): method _validate_openscenario_configuration (line 64) | def _validate_openscenario_configuration(self): method _validate_openscenario_catalog_configuration (line 74) | def _validate_openscenario_catalog_configuration(self, catalog_xml_tree): method _parse_openscenario_configuration (line 84) | def _parse_openscenario_configuration(self): method _check_version (line 98) | def _check_version(self): method _load_catalogs (line 106) | def _load_catalogs(self): method _set_scenario_name (line 144) | def _set_scenario_name(self): method _set_carla_town (line 155) | def _set_carla_town(self): method _set_parameters (line 217) | def _set_parameters(self): method _set_actor_information (line 232) | def _set_actor_information(self): method _extract_vehicle_information (line 290) | def _extract_vehicle_information(self, obj, rolename, vehicle, args): method _extract_pedestrian_information (line 313) | def _extract_pedestrian_information(self, obj, rolename, pedestrian, a... method _extract_misc_information (line 324) | def _extract_misc_information(self, obj, rolename, misc, args): method _get_actor_transform (line 339) | def _get_actor_transform(self, actor_name): method _get_actor_speed (line 377) | def _get_actor_speed(self, actor_name): method _validate_result (line 405) | def _validate_result(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarioconfigs/route_scenario_configuration.py class RouteConfiguration (line 18) | class RouteConfiguration(object): method __init__ (line 24) | def __init__(self, route=None): method parse_xml (line 27) | def parse_xml(self, node): class RouteScenarioConfiguration (line 43) | class RouteScenarioConfiguration(ScenarioConfiguration): method __init__ (line 49) | def __init__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarioconfigs/scenario_configuration.py class ActorConfigurationData (line 15) | class ActorConfigurationData(object): method __init__ (line 21) | def __init__(self, model, transform, rolename='other', speed=0, autopi... method parse_from_node (line 34) | def parse_from_node(node, rolename): method parse_from_dict (line 65) | def parse_from_dict(actor_dict, rolename): class ScenarioConfiguration (line 87) | class ScenarioConfiguration(object): method __init__ (line 97) | def __init__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/actor_control.py class ActorControl (line 28) | class ActorControl(object): method __init__ (line 65) | def __init__(self, actor, control_py_module, args, scenario_file_path): method reset (line 91) | def reset(self): method update_target_speed (line 97) | def update_target_speed(self, target_speed, start_time=None): method update_waypoints (line 109) | def update_waypoints(self, waypoints, start_time=None): method update_offset (line 121) | def update_offset(self, offset, start_time=None): method check_reached_waypoint_goal (line 134) | def check_reached_waypoint_goal(self): method get_last_longitudinal_command (line 143) | def get_last_longitudinal_command(self): method get_last_waypoint_command (line 152) | def get_last_waypoint_command(self): method get_last_lane_offset_command (line 161) | def get_last_lane_offset_command(self): method set_init_speed (line 170) | def set_init_speed(self): method run_step (line 176) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/basic_control.py class BasicControl (line 17) | class BasicControl(object): method __init__ (line 51) | def __init__(self, actor): method update_target_speed (line 57) | def update_target_speed(self, speed): method update_waypoints (line 67) | def update_waypoints(self, waypoints, start_time=None): method update_offset (line 77) | def update_offset(self, offset, start_time=None): method set_init_speed (line 87) | def set_init_speed(self): method check_reached_waypoint_goal (line 93) | def check_reached_waypoint_goal(self): method reset (line 102) | def reset(self): method run_step (line 111) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/carla_autopilot.py class CarlaAutoPilotControl (line 21) | class CarlaAutoPilotControl(BasicControl): method __init__ (line 35) | def __init__(self, actor, args=None): method reset (line 39) | def reset(self): method run_step (line 45) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/external_control.py class ExternalControl (line 19) | class ExternalControl(BasicControl): method __init__ (line 29) | def __init__(self, actor, args=None): method reset (line 32) | def reset(self): method run_step (line 39) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/npc_vehicle_control.py class NpcVehicleControl (line 22) | class NpcVehicleControl(BasicControl): method __init__ (line 35) | def __init__(self, actor, args=None): method _update_plan (line 48) | def _update_plan(self): method _update_offset (line 59) | def _update_offset(self): method reset (line 65) | def reset(self): method run_step (line 75) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/pedestrian_control.py class PedestrianControl (line 19) | class PedestrianControl(BasicControl): method __init__ (line 28) | def __init__(self, actor, args=None): method reset (line 34) | def reset(self): method run_step (line 41) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/simple_vehicle_control.py class SimpleVehicleControl (line 28) | class SimpleVehicleControl(BasicControl): method __init__ (line 85) | def __init__(self, actor, args=None): method _on_obstacle (line 128) | def _on_obstacle(self, event): method reset (line 140) | def reset(self): method run_step (line 153) | def run_step(self): method _offset_waypoint (line 221) | def _offset_waypoint(self, transform): method _set_new_velocity (line 241) | def _set_new_velocity(self, next_location): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/vehicle_longitudinal_control.py class VehicleLongitudinalControl (line 19) | class VehicleLongitudinalControl(BasicControl): method __init__ (line 30) | def __init__(self, actor, args=None): method reset (line 33) | def reset(self): method run_step (line 40) | def run_step(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/actorcontrols/visualizer.py class Visualizer (line 26) | class Visualizer(object): method __init__ (line 56) | def __init__(self, actor): method reset (line 83) | def reset(self): method _on_camera_update (line 94) | def _on_camera_update(self, image, birdseye): method render (line 112) | def render(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/carla_data_provider.py function calculate_velocity (line 25) | def calculate_velocity(actor): class CarlaDataProvider (line 34) | class CarlaDataProvider(object): # pylint: disable=too-many-public-methods method register_actor (line 74) | def register_actor(actor, transform=None): method update_osc_global_params (line 100) | def update_osc_global_params(parameters): method get_osc_global_param_value (line 107) | def get_osc_global_param_value(ref): method register_actors (line 114) | def register_actors(actors, transforms=None): method on_carla_tick (line 125) | def on_carla_tick(): method get_velocity (line 149) | def get_velocity(actor): method get_location (line 163) | def get_location(actor): method get_transform (line 177) | def get_transform(actor): method set_client (line 191) | def set_client(client): method get_client (line 198) | def get_client(): method set_world (line 205) | def set_world(world): method get_world (line 218) | def get_world(): method get_map (line 225) | def get_map(world=None): method get_random_seed (line 241) | def get_random_seed(): method get_global_route_planner (line 248) | def get_global_route_planner(): method get_all_actors (line 255) | def get_all_actors(): method is_sync_mode (line 268) | def is_sync_mode(): method set_runtime_init_mode (line 275) | def set_runtime_init_mode(flag): method is_runtime_init_mode (line 282) | def is_runtime_init_mode(): method find_weather_presets (line 289) | def find_weather_presets(): method prepare_map (line 299) | def prepare_map(): method annotate_trafficlight_in_group (line 317) | def annotate_trafficlight_in_group(traffic_light): method get_trafficlight_trigger_location (line 353) | def get_trafficlight_trigger_location(traffic_light): # pylint: dis... method update_light_states (line 377) | def update_light_states(ego_light, annotations, states, freeze=False, ... method reset_lights (line 409) | def reset_lights(reset_params): method get_next_traffic_light (line 420) | def get_next_traffic_light(actor, use_cached_location=True): method generate_spawn_points (line 457) | def generate_spawn_points(): method create_blueprint (line 467) | def create_blueprint(model, rolename='scenario', color=None, actor_cat... method handle_actor_batch (line 553) | def handle_actor_batch(batch, tick=True): method request_new_actor (line 585) | def request_new_actor(model, spawn_point, rolename='scenario', autopil... method request_new_actors (line 636) | def request_new_actors(actor_list, attribute_filter=None, tick=True): method request_new_batch_actors (line 711) | def request_new_batch_actors(model, amount, spawn_points, autopilot=Fa... method get_actors (line 764) | def get_actors(): method actor_id_exists (line 773) | def actor_id_exists(actor_id): method get_hero_actor (line 783) | def get_hero_actor(): method get_actor_by_id (line 793) | def get_actor_by_id(actor_id): method remove_actor_by_id (line 805) | def remove_actor_by_id(actor_id): method remove_actors_in_surrounding (line 817) | def remove_actors_in_surrounding(location, distance): method get_traffic_manager_port (line 831) | def get_traffic_manager_port(): method set_traffic_manager_port (line 838) | def set_traffic_manager_port(tm_port): method cleanup (line 845) | def cleanup(): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/lights_sim.py class RouteLightsBehavior (line 20) | class RouteLightsBehavior(py_trees.behaviour.Behaviour): method __init__ (line 36) | def __init__(self, ego_vehicle, radius=50, radius_increase=15, name="L... method update (line 51) | def update(self): method _get_night_mode (line 70) | def _get_night_mode(self, weather): method _turn_close_lights_on (line 91) | def _turn_close_lights_on(self, location): method _turn_all_lights_off (line 134) | def _turn_all_lights_off(self): method terminate (line 154) | def terminate(self, new_status): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/result_writer.py class ResultOutputProvider (line 20) | class ResultOutputProvider(object): method __init__ (line 27) | def __init__(self, data, result, stdout=True, filename=None, junitfile... method write (line 49) | def write(self): method create_output_text (line 65) | def create_output_text(self): method _write_to_reportjson (line 137) | def _write_to_reportjson(self): method _write_to_junit (line 206) | def _write_to_junit(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/scenario_manager.py class ScenarioManager (line 26) | class ScenarioManager(object): method __init__ (line 44) | def __init__(self, debug_mode=False, sync_mode=False, timeout=2.0): method _reset (line 67) | def _reset(self): method cleanup (line 79) | def cleanup(self): method load_scenario (line 97) | def load_scenario(self, scenario, agent=None): method run_scenario (line 116) | def run_scenario(self): method _tick_scenario (line 150) | def _tick_scenario(self, timestamp): method get_running_status (line 188) | def get_running_status(self): method stop_scenario (line 195) | def stop_scenario(self): method analyze_scenario (line 201) | def analyze_scenario(self, stdout, filename, junit, json): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_behaviors.py function calculate_distance (line 49) | def calculate_distance(location, other_location, global_planner=None): function get_actor_control (line 76) | def get_actor_control(actor): class AtomicBehavior (line 90) | class AtomicBehavior(py_trees.behaviour.Behaviour): method __init__ (line 101) | def __init__(self, name, actor=None): method setup (line 110) | def setup(self, unused_timeout=15): method initialise (line 117) | def initialise(self): method terminate (line 133) | def terminate(self, new_status): class RunScript (line 140) | class RunScript(AtomicBehavior): method __init__ (line 160) | def __init__(self, script, base_path=None, name="RunScript"): method update (line 169) | def update(self): class ChangeParameter (line 191) | class ChangeParameter(AtomicBehavior): method __init__ (line 200) | def __init__(self, parameter_ref, value, rule=None, name="ChangeParame... method update (line 207) | def update(self): class ChangeWeather (line 227) | class ChangeWeather(AtomicBehavior): method __init__ (line 244) | def __init__(self, weather, name="ChangeWeather"): method update (line 251) | def update(self): class ChangeRoadFriction (line 262) | class ChangeRoadFriction(AtomicBehavior): method __init__ (line 278) | def __init__(self, friction, name="ChangeRoadFriction"): method update (line 285) | def update(self): class ChangeActorControl (line 311) | class ChangeActorControl(AtomicBehavior): method __init__ (line 332) | def __init__(self, actor, control_py_module, args, scenario_file_path=... method update (line 341) | def update(self): class UpdateAllActorControls (line 368) | class UpdateAllActorControls(AtomicBehavior): method __init__ (line 380) | def __init__(self, name="UpdateAllActorControls"): method update (line 386) | def update(self): class ChangeActorTargetSpeed (line 408) | class ChangeActorTargetSpeed(AtomicBehavior): method __init__ (line 459) | def __init__(self, actor, target_speed, init_speed=False, method initialise (line 480) | def initialise(self): method update (line 520) | def update(self): class SyncArrivalOSC (line 570) | class SyncArrivalOSC(AtomicBehavior): method __init__ (line 593) | def __init__(self, actor, master_actor, actor_target, master_target, f... method initialise (line 613) | def initialise(self): method update (line 651) | def update(self): method terminate (line 695) | def terminate(self, new_status): class ChangeActorWaypoints (line 728) | class ChangeActorWaypoints(AtomicBehavior): method __init__ (line 756) | def __init__(self, actor, waypoints, name="ChangeActorWaypoints"): method initialise (line 765) | def initialise(self): method update (line 842) | def update(self): class ChangeActorLateralMotion (line 872) | class ChangeActorLateralMotion(AtomicBehavior): method __init__ (line 914) | def __init__(self, actor, direction='left', distance_lane_change=25, d... method initialise (line 933) | def initialise(self): method update (line 972) | def update(self): class ChangeActorLaneOffset (line 1030) | class ChangeActorLaneOffset(AtomicBehavior): method __init__ (line 1065) | def __init__(self, actor, offset, relative_actor=None, continuous=True... method initialise (line 1080) | def initialise(self): method update (line 1106) | def update(self): method terminate (line 1182) | def terminate(self, new_status): class ActorTransformSetterToOSCPosition (line 1202) | class ActorTransformSetterToOSCPosition(AtomicBehavior): method __init__ (line 1222) | def __init__(self, actor, osc_position, physics=True, name="ActorTrans... method initialise (line 1231) | def initialise(self): method update (line 1239) | def update(self): class AccelerateToVelocity (line 1261) | class AccelerateToVelocity(AtomicBehavior): method __init__ (line 1276) | def __init__(self, actor, throttle_value, target_velocity, name="Accel... method initialise (line 1287) | def initialise(self): method update (line 1295) | def update(self): class AccelerateToCatchUp (line 1314) | class AccelerateToCatchUp(AtomicBehavior): method __init__ (line 1334) | def __init__(self, actor, other_actor, throttle_value=1, delta_velocit... method initialise (line 1352) | def initialise(self): method update (line 1358) | def update(self): class KeepVelocity (line 1393) | class KeepVelocity(AtomicBehavior): method __init__ (line 1412) | def __init__(self, actor, target_velocity, force_speed=False, method initialise (line 1434) | def initialise(self): method update (line 1448) | def update(self): method terminate (line 1485) | def terminate(self, new_status): class ChangeAutoPilot (line 1502) | class ChangeAutoPilot(AtomicBehavior): method __init__ (line 1518) | def __init__(self, actor, activate, parameters=None, name="ChangeAutoP... method update (line 1529) | def update(self): class StopVehicle (line 1567) | class StopVehicle(AtomicBehavior): method __init__ (line 1580) | def __init__(self, actor, brake_value, name="Stopping"): method update (line 1591) | def update(self): class SyncArrival (line 1613) | class SyncArrival(AtomicBehavior): method __init__ (line 1630) | def __init__(self, actor, actor_reference, target_location, gain=1, na... method update (line 1643) | def update(self): method terminate (line 1677) | def terminate(self, new_status): class SyncArrivalWithAgent (line 1689) | class SyncArrivalWithAgent(AtomicBehavior): method __init__ (line 1708) | def __init__(self, actor, reference_actor, actor_target, reference_tar... method initialise (line 1723) | def initialise(self): method update (line 1730) | def update(self): method terminate (line 1767) | def terminate(self, new_status): class CutIn (line 1774) | class CutIn(AtomicBehavior): method __init__ (line 1793) | def __init__(self, actor, reference_actor, direction, speed_perc=100, method initialise (line 1812) | def initialise(self): method update (line 1822) | def update(self): class AddNoiseToVehicle (line 1837) | class AddNoiseToVehicle(AtomicBehavior): method __init__ (line 1851) | def __init__(self, actor, steer_value, throttle_value, name="Jittering"): method update (line 1861) | def update(self): class AddNoiseToRouteEgo (line 1876) | class AddNoiseToRouteEgo(AtomicBehavior): method __init__ (line 1890) | def __init__(self, actor, throttle_mean, throttle_std, steer_mean, ste... method update (line 1902) | def update(self): class ChangeNoiseParameters (line 1925) | class ChangeNoiseParameters(AtomicBehavior): method __init__ (line 1936) | def __init__(self, new_steer_noise, new_throttle_noise, method update (line 1952) | def update(self): class BasicAgentBehavior (line 1965) | class BasicAgentBehavior(AtomicBehavior): method __init__ (line 1977) | def __init__(self, actor, target_location=None, plan=None, target_spee... method initialise (line 1994) | def initialise(self): method update (line 2006) | def update(self): method terminate (line 2017) | def terminate(self, new_status): class ConstantVelocityAgentBehavior (line 2025) | class ConstantVelocityAgentBehavior(AtomicBehavior): method __init__ (line 2040) | def __init__(self, actor, target_location, target_speed=None, method initialise (line 2057) | def initialise(self): method update (line 2067) | def update(self): method terminate (line 2081) | def terminate(self, new_status): class AdaptiveConstantVelocityAgentBehavior (line 2090) | class AdaptiveConstantVelocityAgentBehavior(AtomicBehavior): method __init__ (line 2108) | def __init__(self, actor, reference_actor, target_location=None, speed... method initialise (line 2125) | def initialise(self): method update (line 2139) | def update(self): method terminate (line 2155) | def terminate(self, new_status): class Idle (line 2164) | class Idle(AtomicBehavior): method __init__ (line 2176) | def __init__(self, duration=float("inf"), name="Idle"): method initialise (line 2185) | def initialise(self): method update (line 2192) | def update(self): class WaitForever (line 2203) | class WaitForever(AtomicBehavior): method __init__ (line 2212) | def __init__(self, name="WaitForever"): method update (line 2219) | def update(self): class WaypointFollower (line 2226) | class WaypointFollower(AtomicBehavior): method __init__ (line 2268) | def __init__(self, actor, target_speed=None, plan=None, blackboard_que... method initialise (line 2287) | def initialise(self): method _apply_local_planner (line 2314) | def _apply_local_planner(self, actor): method update (line 2353) | def update(self): method terminate (line 2428) | def terminate(self, new_status): class LaneChange (line 2447) | class LaneChange(WaypointFollower): method __init__ (line 2475) | def __init__(self, actor, speed=10, direction='left', distance_same_la... method initialise (line 2491) | def initialise(self): method update (line 2502) | def update(self): class SetInitSpeed (line 2526) | class SetInitSpeed(AtomicBehavior): method __init__ (line 2533) | def __init__(self, actor, init_speed=10, name='SetInitSpeed'): method initialise (line 2541) | def initialise(self): method update (line 2553) | def update(self): class HandBrakeVehicle (line 2561) | class HandBrakeVehicle(AtomicBehavior): method __init__ (line 2574) | def __init__(self, vehicle, hand_brake_value, name="Braking"): method update (line 2584) | def update(self): class ActorDestroy (line 2601) | class ActorDestroy(AtomicBehavior): method __init__ (line 2613) | def __init__(self, actor, name="ActorDestroy"): method update (line 2620) | def update(self): class ActorTransformSetter (line 2630) | class ActorTransformSetter(AtomicBehavior): method __init__ (line 2650) | def __init__(self, actor, transform, physics=True, name="ActorTransfor... method initialise (line 2659) | def initialise(self): method update (line 2666) | def update(self): class BatchActorTransformSetter (line 2683) | class BatchActorTransformSetter(AtomicBehavior): method __init__ (line 2696) | def __init__(self, actor_transform_list, physics=True, name="BatchActo... method update (line 2705) | def update(self): class TrafficLightStateSetter (line 2720) | class TrafficLightStateSetter(AtomicBehavior): method __init__ (line 2732) | def __init__(self, actor, state, name="TrafficLightStateSetter"): method update (line 2742) | def update(self): class ActorSource (line 2760) | class ActorSource(AtomicBehavior): method __init__ (line 2777) | def __init__(self, actor_type_list, transform, threshold, blackboard_q... method update (line 2791) | def update(self): class ActorSink (line 2818) | class ActorSink(AtomicBehavior): method __init__ (line 2832) | def __init__(self, sink_location, threshold, name="ActorSink"): method update (line 2840) | def update(self): class ActorFlow (line 2846) | class ActorFlow(AtomicBehavior): method __init__ (line 2861) | def __init__(self, source_wp, sink_wp, spawn_dist_interval, sink_dist=2, method initialise (line 2897) | def initialise(self): method _spawn_actor (line 2912) | def _spawn_actor(self, transform): method update (line 2941) | def update(self): method stop_constant_velocity (line 2969) | def stop_constant_velocity(self): method terminate (line 2979) | def terminate(self, new_status): class OppositeActorFlow (line 3010) | class OppositeActorFlow(AtomicBehavior): method __init__ (line 3024) | def __init__(self, reference_wp, reference_actor, spawn_dist_interval, method _move_waypoint_forward (line 3055) | def _move_waypoint_forward(self, wp, distance): method _move_waypoint_backwards (line 3068) | def _move_waypoint_backwards(self, wp, distance): method initialise (line 3081) | def initialise(self): method _spawn_actor (line 3097) | def _spawn_actor(self): method update (line 3111) | def update(self): method terminate (line 3137) | def terminate(self, new_status): class InvadingActorFlow (line 3159) | class InvadingActorFlow(AtomicBehavior): method __init__ (line 3173) | def __init__(self, source_wp, sink_wp, reference_actor, spawn_dist, method initialise (line 3208) | def initialise(self): method _spawn_actor (line 3214) | def _spawn_actor(self): method update (line 3226) | def update(self): method terminate (line 3252) | def terminate(self, new_status): class BicycleFlow (line 3274) | class BicycleFlow(AtomicBehavior): method __init__ (line 3288) | def __init__(self, plan, spawn_dist_interval, sink_dist=2, method initialise (line 3317) | def initialise(self): method _spawn_actor (line 3329) | def _spawn_actor(self, transform): method update (line 3365) | def update(self): method terminate (line 3395) | def terminate(self, new_status): class OpenVehicleDoor (line 3417) | class OpenVehicleDoor(AtomicBehavior): method __init__ (line 3429) | def __init__(self, actor, vehicle_door, name="OpenVehicleDoor"): method initialise (line 3437) | def initialise(self): method update (line 3444) | def update(self): class TrafficLightFreezer (line 3453) | class TrafficLightFreezer(AtomicBehavior): method __init__ (line 3463) | def __init__(self, traffic_lights_dict, duration=10000, name="TrafficL... method initialise (line 3471) | def initialise(self): method update (line 3490) | def update(self): method terminate (line 3497) | def terminate(self, new_status): class StartRecorder (line 3507) | class StartRecorder(AtomicBehavior): method __init__ (line 3522) | def __init__(self, recorder_name, name="StartRecorder"): method update (line 3530) | def update(self): class StopRecorder (line 3535) | class StopRecorder(AtomicBehavior): method __init__ (line 3544) | def __init__(self, name="StopRecorder"): method update (line 3551) | def update(self): class TrafficLightManipulator (line 3556) | class TrafficLightManipulator(AtomicBehavior): method __init__ (line 3608) | def __init__(self, ego_vehicle, subtype, debug=False, name="TrafficLig... method update (line 3628) | def update(self): method passed_enough_time (line 3740) | def passed_enough_time(self, time_limit): method set_intersection_state (line 3763) | def set_intersection_state(self, choice): method get_waiting_time (line 3775) | def get_waiting_time(self, annotation, direction): method get_traffic_light_configuration (line 3791) | def get_traffic_light_configuration(self, subtype, annotations): method variable_cleanup (line 3828) | def variable_cleanup(self): class ScenarioTriggerer (line 3843) | class ScenarioTriggerer(AtomicBehavior): method __init__ (line 3854) | def __init__(self, actor, route, blackboard_list, distance, debug=Fals... method add_blackboard (line 3873) | def add_blackboard(self, blackboard): method update (line 3879) | def update(self): class KeepLongitudinalGap (line 3946) | class KeepLongitudinalGap(AtomicBehavior): method __init__ (line 3959) | def __init__(self, actor, reference_actor, gap, gap_type="distance", m... method initialise (line 3979) | def initialise(self): method update (line 3998) | def update(self): class SwitchWrongDirectionTest (line 4047) | class SwitchWrongDirectionTest(AtomicBehavior): method __init__ (line 4057) | def __init__(self, active, name="SwitchWrongDirectionTest"): method update (line 4064) | def update(self): class SwitchMinSpeedCriteria (line 4069) | class SwitchMinSpeedCriteria(AtomicBehavior): method __init__ (line 4071) | def __init__(self, active, name="ChangeMinSpeed"): method update (line 4079) | def update(self): class WalkerFlow (line 4088) | class WalkerFlow(AtomicBehavior): method __init__ (line 4105) | def __init__(self, source_location, sink_locations, sink_locations_pro... method update (line 4134) | def update(self): method _destroy_walker (line 4174) | def _destroy_walker(self, walker, controller): method terminate (line 4179) | def terminate(self, new_status): class AIWalkerBehavior (line 4189) | class AIWalkerBehavior(AtomicBehavior): method __init__ (line 4200) | def __init__(self, source_location, sink_location, method initialise (line 4218) | def initialise(self): method update (line 4240) | def update(self): method _destroy_walker (line 4252) | def _destroy_walker(self, walker, controller): method terminate (line 4259) | def terminate(self, new_status): class ScenarioTimeout (line 4269) | class ScenarioTimeout(AtomicBehavior): method __init__ (line 4284) | def __init__(self, duration, scenario_name, name="ScenarioTimeout"): method initialise (line 4296) | def initialise(self): method update (line 4304) | def update(self): method terminate (line 4316) | def terminate(self, new_status): class MovePedestrianWithEgo (line 4327) | class MovePedestrianWithEgo(AtomicBehavior): method __init__ (line 4329) | def __init__(self, reference_actor, actor, distance, displacement=0, n... method initialise (line 4347) | def initialise(self): method update (line 4356) | def update(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria.py class Criterion (line 31) | class Criterion(py_trees.behaviour.Behaviour): method __init__ (line 49) | def __init__(self, method initialise (line 71) | def initialise(self): method terminate (line 77) | def terminate(self, new_status): class MaxVelocityTest (line 87) | class MaxVelocityTest(Criterion): method __init__ (line 98) | def __init__(self, actor, max_velocity, optional=False, name="CheckMax... method update (line 105) | def update(self): class DrivenDistanceTest (line 131) | class DrivenDistanceTest(Criterion): method __init__ (line 144) | def __init__(self, actor, distance, acceptable_distance=None, optional... method initialise (line 153) | def initialise(self): method update (line 157) | def update(self): method terminate (line 193) | def terminate(self, new_status): class AverageVelocityTest (line 203) | class AverageVelocityTest(Criterion): method __init__ (line 217) | def __init__(self, actor, velocity, acceptable_velocity=None, optional... method initialise (line 228) | def initialise(self): method update (line 232) | def update(self): method terminate (line 272) | def terminate(self, new_status): class CollisionTest (line 281) | class CollisionTest(Criterion): method __init__ (line 299) | def __init__(self, actor, other_actor=None, other_actor_type=None, method initialise (line 315) | def initialise(self): method update (line 324) | def update(self): method terminate (line 349) | def terminate(self, new_status): method _count_collisions (line 359) | def _count_collisions(self, event): # pylint: disable=too-many-ret... class ActorBlockedTest (line 417) | class ActorBlockedTest(Criterion): method __init__ (line 429) | def __init__(self, actor, min_speed, max_time, name="ActorBlockedTest"... method update (line 440) | def update(self): class KeepLaneTest (line 479) | class KeepLaneTest(Criterion): method __init__ (line 488) | def __init__(self, actor, optional=False, name="CheckKeepLane"): method update (line 499) | def update(self): method terminate (line 517) | def terminate(self, new_status): method _count_lane_invasion (line 526) | def _count_lane_invasion(self, event): class ReachedRegionTest (line 533) | class ReachedRegionTest(Criterion): method __init__ (line 544) | def __init__(self, actor, min_x, max_x, min_y, max_y, name="ReachedReg... method update (line 555) | def update(self): class OffRoadTest (line 581) | class OffRoadTest(Criterion): method __init__ (line 597) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 610) | def update(self): class EndofRoadTest (line 661) | class EndofRoadTest(Criterion): method __init__ (line 675) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 689) | def update(self): class OnSidewalkTest (line 728) | class OnSidewalkTest(Criterion): method __init__ (line 743) | def __init__(self, actor, duration=0, optional=False, terminate_on_fai... method update (line 762) | def update(self): method terminate (line 924) | def terminate(self, new_status): method _set_event_message (line 960) | def _set_event_message(self, event, location, distance): method _set_event_dict (line 977) | def _set_event_dict(self, event, location, distance): class OutsideRouteLanesTest (line 984) | class OutsideRouteLanesTest(Criterion): method __init__ (line 1001) | def __init__(self, actor, route, optional=False, name="OutsideRouteLan... method update (line 1026) | def update(self): method _set_traffic_event (line 1082) | def _set_traffic_event(self): method _is_outside_driving_lanes (line 1106) | def _is_outside_driving_lanes(self, location): method _is_at_wrong_lane (line 1128) | def _is_at_wrong_lane(self, location): class WrongLaneTest (line 1169) | class WrongLaneTest(Criterion): method __init__ (line 1181) | def __init__(self, actor, optional=False, name="WrongLaneTest"): method update (line 1198) | def update(self): method terminate (line 1292) | def terminate(self, new_status): method _set_event_message (line 1314) | def _set_event_message(self, event, location, distance, road_id, lane_... method _set_event_dict (line 1329) | def _set_event_dict(self, event, location, distance, road_id, lane_id): class InRadiusRegionTest (line 1340) | class InRadiusRegionTest(Criterion): method __init__ (line 1350) | def __init__(self, actor, x, y, radius, name="InRadiusRegionTest"): method update (line 1359) | def update(self): class InRouteTest (line 1387) | class InRouteTest(Criterion): method __init__ (line 1403) | def __init__(self, actor, route, offroad_min=None, offroad_max=30, nam... method update (line 1438) | def update(self): class RouteCompletionTest (line 1513) | class RouteCompletionTest(Criterion): method __init__ (line 1529) | def __init__(self, actor, route, name="RouteCompletionTest", terminate... method _get_acummulated_percentages (line 1550) | def _get_acummulated_percentages(self): method update (line 1564) | def update(self): method terminate (line 1606) | def terminate(self, new_status): class RunningRedLightTest (line 1620) | class RunningRedLightTest(Criterion): method __init__ (line 1631) | def __init__(self, actor, name="RunningRedLightTest", terminate_on_fai... method is_vehicle_crossing_line (line 1649) | def is_vehicle_crossing_line(self, seg1, seg2): method update (line 1659) | def update(self): method rotate_point (line 1751) | def rotate_point(self, point, angle): method get_traffic_light_waypoints (line 1759) | def get_traffic_light_waypoints(self, traffic_light): class RunningStopTest (line 1799) | class RunningStopTest(Criterion): method __init__ (line 1812) | def __init__(self, actor, name="RunningStopTest", terminate_on_failure... method point_inside_boundingbox (line 1828) | def point_inside_boundingbox(self, point, bb_center, bb_extent, multip... method is_actor_affected_by_stop (line 1847) | def is_actor_affected_by_stop(self, wp_list, stop): method _scan_for_stop_sign (line 1867) | def _scan_for_stop_sign(self, actor_transform, wp_list): method _get_waypoints (line 1888) | def _get_waypoints(self, actor): method update (line 1908) | def update(self): class MinimumSpeedRouteTest (line 1957) | class MinimumSpeedRouteTest(Criterion): method __init__ (line 1970) | def __init__(self, actor, route, checkpoints=1, name="MinimumSpeedRout... method update (line 2003) | def update(self): method _set_traffic_event (line 2058) | def _set_traffic_event(self): method terminate (line 2075) | def terminate(self, new_status): class YieldToEmergencyVehicleTest (line 2089) | class YieldToEmergencyVehicleTest(Criterion): method __init__ (line 2103) | def __init__(self, actor, ev, optional=False, name="YieldToEmergencyVe... method update (line 2111) | def update(self): method terminate (line 2138) | def terminate(self, new_status): class ScenarioTimeoutTest (line 2152) | class ScenarioTimeoutTest(Criterion): method __init__ (line 2162) | def __init__(self, actor, scenario_name, optional=False, name="Scenari... method update (line 2171) | def update(self): method terminate (line 2177) | def terminate(self, new_status): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_trigger_conditions.py class AtomicCondition (line 41) | class AtomicCondition(py_trees.behaviour.Behaviour): method __init__ (line 52) | def __init__(self, name): method setup (line 60) | def setup(self, unused_timeout=15): method initialise (line 67) | def initialise(self): method terminate (line 73) | def terminate(self, new_status): class InTriggerDistanceToOSCPosition (line 80) | class InTriggerDistanceToOSCPosition(AtomicCondition): method __init__ (line 95) | def __init__(self, actor, osc_position, distance, along_route=False, method initialise (line 114) | def initialise(self): method update (line 118) | def update(self): class InTimeToArrivalToOSCPosition (line 145) | class InTimeToArrivalToOSCPosition(AtomicCondition): method __init__ (line 160) | def __init__(self, actor, osc_position, time, along_route=False, method initialise (line 179) | def initialise(self): method update (line 183) | def update(self): class StandStill (line 223) | class StandStill(AtomicCondition): method __init__ (line 236) | def __init__(self, actor, name, duration=float("inf")): method initialise (line 247) | def initialise(self): method update (line 254) | def update(self): class RelativeVelocityToOtherActor (line 273) | class RelativeVelocityToOtherActor(AtomicCondition): method __init__ (line 288) | def __init__(self, actor, other_actor, speed, comparison_operator=oper... method update (line 300) | def update(self): class TriggerVelocity (line 323) | class TriggerVelocity(AtomicCondition): method __init__ (line 337) | def __init__(self, actor, target_velocity, comparison_operator=operato... method update (line 347) | def update(self): class TriggerAcceleration (line 367) | class TriggerAcceleration(AtomicCondition): method __init__ (line 381) | def __init__(self, actor, target_acceleration, comparison_operator=ope... method update (line 391) | def update(self): class TimeOfDayComparison (line 414) | class TimeOfDayComparison(AtomicCondition): method __init__ (line 428) | def __init__(self, dattime, comparison_operator=operator.gt, name="Tim... method update (line 436) | def update(self): class OSCStartEndCondition (line 460) | class OSCStartEndCondition(AtomicCondition): method __init__ (line 473) | def __init__(self, element_type, element_name, rule, name="OSCStartEnd... method initialise (line 485) | def initialise(self): method update (line 492) | def update(self): class InTriggerRegion (line 509) | class InTriggerRegion(AtomicCondition): method __init__ (line 522) | def __init__(self, actor, min_x, max_x, min_y, max_y, name="TriggerReg... method update (line 535) | def update(self): class InTriggerDistanceToVehicle (line 556) | class InTriggerDistanceToVehicle(AtomicCondition): method __init__ (line 574) | def __init__(self, reference_actor, actor, distance, comparison_operat... method update (line 593) | def update(self): class InTriggerDistanceToLocation (line 616) | class InTriggerDistanceToLocation(AtomicCondition): method __init__ (line 631) | def __init__(self, method update (line 647) | def update(self): class InTriggerDistanceToNextIntersection (line 668) | class InTriggerDistanceToNextIntersection(AtomicCondition): method __init__ (line 682) | def __init__(self, actor, distance, name="InTriggerDistanceToNextInter... method update (line 698) | def update(self): class InTriggerDistanceToLocationAlongRoute (line 715) | class InTriggerDistanceToLocationAlongRoute(AtomicCondition): method __init__ (line 732) | def __init__(self, actor, route, location, distance, name="InTriggerDi... method update (line 745) | def update(self): class InTimeToArrivalToLocation (line 766) | class InTimeToArrivalToLocation(AtomicCondition): method __init__ (line 783) | def __init__(self, actor, time, location, comparison_operator=operator... method update (line 794) | def update(self): class InTimeToArrivalToVehicle (line 821) | class InTimeToArrivalToVehicle(AtomicCondition): method __init__ (line 838) | def __init__(self, actor, other_actor, time, condition_freespace=False, method update (line 859) | def update(self): class InTimeToArrivalToVehicleSideLane (line 912) | class InTimeToArrivalToVehicleSideLane(InTimeToArrivalToLocation): method __init__ (line 930) | def __init__(self, actor, other_actor, time, side_lane, method update (line 957) | def update(self): class WaitUntilInFront (line 985) | class WaitUntilInFront(AtomicCondition): method __init__ (line 998) | def __init__(self, actor, other_actor, factor=1, check_distance=True, ... method update (line 1018) | def update(self): class WaitUntilInFrontPosition (line 1061) | class WaitUntilInFrontPosition(AtomicCondition): method __init__ (line 1071) | def __init__(self, actor, transform, check_distance=True, distance=10,... method update (line 1086) | def update(self): class DriveDistance (line 1112) | class DriveDistance(AtomicCondition): method __init__ (line 1124) | def __init__(self, actor, distance, name="DriveDistance"): method initialise (line 1135) | def initialise(self): method update (line 1139) | def update(self): class AtRightmostLane (line 1159) | class AtRightmostLane(AtomicCondition): method __init__ (line 1170) | def __init__(self, actor, name="AtRightmostLane"): method update (line 1179) | def update(self): class WaitForTrafficLightState (line 1201) | class WaitForTrafficLightState(AtomicCondition): method __init__ (line 1214) | def __init__(self, actor, state, name="WaitForTrafficLightState"): method update (line 1223) | def update(self): class WaitEndIntersection (line 1240) | class WaitEndIntersection(AtomicCondition): method __init__ (line 1248) | def __init__(self, actor, junction_id=None, debug=False, name="WaitEnd... method update (line 1256) | def update(self): class WaitForBlackboardVariable (line 1280) | class WaitForBlackboardVariable(AtomicCondition): method __init__ (line 1289) | def __init__(self, variable_name, variable_value, var_init_value=None, method update (line 1301) | def update(self): class CheckParameter (line 1315) | class CheckParameter(AtomicCondition): method __init__ (line 1321) | def __init__(self, parameter_ref, value, comparison_operator, debug=Fa... method update (line 1328) | def update(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/timer.py class GameTime (line 20) | class GameTime(object): method on_carla_tick (line 36) | def on_carla_tick(timestamp): method restart (line 50) | def restart(): method get_time (line 60) | def get_time(): method get_carla_time (line 67) | def get_carla_time(): method get_wallclocktime (line 74) | def get_wallclocktime(): method get_frame (line 81) | def get_frame(): class SimulationTimeCondition (line 88) | class SimulationTimeCondition(py_trees.behaviour.Behaviour): method __init__ (line 98) | def __init__(self, timeout, comparison_operator=operator.gt, name="Sim... method initialise (line 108) | def initialise(self): method update (line 115) | def update(self): class TimeOut (line 134) | class TimeOut(SimulationTimeCondition): method __init__ (line 142) | def __init__(self, timeout, name="TimeOut"): method update (line 149) | def update(self): class RouteTimeoutBehavior (line 162) | class RouteTimeoutBehavior(py_trees.behaviour.Behaviour): method __init__ (line 170) | def __init__(self, ego_vehicle, route, debug=False, name="RouteTimeout... method initialise (line 201) | def initialise(self): method update (line 208) | def update(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/traffic_events.py class TrafficEventType (line 13) | class TrafficEventType(Enum): class TrafficEvent (line 38) | class TrafficEvent(object): method __init__ (line 44) | def __init__(self, event_type, frame, message="", dictionary=None): method get_type (line 58) | def get_type(self): method get_frame (line 62) | def get_frame(self): method set_frame (line 66) | def set_frame(self, frame): method set_message (line 70) | def set_message(self, message): method get_message (line 74) | def get_message(self): method set_dict (line 78) | def set_dict(self, dictionary): method get_dict (line 82) | def get_dict(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/watchdog.py class Watchdog (line 21) | class Watchdog(object): method __init__ (line 35) | def __init__(self, timeout=1.0, interval=None): method start (line 43) | def start(self): method stop (line 51) | def stop(self): method pause (line 58) | def pause(self): method resume (line 63) | def resume(self): method update (line 68) | def update(self): method _callback (line 76) | def _callback(self, watchdog): method get_status (line 84) | def get_status(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenariomanager/weather_sim.py class Weather (line 26) | class Weather(object): method __init__ (line 51) | def __init__(self, carla_weather, dtime=None, animation=False): method update (line 71) | def update(self, delta_time=0): class OSCWeatherBehavior (line 91) | class OSCWeatherBehavior(py_trees.behaviour.Behaviour): method __init__ (line 111) | def __init__(self, name="WeatherBehavior"): method initialise (line 119) | def initialise(self): method update (line 125) | def update(self): class RouteWeatherBehavior (line 169) | class RouteWeatherBehavior(py_trees.behaviour.Behaviour): method __init__ (line 182) | def __init__(self, ego_vehicle, route, weathers, debug=False, name="Ro... method _get_route_percentages (line 218) | def _get_route_percentages(self): method get_route_weathers (line 233) | def get_route_weathers(self): method update (line 275) | def update(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/actor_flow.py function convert_dict_to_location (line 34) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 45) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 51) | def get_interval_parameter(config, name, p_type, default): class EnterActorFlow (line 60) | class EnterActorFlow(BasicScenario): method __init__ (line 67) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 96) | def _create_behavior(self): method _create_test_criteria (line 144) | def _create_test_criteria(self): method __del__ (line 154) | def __del__(self): class EnterActorFlowV2 (line 161) | class EnterActorFlowV2(EnterActorFlow): method _create_behavior (line 165) | def _create_behavior(self): class HighwayExit (line 230) | class HighwayExit(BasicScenario): method __init__ (line 240) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 267) | def _create_behavior(self): method _create_test_criteria (line 298) | def _create_test_criteria(self): method __del__ (line 308) | def __del__(self): class MergerIntoSlowTraffic (line 315) | class MergerIntoSlowTraffic(BasicScenario): method __init__ (line 325) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 355) | def _create_behavior(self): method _create_test_criteria (line 401) | def _create_test_criteria(self): method __del__ (line 411) | def __del__(self): class MergerIntoSlowTrafficV2 (line 418) | class MergerIntoSlowTrafficV2(MergerIntoSlowTraffic): method _create_behavior (line 423) | def _create_behavior(self): class InterurbanActorFlow (line 485) | class InterurbanActorFlow(BasicScenario): method __init__ (line 491) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_entry_exit_route_lanes (line 531) | def _get_entry_exit_route_lanes(self, wp, route): method _create_behavior (line 567) | def _create_behavior(self): method _create_test_criteria (line 597) | def _create_test_criteria(self): method __del__ (line 607) | def __del__(self): class InterurbanAdvancedActorFlow (line 614) | class InterurbanAdvancedActorFlow(BasicScenario): method __init__ (line 621) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method get_lane_key (line 650) | def get_lane_key(self, waypoint): method _get_junction_entry_wp (line 653) | def _get_junction_entry_wp(self, entry_wp): method _get_junction_exit_wp (line 661) | def _get_junction_exit_wp(self, exit_wp): method _initialize_actors (line 669) | def _initialize_actors(self, config): method _create_behavior (line 729) | def _create_behavior(self): method _create_test_criteria (line 764) | def _create_test_criteria(self): method __del__ (line 774) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/background_activity.py function get_lane_key (line 31) | def get_lane_key(waypoint): function get_road_key (line 36) | def get_road_key(waypoint): function is_lane_at_road (line 41) | def is_lane_at_road(lane_key, road_key): function get_lane_key_from_ids (line 45) | def get_lane_key_from_ids(road_id, lane_id): function draw_string (line 77) | def draw_string(world, location, string='', debug_type=DEBUG_ROAD, persi... function draw_point (line 85) | def draw_point(world, location, point_type=DEBUG_SMALL, debug_type=DEBUG... function draw_arrow (line 93) | def draw_arrow(world, location1, location2, arrow_type=DEBUG_SMALL, debu... class Source (line 104) | class Source(object): method __init__ (line 110) | def __init__(self, wp, actors, entry_lane_wp='', active=True): # pyli... class Junction (line 120) | class Junction(object): method __init__ (line 126) | def __init__(self, junction, junction_id, route_entry_index=None, rout... method contains_wp (line 154) | def contains_wp(self, wp): class BackgroundBehavior (line 165) | class BackgroundBehavior(AtomicBehavior): method __init__ (line 170) | def __init__(self, ego_actor, route, debug=False, name="BackgroundBeha... method _get_route_data (line 262) | def _get_route_data(self, route): method _get_road_radius (line 282) | def _get_road_radius(self): method initialise (line 292) | def initialise(self): method update (line 302) | def update(self): method terminate (line 344) | def terminate(self, new_status): method _check_background_actors (line 351) | def _check_background_actors(self): method _create_junction_dict (line 362) | def _create_junction_dict(self): method _get_junctions_data (line 371) | def _get_junctions_data(self): method _filter_fake_junctions (line 414) | def _filter_fake_junctions(self, data): method _get_complex_junctions (line 492) | def _get_complex_junctions(self): method _join_complex_junctions (line 537) | def _join_complex_junctions(self, filtered_data): method _get_fake_lane_pairs (line 580) | def _get_fake_lane_pairs(self, fake_data): method _get_junction_entry_wp (line 604) | def _get_junction_entry_wp(self, entry_wp): method _get_junction_exit_wp (line 614) | def _get_junction_exit_wp(self, exit_wp): method _get_closest_junction_waypoint (line 623) | def _get_closest_junction_waypoint(self, waypoint, junction_wps): method _is_route_wp_behind_junction_wp (line 645) | def _is_route_wp_behind_junction_wp(self, route_wp, junction_wp): method _add_junctions_topology (line 655) | def _add_junctions_topology(self, route_data): method _is_junction (line 819) | def _is_junction(self, waypoint): method _add_actor_dict_element (line 828) | def _add_actor_dict_element(self, actor_dict, actor, exit_lane_key='',... method _switch_to_junction_mode (line 841) | def _switch_to_junction_mode(self, junction): method _end_junction_behavior (line 873) | def _end_junction_behavior(self, junction): method _search_for_next_junction (line 937) | def _search_for_next_junction(self): method _initialise_connecting_lanes (line 949) | def _initialise_connecting_lanes(self, junction): method _monitor_incoming_junctions (line 965) | def _monitor_incoming_junctions(self): method _monitor_ego_junction_exit (line 986) | def _monitor_ego_junction_exit(self): method _add_incoming_actors (line 995) | def _add_incoming_actors(self, junction, source): method _move_road_sources (line 1025) | def _move_road_sources(self, prev_ego_index): method _update_road_sources (line 1063) | def _update_road_sources(self): method _initialise_road_behavior (line 1121) | def _initialise_road_behavior(self, road_wps): method _initialise_opposite_sources (line 1158) | def _initialise_opposite_sources(self): method _initialise_road_checker (line 1185) | def _initialise_road_checker(self): method _initialise_junction_sources (line 1204) | def _initialise_junction_sources(self, junction): method _initialise_junction_exits (line 1242) | def _initialise_junction_exits(self, junction): method _update_junction_sources (line 1298) | def _update_junction_sources(self): method _monitor_topology_changes (line 1339) | def _monitor_topology_changes(self, prev_index): method _move_opposite_sources (line 1510) | def _move_opposite_sources(self, prev_index): method _update_opposite_sources (line 1578) | def _update_opposite_sources(self): method _update_parameters (line 1609) | def _update_parameters(self): method _compute_parameters (line 1733) | def _compute_parameters(self): method _stop_road_front_vehicles (line 1740) | def _stop_road_front_vehicles(self): method _start_road_front_vehicles (line 1755) | def _start_road_front_vehicles(self): method _stop_road_back_vehicles (line 1767) | def _stop_road_back_vehicles(self): method _start_road_back_vehicles (line 1778) | def _start_road_back_vehicles(self): method _move_actors_forward (line 1786) | def _move_actors_forward(self, actors, space): method _switch_route_sources (line 1802) | def _switch_route_sources(self, enabled): method _leave_space_in_front (line 1815) | def _leave_space_in_front(self, space): method _leave_crossing_space (line 1839) | def _leave_crossing_space(self, collision_wp): method _remove_road_lane (line 1860) | def _remove_road_lane(self, lane_wp): method _readd_road_lane (line 1874) | def _readd_road_lane(self, lane_offset): method _handle_junction_scenario (line 1936) | def _handle_junction_scenario(self, junction_data): method _clear_junction_middle (line 1964) | def _clear_junction_middle(self): method _clear_ego_entry (line 1977) | def _clear_ego_entry(self): method _remove_junction_entries (line 1999) | def _remove_junction_entries(self, wps): method _remove_junction_exits (line 2034) | def _remove_junction_exits(self, wps): method _stop_non_ego_route_entries (line 2067) | def _stop_non_ego_route_entries(self): method _extent_road_exit_space (line 2086) | def _extent_road_exit_space(self, space): method _initialise_actor (line 2109) | def _initialise_actor(self, actor): method _spawn_actor (line 2119) | def _spawn_actor(self, spawn_wp, ego_dist=0): method _spawn_actors (line 2140) | def _spawn_actors(self, spawn_wps, ego_dist=0): method _spawn_source_actor (line 2164) | def _spawn_source_actor(self, source, ego_dist=20): method _is_location_behind_ego (line 2185) | def _is_location_behind_ego(self, location): method _update_road_actors (line 2194) | def _update_road_actors(self): method _set_road_actor_speed (line 2236) | def _set_road_actor_speed(self, location, actor, multiplier=1): method _monitor_road_changes (line 2260) | def _monitor_road_changes(self, prev_route_index): method _update_junction_actors (line 2366) | def _update_junction_actors(self): method _update_opposite_actors (line 2471) | def _update_opposite_actors(self): method _set_actors_speed (line 2495) | def _set_actors_speed(self): method _remove_actor_info (line 2509) | def _remove_actor_info(self, actor): method _destroy_actor (line 2547) | def _destroy_actor(self, actor): method _update_ego_data (line 2556) | def _update_ego_data(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/background_activity_parametrizer.py function get_parameter (line 19) | def get_parameter(config, name): class BackgroundActivityParametrizer (line 25) | class BackgroundActivityParametrizer(BasicScenario): method __init__ (line 32) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 62) | def _create_behavior(self): method _create_test_criteria (line 77) | def _create_test_criteria(self): method __del__ (line 84) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/basic_scenario.py class BasicScenario (line 28) | class BasicScenario(object): method __init__ (line 34) | def __init__(self, name, ego_vehicles, config, world, method _initialize_environment (line 138) | def _initialize_environment(self, world): method _initialize_actors (line 161) | def _initialize_actors(self, config): method _setup_scenario_trigger (line 174) | def _setup_scenario_trigger(self, config): method _setup_scenario_end (line 194) | def _setup_scenario_end(self, config): method _create_behavior (line 211) | def _create_behavior(self): method _create_test_criteria (line 219) | def _create_test_criteria(self): method _create_weather_behavior (line 228) | def _create_weather_behavior(self): method _create_lights_behavior (line 236) | def _create_lights_behavior(self): method _create_timeout_behavior (line 244) | def _create_timeout_behavior(self): method change_control (line 251) | def change_control(self, control): # pylint: disable=no-self-use method get_criteria (line 261) | def get_criteria(self): method _extract_nodes_from_tree (line 277) | def _extract_nodes_from_tree(self, tree): # pylint: disable=no-self-use method terminate (line 297) | def terminate(self): method remove_all_actors (line 319) | def remove_all_actors(self): method get_parking_slots (line 332) | def get_parking_slots(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/blocked_intersection.py function convert_dict_to_location (line 32) | def convert_dict_to_location(actor_dict): class BlockedIntersection (line 44) | class BlockedIntersection(BasicScenario): method __init__ (line 50) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 78) | def _initialize_actors(self, config): method _create_behavior (line 103) | def _create_behavior(self): method _create_test_criteria (line 136) | def _create_test_criteria(self): method __del__ (line 146) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/change_lane.py class ChangeLane (line 36) | class ChangeLane(BasicScenario): method __init__ (line 50) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 111) | def _create_behavior(self): method _create_test_criteria (line 164) | def _create_test_criteria(self): method __del__ (line 177) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/construction_crash_vehicle.py function get_value_parameter (line 33) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 39) | def get_interval_parameter(config, name, p_type, default): class ConstructionObstacle (line 48) | class ConstructionObstacle(BasicScenario): method __init__ (line 58) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 86) | def _initialize_actors(self, config): method _move_waypoint_forward (line 98) | def _move_waypoint_forward(self, wp, distance): method _spawn_side_prop (line 109) | def _spawn_side_prop(self, wp): method _create_cones_side (line 135) | def _create_cones_side(self, start_transform, forward_vector, z_inc=0,... method _create_construction_setup (line 155) | def _create_construction_setup(self, start_transform, lane_width): method _create_behavior (line 217) | def _create_behavior(self): method _create_test_criteria (line 253) | def _create_test_criteria(self): method __del__ (line 263) | def __del__(self): class ConstructionObstacleTwoWays (line 270) | class ConstructionObstacleTwoWays(ConstructionObstacle): method __init__ (line 274) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 279) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/control_loss.py class ControlLoss (line 29) | class ControlLoss(BasicScenario): method __init__ (line 37) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 59) | def _initialize_actors(self, config): method _get_noise_parameters (line 106) | def _get_noise_parameters(self): method _create_behavior (line 115) | def _create_behavior(self): method _create_test_criteria (line 162) | def _create_test_criteria(self): method __del__ (line 171) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/cross_bicycle_flow.py function convert_dict_to_location (line 27) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 39) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 46) | def get_interval_parameter(config, name, p_type, default): class CrossingBicycleFlow (line 55) | class CrossingBicycleFlow(BasicScenario): method __init__ (line 62) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 94) | def _initialize_actors(self, config): method _get_traffic_lights (line 141) | def _get_traffic_lights(self, tls, ego_dist): method _create_behavior (line 157) | def _create_behavior(self): method _create_test_criteria (line 192) | def _create_test_criteria(self): method __del__ (line 202) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/cut_in.py class CutIn (line 32) | class CutIn(BasicScenario): method __init__ (line 41) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 68) | def _initialize_actors(self, config): method _create_behavior (line 91) | def _create_behavior(self): method _create_test_criteria (line 142) | def _create_test_criteria(self): method __del__ (line 154) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/cut_in_with_static_vehicle.py function get_value_parameter (line 29) | def get_value_parameter(config, name, p_type, default): class StaticCutIn (line 36) | class StaticCutIn(BasicScenario): method __init__ (line 43) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 83) | def _initialize_actors(self, config): method _create_behavior (line 204) | def _create_behavior(self): method _create_test_criteria (line 258) | def _create_test_criteria(self): method __del__ (line 267) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/follow_leading_vehicle.py class FollowLeadingVehicle (line 41) | class FollowLeadingVehicle(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 87) | def _initialize_actors(self, config): method _create_behavior (line 97) | def _create_behavior(self): method _create_test_criteria (line 139) | def _create_test_criteria(self): method __del__ (line 152) | def __del__(self): class FollowLeadingVehicleWithObstacle (line 159) | class FollowLeadingVehicleWithObstacle(BasicScenario): method __init__ (line 170) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 193) | def _initialize_actors(self, config): method _create_behavior (line 234) | def _create_behavior(self): method _create_test_criteria (line 292) | def _create_test_criteria(self): method __del__ (line 305) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/freeride.py class FreeRide (line 19) | class FreeRide(BasicScenario): method __init__ (line 25) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _setup_scenario_trigger (line 39) | def _setup_scenario_trigger(self, config): method _create_behavior (line 44) | def _create_behavior(self): method _create_test_criteria (line 51) | def _create_test_criteria(self): method __del__ (line 64) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/green_traffic_light.py class PriorityAtJunction (line 22) | class PriorityAtJunction(BasicScenario): method __init__ (line 30) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 47) | def _initialize_actors(self, config): method _get_traffic_lights (line 67) | def _get_traffic_lights(self, junction, junction_dist): method _create_behavior (line 78) | def _create_behavior(self): method _create_test_criteria (line 87) | def _create_test_criteria(self): method __del__ (line 94) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/hard_break.py class HardBreakRoute (line 24) | class HardBreakRoute(BasicScenario): method __init__ (line 34) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 50) | def _initialize_actors(self, config): method _create_behavior (line 56) | def _create_behavior(self): method _create_test_criteria (line 70) | def _create_test_criteria(self): method __del__ (line 76) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/highway_cut_in.py function convert_dict_to_location (line 30) | def convert_dict_to_location(actor_dict): class HighwayCutIn (line 41) | class HighwayCutIn(BasicScenario): method __init__ (line 48) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 92) | def _create_behavior(self): method _create_test_criteria (line 130) | def _create_test_criteria(self): method __del__ (line 139) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/invading_turn.py function convert_dict_to_location (line 29) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 41) | def get_value_parameter(config, name, p_type, default): class InvadingTurn (line 48) | class InvadingTurn(BasicScenario): method __init__ (line 57) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 88) | def _initialize_actors(self, config): method _create_obstacle (line 112) | def _create_obstacle(self): method _create_behavior (line 139) | def _create_behavior(self): method _create_test_criteria (line 168) | def _create_test_criteria(self): method __del__ (line 178) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/left_turn_enter_flow.py function get_value_parameter (line 30) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 36) | def get_interval_parameter(config, name, p_type, default): class JunctionLeftTurnEnterFlow (line 46) | class JunctionLeftTurnEnterFlow(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 135) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 148) | def __del__(self): class SignalizedJunctionLeftTurnEnterFlow (line 155) | class SignalizedJunctionLeftTurnEnterFlow(JunctionLeftTurnEnterFlow): method __init__ (line 162) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 168) | def _initialize_actors(self, config): method _create_behavior (line 192) | def _create_behavior(self): class NonSignalizedJunctionLeftTurnEnterFlow (line 232) | class NonSignalizedJunctionLeftTurnEnterFlow(JunctionLeftTurnEnterFlow): method __init__ (line 239) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 245) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/maneuver_opposite_direction.py class ManeuverOppositeDirection (line 32) | class ManeuverOppositeDirection(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 118) | def _create_behavior(self): method _create_test_criteria (line 156) | def _create_test_criteria(self): method __del__ (line 168) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/no_signal_junction_crossing.py class NoSignalJunctionCrossing (line 28) | class NoSignalJunctionCrossing(BasicScenario): method __init__ (line 46) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 63) | def _initialize_actors(self, config): method _create_behavior (line 77) | def _create_behavior(self): method _create_test_criteria (line 148) | def _create_test_criteria(self): method __del__ (line 160) | def __del__(self): class NoSignalJunctionCrossingRoute (line 167) | class NoSignalJunctionCrossingRoute(BasicScenario): method __init__ (line 175) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 192) | def _create_behavior(self): method _create_test_criteria (line 201) | def _create_test_criteria(self): method __del__ (line 208) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/object_crash_intersection.py function get_sidewalk_transform (line 37) | def get_sidewalk_transform(waypoint, offset): class BaseVehicleTurning (line 58) | class BaseVehicleTurning(BasicScenario): method __init__ (line 70) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_target_waypoint (line 100) | def _get_target_waypoint(self): method _initialize_actors (line 114) | def _initialize_actors(self, config): method _create_behavior (line 160) | def _create_behavior(self): method _create_test_criteria (line 201) | def _create_test_criteria(self): method __del__ (line 208) | def __del__(self): class VehicleTurningRight (line 215) | class VehicleTurningRight(BaseVehicleTurning): method __init__ (line 221) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... class VehicleTurningLeft (line 231) | class VehicleTurningLeft(BaseVehicleTurning): method __init__ (line 237) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... class VehicleTurningRoute (line 247) | class VehicleTurningRoute(BaseVehicleTurning): method __init__ (line 253) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_test_criteria (line 262) | def _create_test_criteria(self): class VehicleTurningRoutePedestrian (line 269) | class VehicleTurningRoutePedestrian(BasicScenario): method __init__ (line 281) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 303) | def _initialize_actors(self, config): method _create_behavior (line 368) | def _create_behavior(self): method _create_test_criteria (line 402) | def _create_test_criteria(self): method __del__ (line 409) | def __del__(self): method _replace_walker (line 417) | def _replace_walker(self, adversary): method _setup_scenario_trigger (line 430) | def _setup_scenario_trigger(self, config): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/object_crash_vehicle.py function get_value_parameter (line 34) | def get_value_parameter(config, name, p_type, default): class StationaryObjectCrossing (line 41) | class StationaryObjectCrossing(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 74) | def _initialize_actors(self, config): method _create_behavior (line 95) | def _create_behavior(self): method _create_test_criteria (line 122) | def _create_test_criteria(self): method __del__ (line 134) | def __del__(self): class DynamicObjectCrossing (line 141) | class DynamicObjectCrossing(BasicScenario): method __init__ (line 152) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_sidewalk_transform (line 193) | def _get_sidewalk_transform(self, waypoint, offset): method _initialize_actors (line 217) | def _initialize_actors(self, config): method _create_behavior (line 293) | def _create_behavior(self): method _create_test_criteria (line 333) | def _create_test_criteria(self): method __del__ (line 342) | def __del__(self): method _replace_walker (line 350) | def _replace_walker(self, adversary): method _setup_scenario_trigger (line 363) | def _setup_scenario_trigger(self, config): class ParkingCrossingPedestrian (line 379) | class ParkingCrossingPedestrian(BasicScenario): method __init__ (line 391) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_blocker_transform (line 426) | def _get_blocker_transform(self, waypoint): method _get_walker_transform (line 441) | def _get_walker_transform(self, waypoint): method _initialize_actors (line 460) | def _initialize_actors(self, config): method _create_behavior (line 501) | def _create_behavior(self): method _create_test_criteria (line 540) | def _create_test_criteria(self): method __del__ (line 549) | def __del__(self): method _replace_walker (line 557) | def _replace_walker(self, walker): method _setup_scenario_trigger (line 570) | def _setup_scenario_trigger(self, config): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/open_scenario.py function repeatable_behavior (line 27) | def repeatable_behavior(behaviour, name=None): class ClearBlackboardVariablesStartingWith (line 48) | class ClearBlackboardVariablesStartingWith(py_trees.behaviours.Success): method __init__ (line 58) | def __init__(self, method initialise (line 65) | def initialise(self): class StoryElementStatusToBlackboard (line 75) | class StoryElementStatusToBlackboard(Decorator): method __init__ (line 86) | def __init__(self, child, story_element_type, element_name): method initialise (line 92) | def initialise(self): method update (line 103) | def update(self): method terminate (line 110) | def terminate(self, new_status): function get_xml_path (line 149) | def get_xml_path(tree, node): class OpenScenario (line 172) | class OpenScenario(BasicScenario): method __init__ (line 178) | def __init__(self, world, ego_vehicles, config, config_file, debug_mod... method _initialize_parameters (line 192) | def _initialize_parameters(self): method _initialize_environment (line 218) | def _initialize_environment(self, world): method _create_environment_behavior (line 224) | def _create_environment_behavior(self): method _create_init_behavior (line 239) | def _create_init_behavior(self): method _create_behavior (line 275) | def _create_behavior(self): method _create_weather_behavior (line 443) | def _create_weather_behavior(self): method _create_condition_container (line 449) | def _create_condition_container(self, node, story, name='Conditions Gr... method _create_test_criteria (line 483) | def _create_test_criteria(self): method __del__ (line 503) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/opposite_vehicle_taking_priority.py class OppositeVehicleJunction (line 39) | class OppositeVehicleJunction(BasicScenario): method __init__ (line 45) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 77) | def _initialize_actors(self, config): method _create_behavior (line 155) | def _create_behavior(self): method _create_test_criteria (line 158) | def _create_test_criteria(self): method __del__ (line 167) | def __del__(self): class OppositeVehicleRunningRedLight (line 174) | class OppositeVehicleRunningRedLight(OppositeVehicleJunction): method __init__ (line 179) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 187) | def _initialize_actors(self, config): method _create_behavior (line 202) | def _create_behavior(self): class OppositeVehicleTakingPriority (line 256) | class OppositeVehicleTakingPriority(OppositeVehicleJunction): method __init__ (line 261) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 269) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/other_leading_vehicle.py class OtherLeadingVehicle (line 33) | class OtherLeadingVehicle(BasicScenario): method __init__ (line 43) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 69) | def _initialize_actors(self, config): method _create_behavior (line 91) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 150) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/parking_cut_in.py class ParkingCutIn (line 26) | class ParkingCutIn(BasicScenario): method __init__ (line 33) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 66) | def _initialize_actors(self, config): method _get_displaced_location (line 115) | def _get_displaced_location(self, actor, wp): method _create_behavior (line 131) | def _create_behavior(self): method _create_test_criteria (line 170) | def _create_test_criteria(self): method __del__ (line 179) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/parking_exit.py function convert_dict_to_location (line 30) | def convert_dict_to_location(actor_dict): function get_value_parameter (line 42) | def get_value_parameter(config, name, p_type, default): class ParkingExit (line 49) | class ParkingExit(BasicScenario): method __init__ (line 62) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 108) | def _initialize_actors(self, config): method _get_displaced_location (line 168) | def _get_displaced_location(self, actor, wp): method _create_behavior (line 184) | def _create_behavior(self): method _create_test_criteria (line 215) | def _create_test_criteria(self): method __del__ (line 225) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/pedestrian_crossing.py function convert_dict_to_location (line 30) | def convert_dict_to_location(actor_dict): class PedestrianCrossing (line 42) | class PedestrianCrossing(BasicScenario): method __init__ (line 54) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _get_walker_transform (line 86) | def _get_walker_transform(self, wp, displacement): method _initialize_actors (line 106) | def _initialize_actors(self, config): method _create_behavior (line 150) | def _create_behavior(self): method _create_test_criteria (line 203) | def _create_test_criteria(self): method __del__ (line 212) | def __del__(self): method _replace_walker (line 220) | def _replace_walker(self, walker): method _setup_scenario_trigger (line 233) | def _setup_scenario_trigger(self, config): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/route_obstacles.py function get_value_parameter (line 36) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 42) | def get_interval_parameter(config, name, p_type, default): class Accident (line 52) | class Accident(BasicScenario): method __init__ (line 59) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _move_waypoint_forward (line 90) | def _move_waypoint_forward(self, wp, distance): method _spawn_side_prop (line 101) | def _spawn_side_prop(self, wp): method _spawn_obstacle (line 127) | def _spawn_obstacle(self, wp, blueprint, accident_actor=False): method _initialize_actors (line 149) | def _initialize_actors(self, config): method _create_behavior (line 188) | def _create_behavior(self): method _create_test_criteria (line 220) | def _create_test_criteria(self): method __del__ (line 230) | def __del__(self): class AccidentTwoWays (line 237) | class AccidentTwoWays(Accident): method __init__ (line 241) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 246) | def _create_behavior(self): class ParkedObstacle (line 284) | class ParkedObstacle(BasicScenario): method __init__ (line 290) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _move_waypoint_forward (line 318) | def _move_waypoint_forward(self, wp, distance): method _spawn_side_prop (line 329) | def _spawn_side_prop(self, wp): method _spawn_obstacle (line 355) | def _spawn_obstacle(self, wp, blueprint): method _initialize_actors (line 373) | def _initialize_actors(self, config): method _create_behavior (line 394) | def _create_behavior(self): method _create_test_criteria (line 425) | def _create_test_criteria(self): method __del__ (line 435) | def __del__(self): class ParkedObstacleTwoWays (line 442) | class ParkedObstacleTwoWays(ParkedObstacle): method __init__ (line 446) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 451) | def _create_behavior(self): class HazardAtSideLane (line 490) | class HazardAtSideLane(BasicScenario): method __init__ (line 496) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _move_waypoint_forward (line 532) | def _move_waypoint_forward(self, wp, distance): method _spawn_obstacle (line 543) | def _spawn_obstacle(self, wp, blueprint): method _initialize_actors (line 558) | def _initialize_actors(self, config): method _create_behavior (line 591) | def _create_behavior(self): method _create_test_criteria (line 641) | def _create_test_criteria(self): method __del__ (line 651) | def __del__(self): class HazardAtSideLaneTwoWays (line 658) | class HazardAtSideLaneTwoWays(HazardAtSideLane): method __init__ (line 662) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 668) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/route_scenario.py class RouteScenario (line 54) | class RouteScenario(BasicScenario): method __init__ (line 61) | def __init__(self, world, config, debug_mode=False, criteria_enable=Tr... method _get_route (line 84) | def _get_route(self, config): method _filter_scenarios (line 101) | def _filter_scenarios(self, scenario_configs): method _spawn_ego_vehicle (line 120) | def _spawn_ego_vehicle(self): method _estimate_route_timeout (line 131) | def _estimate_route_timeout(self): method _draw_waypoints (line 145) | def _draw_waypoints(self, world, waypoints, vertical_shift, size, pers... method _scenario_sampling (line 175) | def _scenario_sampling(self, potential_scenarios, random_seed=0): method get_all_scenario_classes (line 187) | def get_all_scenario_classes(self): method _build_scenarios (line 208) | def _build_scenarios(self, world, ego_vehicle, scenario_definitions, s... method _initialize_actors (line 250) | def _initialize_actors(self, config): method _create_behavior (line 258) | def _create_behavior(self): method _create_test_criteria (line 292) | def _create_test_criteria(self): method _create_weather_behavior (line 328) | def _create_weather_behavior(self): method _create_lights_behavior (line 336) | def _create_lights_behavior(self): method _create_timeout_behavior (line 342) | def _create_timeout_behavior(self): method _initialize_environment (line 348) | def _initialize_environment(self, world): method _create_criterion_tree (line 355) | def _create_criterion_tree(self, scenario, criteria): method __del__ (line 380) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/sequentially_lane_change.py class SequentialLaneChange (line 19) | class SequentialLaneChange(BasicScenario): method __init__ (line 21) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 35) | def _initialize_actors(self, config): method _create_behavior (line 38) | def _create_behavior(self): method _create_test_criteria (line 47) | def _create_test_criteria(self): method __del__ (line 58) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/signalized_junction_left_turn.py function get_value_parameter (line 30) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 36) | def get_interval_parameter(config, name, p_type, default): class JunctionLeftTurn (line 46) | class JunctionLeftTurn(BasicScenario): method __init__ (line 52) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 85) | def _initialize_actors(self, config): method _create_behavior (line 135) | def _create_behavior(self): method _create_test_criteria (line 138) | def _create_test_criteria(self): method __del__ (line 148) | def __del__(self): class SignalizedJunctionLeftTurn (line 155) | class SignalizedJunctionLeftTurn(JunctionLeftTurn): method __init__ (line 162) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 166) | def _initialize_actors(self, config): method _create_behavior (line 190) | def _create_behavior(self): class NonSignalizedJunctionLeftTurn (line 229) | class NonSignalizedJunctionLeftTurn(JunctionLeftTurn): method __init__ (line 236) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 240) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/signalized_junction_right_turn.py function get_value_parameter (line 32) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 38) | def get_interval_parameter(config, name, p_type, default): class JunctionRightTurn (line 48) | class JunctionRightTurn(BasicScenario): method __init__ (line 54) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 86) | def _initialize_actors(self, config): method _create_behavior (line 140) | def _create_behavior(self): method _create_test_criteria (line 143) | def _create_test_criteria(self): method __del__ (line 153) | def __del__(self): class SignalizedJunctionRightTurn (line 160) | class SignalizedJunctionRightTurn(JunctionRightTurn): method __init__ (line 165) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 169) | def _initialize_actors(self, config): method _create_behavior (line 190) | def _create_behavior(self): class NonSignalizedJunctionRightTurn (line 225) | class NonSignalizedJunctionRightTurn(JunctionRightTurn): method __init__ (line 230) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 234) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/t_junction.py class T_Junction (line 19) | class T_Junction(BasicScenario): method __init__ (line 26) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 40) | def _initialize_actors(self, config): method _create_behavior (line 43) | def _create_behavior(self): method _create_test_criteria (line 52) | def _create_test_criteria(self): method __del__ (line 63) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/vanilla_turn.py function get_value_parameter (line 30) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 36) | def get_interval_parameter(config, name, p_type, default): class VanillaJunctionTurn (line 46) | class VanillaJunctionTurn(BasicScenario): method __init__ (line 53) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 76) | def _initialize_actors(self, config): method _create_behavior (line 92) | def _create_behavior(self): method _create_test_criteria (line 95) | def _create_test_criteria(self): method __del__ (line 105) | def __del__(self): class VanillaSignalizedTurnEncounterGreenLight (line 112) | class VanillaSignalizedTurnEncounterGreenLight(VanillaJunctionTurn): method __init__ (line 119) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 123) | def _initialize_actors(self, config): method _create_behavior (line 144) | def _create_behavior(self): class VanillaSignalizedTurnEncounterGreenLightLong (line 162) | class VanillaSignalizedTurnEncounterGreenLightLong(VanillaJunctionTurn): method __init__ (line 169) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 173) | def _initialize_actors(self, config): method _create_behavior (line 194) | def _create_behavior(self): class VanillaNonSignalizedTurn (line 212) | class VanillaNonSignalizedTurn(VanillaJunctionTurn): method __init__ (line 219) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 223) | def _create_behavior(self): class VanillaSignalizedTurnEncounterRedLight (line 240) | class VanillaSignalizedTurnEncounterRedLight(VanillaJunctionTurn): method __init__ (line 247) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 252) | def _initialize_actors(self, config): method _create_behavior (line 273) | def _create_behavior(self): class VanillaSignalizedTurnEncounterRedLightLong (line 291) | class VanillaSignalizedTurnEncounterRedLightLong(VanillaJunctionTurn): method __init__ (line 298) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _initialize_actors (line 303) | def _initialize_actors(self, config): method _create_behavior (line 324) | def _create_behavior(self): class VanillaNonSignalizedTurnEncounterStopsign (line 342) | class VanillaNonSignalizedTurnEncounterStopsign(VanillaJunctionTurn): method __init__ (line 349) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 353) | def _create_behavior(self): class VanillaNonSignalizedTurnEncounterStopsignLong (line 370) | class VanillaNonSignalizedTurnEncounterStopsignLong(VanillaJunctionTurn): method __init__ (line 377) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _create_behavior (line 381) | def _create_behavior(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/vehicle_opens_door.py function get_value_parameter (line 36) | def get_value_parameter(config, name, p_type, default): function get_interval_parameter (line 43) | def get_interval_parameter(config, name, p_type, default): class VehicleOpensDoorTwoWays (line 53) | class VehicleOpensDoorTwoWays(BasicScenario): method __init__ (line 58) | def __init__(self, world, ego_vehicles, config, randomize=False, debug... method _get_displaced_location (line 86) | def _get_displaced_location(self, actor, wp): method _move_waypoint_forward (line 102) | def _move_waypoint_forward(self, wp, distance): method _initialize_actors (line 113) | def _initialize_actors(self, config): method _create_behavior (line 149) | def _create_behavior(self): method _create_test_criteria (line 200) | def _create_test_criteria(self): method __del__ (line 210) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/scenarios/yield_to_emergency_vehicle.py class YieldToEmergencyVehicle (line 30) | class YieldToEmergencyVehicle(BasicScenario): method __init__ (line 40) | def __init__(self, world, ego_vehicles, config, debug_mode=False, crit... method _initialize_actors (line 82) | def _initialize_actors(self, config): method _create_behavior (line 110) | def _create_behavior(self): method _create_test_criteria (line 161) | def _create_test_criteria(self): method __del__ (line 173) | def __del__(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/basic_agent.py class BasicAgent (line 20) | class BasicAgent(object): method __init__ (line 28) | def __init__(self, vehicle, target_speed=20, opt_dict={}): method add_emergency_stop (line 73) | def add_emergency_stop(self, control): method set_target_speed (line 85) | def set_target_speed(self, speed): method follow_speed_limits (line 92) | def follow_speed_limits(self, value=True): method get_local_planner (line 100) | def get_local_planner(self): method get_global_planner (line 104) | def get_global_planner(self): method set_destination (line 108) | def set_destination(self, end_location, start_location=None): method set_global_plan (line 131) | def set_global_plan(self, plan, stop_waypoint_creation=True, clean_que... method trace_route (line 145) | def trace_route(self, start_waypoint, end_waypoint): method run_step (line 156) | def run_step(self): method done (line 185) | def done(self): method ignore_traffic_lights (line 189) | def ignore_traffic_lights(self, active=True): method ignore_stop_signs (line 193) | def ignore_stop_signs(self, active=True): method ignore_vehicles (line 197) | def ignore_vehicles(self, active=True): method _affected_by_traffic_light (line 201) | def _affected_by_traffic_light(self, lights_list=None, max_distance=No... method _vehicle_obstacle_detected (line 251) | def _vehicle_obstacle_detected(self, vehicle_list=None, max_distance=N... FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_agent.py class BehaviorAgent (line 20) | class BehaviorAgent(BasicAgent): method __init__ (line 33) | def __init__(self, vehicle, behavior='normal'): method _update_information (line 65) | def _update_information(self): method _vehicle_obstacle_detected (line 84) | def _vehicle_obstacle_detected(self, vehicle_list, proximity_th, up_an... method traffic_light_manager (line 140) | def traffic_light_manager(self): method _tailgating (line 150) | def _tailgating(self, waypoint, vehicle_list): method collision_and_car_avoid_manager (line 188) | def collision_and_car_avoid_manager(self, waypoint): method pedestrian_avoid_manager (line 225) | def pedestrian_avoid_manager(self, waypoint): method car_following_manager (line 253) | def car_following_manager(self, vehicle, distance, debug=False): method run_step (line 296) | def run_step(self, debug=False): method emergency_stop (line 364) | def emergency_stop(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/behavior_types.py class Cautious (line 7) | class Cautious(object): class Normal (line 18) | class Normal(object): class Aggressive (line 29) | class Aggressive(object): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/controller.py class VehiclePIDController (line 15) | class VehiclePIDController(): method __init__ (line 23) | def __init__(self, vehicle, args_lateral, args_longitudinal, offset=0,... method run_step (line 54) | def run_step(self, target_speed, waypoint): method change_longitudinal_PID (line 95) | def change_longitudinal_PID(self, args_longitudinal): method change_lateral_PID (line 99) | def change_lateral_PID(self, args_lateral): class PIDLongitudinalController (line 104) | class PIDLongitudinalController(): method __init__ (line 109) | def __init__(self, vehicle, K_P=1.0, K_I=0.0, K_D=0.0, dt=0.03): method run_step (line 126) | def run_step(self, target_speed, debug=False): method _pid_control (line 141) | def _pid_control(self, target_speed, current_speed): method change_parameters (line 162) | def change_parameters(self, K_P, K_I, K_D, dt): class PIDLateralController (line 170) | class PIDLateralController(): method __init__ (line 175) | def __init__(self, vehicle, offset=0, K_P=1.0, K_I=0.0, K_D=0.0, dt=0.... method run_step (line 195) | def run_step(self, waypoint): method _pid_control (line 207) | def _pid_control(self, waypoint, vehicle_transform): method change_parameters (line 253) | def change_parameters(self, K_P, K_I, K_D, dt): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/global_route_planner.py class GlobalRoutePlanner (line 19) | class GlobalRoutePlanner(object): method __init__ (line 24) | def __init__(self, wmap, sampling_resolution): method trace_route (line 41) | def trace_route(self, origin, destination): method _build_topology (line 84) | def _build_topology(self): method _build_graph (line 118) | def _build_graph(self): method _find_loose_ends (line 173) | def _find_loose_ends(self): method _lane_change_link (line 217) | def _lane_change_link(self): method _localize (line 259) | def _localize(self, location): method _distance_heuristic (line 272) | def _distance_heuristic(self, n1, n2): method _path_search (line 281) | def _path_search(self, origin, destination): method _successive_last_intersection_edge (line 298) | def _successive_last_intersection_edge(self, index, route): method _turn_decision (line 320) | def _turn_decision(self, index, route, threshold=math.radians(35)): method _find_closest_in_list (line 382) | def _find_closest_in_list(self, current_waypoint, waypoint_list): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/navigation/local_planner.py class RoadOption (line 17) | class RoadOption(Enum): class LocalPlanner (line 31) | class LocalPlanner(object): method __init__ (line 43) | def __init__(self, vehicle, opt_dict={}): method reset_vehicle (line 110) | def reset_vehicle(self): method _init_controller (line 114) | def _init_controller(self): method set_speed (line 129) | def set_speed(self, speed): method follow_speed_limits (line 141) | def follow_speed_limits(self, value=True): method _compute_next_waypoints (line 150) | def _compute_next_waypoints(self, k=1): method set_global_plan (line 181) | def set_global_plan(self, current_plan, stop_waypoint_creation=True, c... method run_step (line 208) | def run_step(self, debug=False): method get_incoming_waypoint_and_direction (line 262) | def get_incoming_waypoint_and_direction(self, steps=3): method done (line 278) | def done(self): function _retrieve_options (line 287) | def _retrieve_options(list_waypoints, current_waypoint): function _compute_connection (line 309) | def _compute_connection(current_waypoint, next_waypoint, threshold=35): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/agents/tools/misc.py function draw_waypoints (line 15) | def draw_waypoints(world, waypoints, z=0.5): function get_speed (line 31) | def get_speed(vehicle): function get_trafficlight_trigger_location (line 42) | def get_trafficlight_trigger_location(traffic_light): function is_within_distance (line 66) | def is_within_distance(target_transform, reference_transform, max_distan... function compute_magnitude_angle (line 106) | def compute_magnitude_angle(target_location, current_location, orientati... function distance_vehicle (line 124) | def distance_vehicle(waypoint, vehicle_transform): function vector (line 138) | def vector(location_1, location_2): function compute_distance (line 152) | def compute_distance(location_1, location_2): function positive (line 165) | def positive(num): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/carla_mocks/carla.py class command (line 15) | class command: method SpawnActor (line 18) | def SpawnActor(blueprint, point): method SetSimulatePhysics (line 23) | def SetSimulatePhysics(blueprint, physics): method FutureActor (line 26) | def FutureActor(): method ApplyTransform (line 29) | def ApplyTransform(): method SetAutopilot (line 32) | def SetAutopilot(actor, autopilot, port): method SetVehicleLightState (line 35) | def SetVehicleLightState(): method DestroyActor (line 38) | def DestroyActor(actor): method then (line 41) | def then(self, other_command): class CarlaBluePrint (line 45) | class CarlaBluePrint(object): method __init__ (line 47) | def __init__(self): method has_attribute (line 51) | def has_attribute(self, attribute_string=''): method set_attribute (line 54) | def set_attribute(self, key, value): method has_tag (line 57) | def has_tag(self, tag_string=''): class CarlaBluePrintLibrary (line 61) | class CarlaBluePrintLibrary: method filter (line 62) | def filter(self, filterstring): method __len__ (line 65) | def __len__(self): method find (line 68) | def find(self, filterstring): class GeoLocation (line 72) | class GeoLocation: class Vector3D (line 77) | class Vector3D: method __init__ (line 82) | def __init__(self, x=0, y=0, z=0): class Location (line 88) | class Location(): method __init__ (line 93) | def __init__(self, x=0, y=0, z=0): method distance (line 98) | def distance(self, other): class Rotation (line 102) | class Rotation(): method __init__ (line 107) | def __init__(self, pitch=0, roll=0, yaw=0): method get_forward_vector (line 112) | def get_forward_vector(self): class Transform (line 116) | class Transform: method __init__ (line 120) | def __init__(self, location=Location(0, 0, 0), rotation=Rotation(0, 0,... class Waypoint (line 125) | class Waypoint(): class Map (line 133) | class Map: method get_spawn_points (line 136) | def get_spawn_points(self): method transform_to_geolocation (line 139) | def transform_to_geolocation(self, transform): method get_waypoint (line 142) | def get_waypoint(self, transform): method get_waypoint_xodr (line 145) | def get_waypoint_xodr(self, a, b, c): method get_topology (line 148) | def get_topology(self): class TrafficLightState (line 152) | class TrafficLightState: class WeatherParameters (line 159) | class WeatherParameters: class WorldSettings (line 176) | class WorldSettings: class ActorList (line 187) | class ActorList: method __init__ (line 189) | def __init__(self, actor_list): method filter (line 192) | def filter(self, filterstring): method __len__ (line 195) | def __len__(self): method __getitem__ (line 198) | def __getitem__(self, i): class Control (line 202) | class Control: class Actor (line 208) | class Actor: method __init__ (line 210) | def __init__(self): method get_transform (line 219) | def get_transform(self): method get_location (line 222) | def get_location(self): method get_world (line 225) | def get_world(self): method get_control (line 228) | def get_control(self): method destroy (line 231) | def destroy(self): method listen (line 234) | def listen(self, callback): class Walker (line 238) | class Walker(Actor): class Vehicle (line 242) | class Vehicle(Actor): class World (line 246) | class World: method get_settings (line 249) | def get_settings(self): method get_map (line 252) | def get_map(self): method get_blueprint_library (line 255) | def get_blueprint_library(self): method wait_for_tick (line 258) | def wait_for_tick(self): method get_actors (line 261) | def get_actors(self, ids=[]): method try_spawn_actor (line 269) | def try_spawn_actor(self, blueprint, spawn_point): method spawn_actor (line 276) | def spawn_actor(self, blueprint, spawn_point, attach_to): class Client (line 281) | class Client: method load_world (line 284) | def load_world(self, name): method get_world (line 287) | def get_world(self): method get_trafficmanager (line 290) | def get_trafficmanager(self, port): method apply_batch_sync (line 293) | def apply_batch_sync(self, batch, sync_mode=False): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tests/test_xosc_load.py class TestLoadingXOSC (line 20) | class TestLoadingXOSC(TestCase): method test_all_xosc (line 25) | def test_all_xosc(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/background_manager.py class ChangeRoadBehavior (line 18) | class ChangeRoadBehavior(AtomicBehavior): method __init__ (line 29) | def __init__(self, num_front_vehicles=None, num_back_vehicles=None, sp... method update (line 36) | def update(self): class ChangeOppositeBehavior (line 43) | class ChangeOppositeBehavior(AtomicBehavior): method __init__ (line 53) | def __init__(self, source_dist=None, spawn_dist=None, active=None, nam... method update (line 59) | def update(self): class ChangeJunctionBehavior (line 66) | class ChangeJunctionBehavior(AtomicBehavior): method __init__ (line 76) | def __init__(self, source_dist=None, spawn_dist=None, max_actors=None,... method update (line 83) | def update(self): class SetMaxSpeed (line 90) | class SetMaxSpeed(AtomicBehavior): method __init__ (line 95) | def __init__(self, max_speed, name="SetMaxSpeed"): method update (line 99) | def update(self): class StopFrontVehicles (line 104) | class StopFrontVehicles(AtomicBehavior): method __init__ (line 110) | def __init__(self, name="StopFrontVehicles"): method update (line 113) | def update(self): class StartFrontVehicles (line 118) | class StartFrontVehicles(AtomicBehavior): method __init__ (line 124) | def __init__(self, name="StartFrontVehicles"): method update (line 127) | def update(self): class StopBackVehicles (line 132) | class StopBackVehicles(AtomicBehavior): method __init__ (line 137) | def __init__(self, name="StopBackVehicles"): method update (line 140) | def update(self): class StartBackVehicles (line 146) | class StartBackVehicles(AtomicBehavior): method __init__ (line 150) | def __init__(self, name="StartBackVehicles"): method update (line 153) | def update(self): class LeaveSpaceInFront (line 159) | class LeaveSpaceInFront(AtomicBehavior): method __init__ (line 164) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 168) | def update(self): method __init__ (line 230) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 234) | def update(self): class SwitchRouteSources (line 174) | class SwitchRouteSources(AtomicBehavior): method __init__ (line 178) | def __init__(self, enabled=True, name="SwitchRouteSources"): method update (line 182) | def update(self): class RemoveRoadLane (line 188) | class RemoveRoadLane(AtomicBehavior): method __init__ (line 197) | def __init__(self, lane_wp, name="RemoveRoadLane"): method update (line 201) | def update(self): class ReAddRoadLane (line 207) | class ReAddRoadLane(AtomicBehavior): method __init__ (line 215) | def __init__(self, offset, name="BA_ReAddRoadLane"): method update (line 219) | def update(self): class LeaveSpaceInFront (line 225) | class LeaveSpaceInFront(AtomicBehavior): method __init__ (line 164) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 168) | def update(self): method __init__ (line 230) | def __init__(self, space, name="LeaveSpaceInFront"): method update (line 234) | def update(self): class LeaveCrossingSpace (line 240) | class LeaveCrossingSpace(AtomicBehavior): method __init__ (line 245) | def __init__(self, collision_wp, name="LeaveCrossingSpace"): method update (line 249) | def update(self): class HandleJunctionScenario (line 254) | class HandleJunctionScenario(AtomicBehavior): method __init__ (line 268) | def __init__(self, clear_junction=True, clear_ego_entry=True, remove_e... method update (line 279) | def update(self): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/openscenario_parser.py function oneshot_with_check (line 77) | def oneshot_with_check(variable_name, behaviour, name=None): class ParameterRef (line 90) | class ParameterRef: method __init__ (line 96) | def __init__(self, reference_text) -> None: method is_literal (line 101) | def is_literal(self) -> bool: method is_parameter (line 107) | def is_parameter(self) -> bool: method _is_matching (line 113) | def _is_matching(self, pattern: str) -> bool: method get_interpreted_value (line 123) | def get_interpreted_value(self): method __float__ (line 137) | def __float__(self) -> float: method __int__ (line 144) | def __int__(self) -> int: method __str__ (line 151) | def __str__(self) -> str: method __repr__ (line 155) | def __repr__(self): method __radd__ (line 159) | def __radd__(self, other) -> bool: method __add__ (line 162) | def __add__(self, other) -> bool: method __rsub__ (line 165) | def __rsub__(self, other) -> bool: method __sub__ (line 168) | def __sub__(self, other) -> bool: method __rmul__ (line 171) | def __rmul__(self, other) -> bool: method __mul__ (line 174) | def __mul__(self, other) -> bool: method __truediv__ (line 177) | def __truediv__(self, other) -> bool: method __rtruediv__ (line 180) | def __rtruediv__(self, other) -> bool: method __eq__ (line 183) | def __eq__(self, other) -> bool: method __ne__ (line 186) | def __ne__(self, other) -> bool: method __ge__ (line 189) | def __ge__(self, other) -> bool: method __le__ (line 192) | def __le__(self, other) -> bool: method __gt__ (line 195) | def __gt__(self, other) -> bool: method __lt__ (line 198) | def __lt__(self, other) -> bool: method __GE__ (line 201) | def __GE__(self, other) -> bool: # pylint: disable=invalid-name method __LE__ (line 204) | def __LE__(self, other) -> bool: # pylint: disable=invalid-name method __GT__ (line 207) | def __GT__(self, other) -> bool: # pylint: disable=invalid-name method __LT__ (line 210) | def __LT__(self, other) -> bool: # pylint: disable=invalid-name method __iadd__ (line 213) | def __iadd__(self, other) -> bool: method __isub__ (line 216) | def __isub__(self, other) -> bool: method __abs__ (line 219) | def __abs__(self): class OpenScenarioParser (line 223) | class OpenScenarioParser(object): method get_traffic_light_from_osc_name (line 255) | def get_traffic_light_from_osc_name(name): method set_osc_filepath (line 287) | def set_osc_filepath(filepath): method set_use_carla_coordinate_system (line 295) | def set_use_carla_coordinate_system(): method set_parameters (line 304) | def set_parameters(xml_tree, additional_parameter_dict=None): method set_global_parameters (line 342) | def set_global_parameters(parameter_dict): method get_catalog_entry (line 353) | def get_catalog_entry(catalogs, catalog_reference): method assign_catalog_parameters (line 373) | def assign_catalog_parameters(entry_instance, catalog_reference): method get_friction_from_env_action (line 414) | def get_friction_from_env_action(xml_tree, catalogs): method get_weather_from_env_action (line 448) | def get_weather_from_env_action(xml_tree, catalogs): method get_controller (line 504) | def get_controller(xml_tree, catalogs): method get_route (line 543) | def get_route(xml_tree, catalogs): method convert_position_to_transform (line 579) | def convert_position_to_transform(position, actor_list=None): method convert_condition_to_atomic (line 810) | def convert_condition_to_atomic(condition, actor_list): method convert_maneuver_to_atomic (line 1108) | def convert_maneuver_to_atomic(action, actor, actor_list, catalogs): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/py_trees_port.py class Decorator (line 18) | class Decorator(py_trees.behaviour.Behaviour): method __init__ (line 28) | def __init__(self, child, name): method tick (line 48) | def tick(self): method stop (line 74) | def stop(self, new_status=py_trees.common.Status.INVALID): method tip (line 91) | def tip(self): function oneshot_behavior (line 103) | def oneshot_behavior(variable_name, behaviour, name=None): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/route_manipulation.py function _location_to_gps (line 22) | def _location_to_gps(lat_ref, lon_ref, location): function location_route_to_gps (line 45) | def location_route_to_gps(route, lat_ref, lon_ref): function _get_latlon_ref (line 62) | def _get_latlon_ref(world): function downsample_route (line 87) | def downsample_route(route, sample_factor): function interpolate_trajectory (line 133) | def interpolate_trajectory(waypoints_trajectory, hop_resolution=1.0): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/route_parser.py function convert_elem_to_transform (line 24) | def convert_elem_to_transform(elem): class RouteParser (line 40) | class RouteParser(object): method parse_routes_file (line 47) | def parse_routes_file(route_filename, single_route_id=''): method parse_weather (line 99) | def parse_weather(route): method is_scenario_at_route (line 126) | def is_scenario_at_route(trigger_transform, route): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/scenario_helper.py function get_distance_along_route (line 25) | def get_distance_along_route(route, target_location): function get_crossing_point (line 121) | def get_crossing_point(actor): function get_geometric_linear_intersection (line 138) | def get_geometric_linear_intersection(ego_location, other_location, move... function get_location_in_distance (line 191) | def get_location_in_distance(actor, distance): function get_location_in_distance_from_wp (line 208) | def get_location_in_distance_from_wp(waypoint, distance, stop_at_junctio... function get_waypoint_in_distance (line 228) | def get_waypoint_in_distance(waypoint, distance, stop_at_junction=True): function generate_target_waypoint_list (line 247) | def generate_target_waypoint_list(waypoint, turn=0): function generate_target_waypoint_list_multilane (line 282) | def generate_target_waypoint_list_multilane(waypoint, change='left', # ... function generate_target_waypoint (line 364) | def generate_target_waypoint(waypoint, turn=0): function generate_target_waypoint_in_route (line 389) | def generate_target_waypoint_in_route(waypoint, route): function choose_at_junction (line 428) | def choose_at_junction(current_waypoint, next_choices, direction=0): function get_intersection (line 458) | def get_intersection(ego_actor, other_actor): function detect_lane_obstacle (line 491) | def detect_lane_obstacle(actor, extension_factor=3, margin=1.02): function get_junction_topology (line 528) | def get_junction_topology(junction): function filter_junction_wp_direction (line 574) | def filter_junction_wp_direction(reference_wp, wp_list, direction='oppos... function get_closest_traffic_light (line 602) | def get_closest_traffic_light(waypoint, traffic_lights=None): function get_offset_transform (line 626) | def get_offset_transform(transform, offset): function get_troad_from_transform (line 638) | def get_troad_from_transform(actor_transform): function get_distance_between_actors (line 688) | def get_distance_between_actors(current, target, distance_type="euclidia... function get_same_dir_lanes (line 740) | def get_same_dir_lanes(waypoint): function get_opposite_dir_lanes (line 770) | def get_opposite_dir_lanes(waypoint): class RotatedRectangle (line 805) | class RotatedRectangle(object): method __init__ (line 811) | def __init__(self, c_x, c_y, width, height, angle): method get_contour (line 818) | def get_contour(self): method intersection (line 828) | def intersection(self, other): FILE: close_loop/VAD_MomAD/scenario_runner/srunner/tools/scenario_parser.py class ScenarioConfigurationParser (line 22) | class ScenarioConfigurationParser(object): method parse_scenario_configuration (line 29) | def parse_scenario_configuration(scenario_name, additional_config_file... method get_list_of_scenarios (line 98) | def get_list_of_scenarios(additional_config_file_name): FILE: close_loop/VAD_MomAD/tools/ability_benchmark.py function get_infraction_status (line 20) | def get_infraction_status(record): function update_Ability (line 28) | def update_Ability(scenario_name, Ability_Statistic, status): function update_Success (line 36) | def update_Success(scenario_name, Success_Statistic, status): function get_position (line 48) | def get_position(xml_route): function get_route_result (line 53) | def get_route_result(records, route_id): function get_waypoint_route (line 60) | def get_waypoint_route(locs, grp): function main (line 70) | def main(args): FILE: close_loop/VAD_MomAD/tools/data_collect.py class Env_Manager (line 18) | class Env_Manager(): method tick (line 22) | def tick(self, input_data): method _preprocess_sensor_spec (line 247) | def _preprocess_sensor_spec(self, sensor_spec): method setup_sensors (line 396) | def setup_sensors(self): method sensors (line 430) | def sensors(self): method _get_position (line 699) | def _get_position(self, tick_data): method get_target_gps (line 704) | def get_target_gps(self, gps, compass): method save (line 740) | def save(self, near_node, far_node, near_command, far_command, tick_da... method _point_inside_boundingbox (line 826) | def _point_inside_boundingbox(self, point, bb_center, bb_extent, multi... method affected_by_traffic_light (line 842) | def affected_by_traffic_light(self, traffic_light, center, window_size... method get_traffic_color (line 851) | def get_traffic_color(self, state): method get_affect_sign (line 864) | def get_affect_sign(self, actors): method get_actor_filter_traffic_sign (line 914) | def get_actor_filter_traffic_sign(self): method get_actor_filter_traffic_light (line 929) | def get_actor_filter_traffic_light(self): method get_actor_filter_vehicle (line 1019) | def get_actor_filter_vehicle(self): method _get_forward_speed (line 1045) | def _get_forward_speed(self, transform=None, velocity=None): method get_sensors_anno (line 1059) | def get_sensors_anno(self): method get_bounding_boxes (line 1127) | def get_bounding_boxes(self, lidar=None, radar=None): method polar_to_cartesian (line 1584) | def polar_to_cartesian(self, altitude, azimuth, depth): method get_radar_points_in_bbox (line 1595) | def get_radar_points_in_bbox(self, vehicle_pos, vehicle_yaw, extent, r... method get_lidar_points_in_bbox (line 1621) | def get_lidar_points_in_bbox(self, vehicle_pos, vehicle_yaw, extent, l... method gps_to_location (line 1644) | def gps_to_location(self, gps): method _get_latlon_ref (line 1655) | def _get_latlon_ref(self): FILE: close_loop/VAD_MomAD/tools/efficiency_smoothness_benchmark.py function chunk_arrays (line 32) | def chunk_arrays(arrays, m): function chunk_array (line 36) | def chunk_array(arr, m): function seg_compute_comfort_metric (line 40) | def seg_compute_comfort_metric(acceleration, function compute_comfort_metric (line 65) | def compute_comfort_metric( function _approximate_derivatives (line 168) | def _approximate_derivatives( function _within_bound (line 196) | def _within_bound( function _phase_unwrap (line 214) | def _phase_unwrap(headings): function read_from_json (line 237) | def read_from_json(filepath, metric_dir=None): FILE: close_loop/VAD_MomAD/tools/gen_hdmap.py function check_waypoints_status (line 13) | def check_waypoints_status(waypoints_list): class TriggerVolumeGettor (line 32) | class TriggerVolumeGettor(object): method get_global_bbx (line 35) | def get_global_bbx(actor, bbx): method get_corners_from_actor_list (line 43) | def get_corners_from_actor_list(actor_list): method insert_point_into_dict (line 58) | def insert_point_into_dict(lane_marking_dict, corners, road_id, parent... method get_stop_sign_trigger_volume (line 71) | def get_stop_sign_trigger_volume(all_stop_sign_actors, lane_marking_di... method get_traffic_light_trigger_volume (line 89) | def get_traffic_light_trigger_volume(all_trafficlight_actors, lane_mar... class LankMarkingGettor (line 144) | class LankMarkingGettor(object): method get_lanemarkings (line 167) | def get_lanemarkings(carla_map, lane_marking_dict={}, pixels_per_meter... method get_lane_markings_two_side (line 191) | def get_lane_markings_two_side(waypoints, lane_marking_dict): method get_connected_road_id (line 303) | def get_connected_road_id(waypoint): method insert_element_into_dict (line 311) | def insert_element_into_dict(id, element, lane_marking_dict): method get_lateral_shifted_transform (line 319) | def get_lateral_shifted_transform(transform, shift): FILE: close_loop/VAD_MomAD/tools/generate_video.py function create_video (line 8) | def create_video(images_folder, output_video, fps, font_scale, text_colo... FILE: close_loop/VAD_MomAD/tools/merge_route_json.py function merge_route_json (line 6) | def merge_route_json(folder_path): FILE: close_loop/VAD_MomAD/tools/split_xml.py function split_list_into_n_parts (line 4) | def split_list_into_n_parts(lst, n): function main (line 8) | def main(base_route, task_num, algo, planner_type): FILE: close_loop/VAD_MomAD/tools/utils.py function get_image_point (line 15) | def get_image_point(loc, K, w2c): function point_in_canvas_wh (line 38) | def point_in_canvas_wh(pos): function get_forward_vector (line 44) | def get_forward_vector(yaw): function calculate_cube_vertices (line 55) | def calculate_cube_vertices(center, extent): function draw_dashed_line (line 74) | def draw_dashed_line(img, start_point, end_point, color, thickness=1, da... function world_to_ego (line 103) | def world_to_ego(point_world, w2e): function vector_angle (line 109) | def vector_angle(v1, v2): function get_weather_id (line 118) | def get_weather_id(weather_conditions): function compute_2d_distance (line 134) | def compute_2d_distance(loc1, loc2): function build_projection_matrix (line 137) | def build_projection_matrix(w, h, fov, is_behind_camera=False): function convert_depth (line 150) | def convert_depth(data): function get_relative_transform (line 160) | def get_relative_transform(ego_matrix, vehicle_matrix): function normalize_angle (line 175) | def normalize_angle(x): function build_skeleton (line 181) | def build_skeleton(ped, sk_links): function get_matrix (line 203) | def get_matrix(location, rotation): FILE: close_loop/VAD_MomAD/tools/visualize.py function visualize_data (line 13) | def visualize_data(file_path, map_path, vis_bbox=True, vis_top_down=Tru... FILE: open_loop/projects/mmdet3d_plugin/apis/mmdet_train.py function custom_train_detector (line 38) | def custom_train_detector( FILE: open_loop/projects/mmdet3d_plugin/apis/test.py function custom_encode_mask_results (line 26) | def custom_encode_mask_results(mask_results): function custom_multi_gpu_test (line 49) | def custom_multi_gpu_test(model, data_loader, tmpdir=None, gpu_collect=F... function collect_results_cpu (line 123) | def collect_results_cpu(result_part, size, tmpdir=None): function collect_results_gpu (line 171) | def collect_results_gpu(result_part, size): FILE: open_loop/projects/mmdet3d_plugin/apis/train.py function custom_train_model (line 12) | def custom_train_model( function train_model (line 40) | def train_model( FILE: open_loop/projects/mmdet3d_plugin/core/evaluation/eval_hooks.py function _calc_dynamic_intervals (line 16) | def _calc_dynamic_intervals(start_interval, dynamic_interval_list): class CustomDistEvalHook (line 30) | class CustomDistEvalHook(BaseDistEvalHook): method __init__ (line 31) | def __init__(self, *args, dynamic_intervals=None, **kwargs): method _decide_interval (line 40) | def _decide_interval(self, runner): method before_train_epoch (line 47) | def before_train_epoch(self, runner): method before_train_iter (line 52) | def before_train_iter(self, runner): method _do_evaluate (line 56) | def _do_evaluate(self, runner): FILE: open_loop/projects/mmdet3d_plugin/datasets/builder.py function build_dataloader (line 21) | def build_dataloader( function worker_init_fn (line 126) | def worker_init_fn(worker_id, num_workers, rank, seed): function custom_build_dataset (line 154) | def custom_build_dataset(cfg, default_args=None): FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/map/AP.py function average_precision (line 6) | def average_precision(recalls, precisions, mode='area'): function instance_match (line 51) | def instance_match(pred_lines: NDArray, FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/map/distance.py function chamfer_distance (line 5) | def chamfer_distance(line1: NDArray, line2: NDArray) -> float: function frechet_distance (line 23) | def frechet_distance(line1: NDArray, line2: NDArray) -> float: function chamfer_distance_batch (line 37) | def chamfer_distance_batch(pred_lines, gt_lines): FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/map/vector_eval.py class VectorEvaluate (line 23) | class VectorEvaluate(object): method __init__ (line 31) | def __init__(self, dataset_cfg: Config, n_workers: int=N_WORKERS) -> N... method gts (line 42) | def gts(self) -> Dict[str, Dict[int, List[NDArray]]]: method interp_fixed_num (line 55) | def interp_fixed_num(self, method interp_fixed_dist (line 74) | def interp_fixed_dist(self, method _evaluate_single (line 96) | def _evaluate_single(self, method evaluate (line 146) | def evaluate(self, FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/motion/motion_eval_uniad.py class MotionEval (line 33) | class MotionEval: method __init__ (line 53) | def __init__(self, method evaluate (line 111) | def evaluate(self) -> Tuple[DetectionMetrics, DetectionMetricDataList]: method render (line 147) | def render(self, metrics: DetectionMetrics, md_list: DetectionMetricDa... method main (line 173) | def main(self, class NuScenesEval (line 207) | class NuScenesEval(MotionEval): FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/motion/motion_utils.py class MotionBox (line 44) | class MotionBox(DetectionBox): method __init__ (line 47) | def __init__(self, method __eq__ (line 77) | def __eq__(self, other): method serialize (line 90) | def serialize(self) -> dict: method deserialize (line 107) | def deserialize(cls, content: dict): function load_prediction (line 123) | def load_prediction(result_path: str, max_boxes_per_sample: int, box_cls... function load_gt (line 164) | def load_gt(nusc: NuScenes, eval_split: str, box_cls, verbose: bool = Fa... function accumulate (line 324) | def accumulate(gt_boxes: EvalBoxes, function prediction_metrics (line 500) | def prediction_metrics(gt_box_match, pred_box, miss_thresh=2): function traj_fde (line 517) | def traj_fde(gt_box, pred_box, final_step): class MotionMetricDataList (line 528) | class MotionMetricDataList(DetectionMetricDataList): method deserialize (line 531) | def deserialize(cls, content: dict): class MotionMetricData (line 538) | class MotionMetricData(DetectionMetricData): method __init__ (line 543) | def __init__(self, method __eq__ (line 571) | def __eq__(self, other): method max_recall_ind (line 578) | def max_recall_ind(self): method max_recall (line 591) | def max_recall(self): method serialize (line 596) | def serialize(self): method deserialize (line 608) | def deserialize(cls, content: dict): method no_predictions (line 618) | def no_predictions(cls): method random_md (line 628) | def random_md(cls): FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/planning/planning_eval.py function check_collision (line 13) | def check_collision(ego_box, boxes): function get_yaw (line 35) | def get_yaw(traj): class PlanningMetric (line 55) | class PlanningMetric(): method __init__ (line 56) | def __init__( method reset (line 67) | def reset(self): method evaluate_single_coll (line 73) | def evaluate_single_coll(self, traj, fut_boxes): method evaluate_coll (line 88) | def evaluate_coll(self, trajs, gt_trajs, fut_boxes): method compute_L2 (line 107) | def compute_L2(self, trajs, gt_trajs, gt_trajs_mask): method update (line 114) | def update(self, trajs, gt_trajs, gt_trajs_mask, fut_boxes): method compute (line 126) | def compute(self): function planning_eval (line 134) | def planning_eval(results, eval_config, logger): FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/planning/planning_eval_roboAD.py function check_collision (line 13) | def check_collision(ego_box, boxes): function get_yaw (line 35) | def get_yaw(traj): class PlanningMetric (line 55) | class PlanningMetric(): method __init__ (line 56) | def __init__( method reset (line 67) | def reset(self): method evaluate_single_coll (line 74) | def evaluate_single_coll(self, traj, fut_boxes): method evaluate_coll (line 89) | def evaluate_coll(self, trajs, gt_trajs, fut_boxes): method compute_L2 (line 108) | def compute_L2(self, trajs, gt_trajs, gt_trajs_mask): method compute_Consist (line 115) | def compute_Consist(self, trajs, last_final_planning, gt_trajs, gt_tra... method update (line 122) | def update(self, trajs, gt_trajs, gt_trajs_mask, fut_boxes, last_final... method compute (line 141) | def compute(self): function planning_eval_roboAD (line 151) | def planning_eval_roboAD(results, eval_config, logger): FILE: open_loop/projects/mmdet3d_plugin/datasets/evaluation/planning/planning_eval_roboAD_6s.py function check_collision (line 13) | def check_collision(ego_box, boxes): function get_yaw (line 35) | def get_yaw(traj): class PlanningMetric (line 55) | class PlanningMetric(): method __init__ (line 56) | def __init__( method reset (line 67) | def reset(self): method evaluate_single_coll (line 74) | def evaluate_single_coll(self, traj, fut_boxes): method evaluate_coll (line 89) | def evaluate_coll(self, trajs, gt_trajs, fut_boxes): method compute_L2 (line 108) | def compute_L2(self, trajs, gt_trajs, gt_trajs_mask): method compute_Consist (line 115) | def compute_Consist(self, trajs, last_final_planning,gt_trajs, gt_traj... method update (line 122) | def update(self, trajs, gt_trajs, gt_trajs_mask, fut_boxes,last_final_... method compute (line 141) | def compute(self): function planning_eval_roboAD_6s (line 152) | def planning_eval_roboAD_6s(results, eval_config, logger): FILE: open_loop/projects/mmdet3d_plugin/datasets/map_utils/nuscmap_extractor.py class NuscMapExtractor (line 13) | class NuscMapExtractor(object): method __init__ (line 20) | def __init__(self, data_root: str, roi_size: Union[List, Tuple]) -> None: method _union_ped (line 36) | def _union_ped(self, ped_geoms: List[Polygon]) -> List[Polygon]: method get_map_geom (line 87) | def get_map_geom(self, FILE: open_loop/projects/mmdet3d_plugin/datasets/map_utils/utils.py function split_collections (line 9) | def split_collections(geom: BaseGeometry) -> List[Optional[BaseGeometry]]: function get_drivable_area_contour (line 32) | def get_drivable_area_contour(drivable_areas: List[Polygon], function get_ped_crossing_contour (line 85) | def get_ped_crossing_contour(polygon: Polygon, FILE: open_loop/projects/mmdet3d_plugin/datasets/nuscenes_3d_dataset.py class NuScenes3DDataset (line 30) | class NuScenes3DDataset(Dataset): method __init__ (line 80) | def __init__( method __len__ (line 149) | def __len__(self): method _set_sequence_group_flag (line 152) | def _set_sequence_group_flag(self): method get_augmentation (line 209) | def get_augmentation(self): method __getitem__ (line 255) | def __getitem__(self, idx): method get_cat_ids (line 266) | def get_cat_ids(self, idx): method load_annotations (line 280) | def load_annotations(self, ann_file): method anno2geom (line 289) | def anno2geom(self, annos): method get_data_info (line 298) | def get_data_info(self, index): method get_ann_info (line 364) | def get_ann_info(self, index): method _format_bbox (line 437) | def _format_bbox(self, results, jsonfile_prefix=None, tracking=False): method _evaluate_single (line 521) | def _evaluate_single( method format_results (line 611) | def format_results(self, results, jsonfile_prefix=None, tracking=False): method format_map_results (line 639) | def format_map_results(self, results, prefix=None): method format_motion_results (line 679) | def format_motion_results(self, results, jsonfile_prefix=None, trackin... method _evaluate_single_motion (line 766) | def _evaluate_single_motion(self, method evaluate (line 818) | def evaluate( method show (line 923) | def show(self, results, save_dir=None, show=False, pipeline=None): function output_to_nusc_box (line 1033) | def output_to_nusc_box(detection, threshold=None): function lidar_nusc_box_to_global (line 1086) | def lidar_nusc_box_to_global( function get_T_global (line 1113) | def get_T_global(info): FILE: open_loop/projects/mmdet3d_plugin/datasets/nuscenes_3d_dataset_roboAD.py class NuScenes3DDataset_roboAD (line 30) | class NuScenes3DDataset_roboAD(Dataset): method __init__ (line 80) | def __init__( method __len__ (line 150) | def __len__(self): method _set_sequence_group_flag (line 153) | def _set_sequence_group_flag(self): method get_augmentation (line 210) | def get_augmentation(self): method __getitem__ (line 256) | def __getitem__(self, idx): method get_cat_ids (line 268) | def get_cat_ids(self, idx): method load_annotations (line 282) | def load_annotations(self, ann_file): method anno2geom (line 292) | def anno2geom(self, annos): method get_data_info (line 301) | def get_data_info(self, index): method get_ann_info (line 367) | def get_ann_info(self, index): method _format_bbox (line 446) | def _format_bbox(self, results, jsonfile_prefix=None, tracking=False): method _evaluate_single (line 530) | def _evaluate_single( method format_results (line 620) | def format_results(self, results, jsonfile_prefix=None, tracking=False): method format_map_results (line 648) | def format_map_results(self, results, prefix=None): method format_motion_results (line 688) | def format_motion_results(self, results, jsonfile_prefix=None, trackin... method _evaluate_single_motion (line 775) | def _evaluate_single_motion(self, method evaluate (line 827) | def evaluate( method show (line 933) | def show(self, results, save_dir=None, show=False, pipeline=None): function output_to_nusc_box (line 1043) | def output_to_nusc_box(detection, threshold=None): function lidar_nusc_box_to_global (line 1096) | def lidar_nusc_box_to_global( function get_T_global (line 1123) | def get_T_global(info): FILE: open_loop/projects/mmdet3d_plugin/datasets/nuscenes_3d_dataset_roboAD_6s.py class NuScenes3DDataset_roboAD_6s (line 30) | class NuScenes3DDataset_roboAD_6s(Dataset): method __init__ (line 80) | def __init__( method __len__ (line 150) | def __len__(self): method _set_sequence_group_flag (line 153) | def _set_sequence_group_flag(self): method get_augmentation (line 210) | def get_augmentation(self): method __getitem__ (line 256) | def __getitem__(self, idx): method get_cat_ids (line 268) | def get_cat_ids(self, idx): method load_annotations (line 282) | def load_annotations(self, ann_file): method anno2geom (line 292) | def anno2geom(self, annos): method get_data_info (line 301) | def get_data_info(self, index): method get_ann_info (line 367) | def get_ann_info(self, index): method _format_bbox (line 446) | def _format_bbox(self, results, jsonfile_prefix=None, tracking=False): method _evaluate_single (line 530) | def _evaluate_single( method format_results (line 620) | def format_results(self, results, jsonfile_prefix=None, tracking=False): method format_map_results (line 648) | def format_map_results(self, results, prefix=None): method format_motion_results (line 688) | def format_motion_results(self, results, jsonfile_prefix=None, trackin... method _evaluate_single_motion (line 775) | def _evaluate_single_motion(self, method evaluate (line 827) | def evaluate( method show (line 933) | def show(self, results, save_dir=None, show=False, pipeline=None): function output_to_nusc_box (line 1043) | def output_to_nusc_box(detection, threshold=None): function lidar_nusc_box_to_global (line 1096) | def lidar_nusc_box_to_global( function get_T_global (line 1123) | def get_T_global(info): FILE: open_loop/projects/mmdet3d_plugin/datasets/pipelines/augment.py class ResizeCropFlipImage (line 11) | class ResizeCropFlipImage(object): method __call__ (line 12) | def __call__(self, results): method _img_transform (line 35) | def _img_transform(self, img, aug_configs): class BBoxRotation (line 85) | class BBoxRotation(object): method __call__ (line 86) | def __call__(self, results): method box_rotate (line 115) | def box_rotate(bbox_3d, angle): class PhotoMetricDistortionMultiViewImage (line 130) | class PhotoMetricDistortionMultiViewImage: method __init__ (line 149) | def __init__( method __call__ (line 161) | def __call__(self, results): method __repr__ (line 225) | def __repr__(self): FILE: open_loop/projects/mmdet3d_plugin/datasets/pipelines/loading.py class LoadMultiViewImageFromFiles (line 7) | class LoadMultiViewImageFromFiles(object): method __init__ (line 19) | def __init__(self, to_float32=False, color_type="unchanged"): method __call__ (line 23) | def __call__(self, results): method __repr__ (line 65) | def __repr__(self): class LoadPointsFromFile (line 74) | class LoadPointsFromFile(object): method __init__ (line 100) | def __init__( method _load_points (line 124) | def _load_points(self, pts_filename): method __call__ (line 147) | def __call__(self, results): FILE: open_loop/projects/mmdet3d_plugin/datasets/pipelines/transform.py class MultiScaleDepthMapGenerator (line 9) | class MultiScaleDepthMapGenerator(object): method __init__ (line 10) | def __init__(self, downsample=1, max_depth=60): method __call__ (line 16) | def __call__(self, input_dict): class NuScenesSparse4DAdaptor (line 59) | class NuScenesSparse4DAdaptor(object): method __init (line 60) | def __init(self): method __call__ (line 63) | def __call__(self, input_dict): method limit_period (line 118) | def limit_period( class InstanceNameFilter (line 126) | class InstanceNameFilter(object): method __init__ (line 133) | def __init__(self, classes): method __call__ (line 137) | def __call__(self, input_dict): method __repr__ (line 160) | def __repr__(self): class CircleObjectRangeFilter (line 168) | class CircleObjectRangeFilter(object): method __init__ (line 169) | def __init__( method __call__ (line 174) | def __call__(self, input_dict): method __repr__ (line 199) | def __repr__(self): class NormalizeMultiviewImage (line 207) | class NormalizeMultiviewImage(object): method __init__ (line 217) | def __init__(self, mean, std, to_rgb=True): method __call__ (line 222) | def __call__(self, results): method __repr__ (line 239) | def __repr__(self): FILE: open_loop/projects/mmdet3d_plugin/datasets/pipelines/vectorize.py class VectorizeMap (line 12) | class VectorizeMap(object): method __init__ (line 27) | def __init__(self, method interp_fixed_num (line 53) | def interp_fixed_num(self, line: LineString) -> NDArray: method interp_fixed_dist (line 69) | def interp_fixed_dist(self, line: LineString) -> NDArray: method get_vectorized_lines (line 88) | def get_vectorized_lines(self, map_geoms: Dict) -> Dict: method normalize_line (line 125) | def normalize_line(self, line: NDArray) -> NDArray: method permute_line (line 145) | def permute_line(self, line: np.ndarray, padding=1e5): method __call__ (line 180) | def __call__(self, input_dict): method __repr__ (line 199) | def __repr__(self): FILE: open_loop/projects/mmdet3d_plugin/datasets/samplers/distributed_sampler.py class ForkedPdb (line 11) | class ForkedPdb(pdb.Pdb): method interaction (line 12) | def interaction(self, *args, **kwargs): function set_trace (line 21) | def set_trace(): class DistributedSampler (line 26) | class DistributedSampler(_DistributedSampler): method __init__ (line 27) | def __init__( method __iter__ (line 36) | def __iter__(self): FILE: open_loop/projects/mmdet3d_plugin/datasets/samplers/group_in_batch_sampler.py function sync_random_seed (line 13) | def sync_random_seed(seed=None, device="cuda"): class GroupInBatchSampler (line 48) | class GroupInBatchSampler(Sampler): method __init__ (line 57) | def __init__( method _infinite_group_indices (line 109) | def _infinite_group_indices(self): method _group_indices_per_global_sample_idx (line 115) | def _group_indices_per_global_sample_idx(self, global_sample_idx): method __iter__ (line 123) | def __iter__(self): method __len__ (line 173) | def __len__(self): method set_epoch (line 177) | def set_epoch(self, epoch): FILE: open_loop/projects/mmdet3d_plugin/datasets/samplers/group_sampler.py class DistributedGroupSampler (line 14) | class DistributedGroupSampler(Sampler): method __init__ (line 32) | def __init__( method __iter__ (line 66) | def __iter__(self): method __len__ (line 115) | def __len__(self): method set_epoch (line 118) | def set_epoch(self, epoch): FILE: open_loop/projects/mmdet3d_plugin/datasets/samplers/sampler.py function build_sampler (line 6) | def build_sampler(cfg, default_args): FILE: open_loop/projects/mmdet3d_plugin/datasets/utils.py function box3d_to_corners (line 10) | def box3d_to_corners(box3d): function plot_rect3d_on_img (line 32) | def plot_rect3d_on_img( function draw_lidar_bbox3d_on_img (line 94) | def draw_lidar_bbox3d_on_img( function draw_points_on_img (line 130) | def draw_points_on_img(points, img, lidar2img_rt, color=(0, 255, 0), cir... function draw_lidar_bbox3d_on_bev (line 155) | def draw_lidar_bbox3d_on_bev( function draw_lidar_bbox3d (line 207) | def draw_lidar_bbox3d(bboxes_3d, imgs, lidar2imgs, color=(255, 0, 0)): FILE: open_loop/projects/mmdet3d_plugin/models/attention.py function _in_projection_packed (line 27) | def _in_projection_packed(q, k, v, w, b = None): class FlashAttention (line 36) | class FlashAttention(nn.Module): method __init__ (line 46) | def __init__(self, softmax_scale=None, attention_dropout=0.0, device=N... method forward (line 53) | def forward(self, q, kv, class FlashMHA (line 101) | class FlashMHA(nn.Module): method __init__ (line 103) | def __init__(self, embed_dim, num_heads, bias=True, batch_first=True, ... method _reset_parameters (line 126) | def _reset_parameters(self) -> None: method forward (line 132) | def forward(self, q, k, v, key_padding_mask=None): class MultiheadFlashAttention (line 147) | class MultiheadFlashAttention(BaseModule): method __init__ (line 167) | def __init__(self, method forward (line 204) | def forward(self, function gen_sineembed_for_position (line 288) | def gen_sineembed_for_position(pos_tensor, hidden_dim=256): FILE: open_loop/projects/mmdet3d_plugin/models/base_target.py class BaseTargetWithDenoising (line 7) | class BaseTargetWithDenoising(ABC): method __init__ (line 8) | def __init__(self, num_dn_groups=0, num_temp_dn_groups=0): method sample (line 15) | def sample(self, cls_pred, box_pred, cls_target, box_target): method get_dn_anchors (line 22) | def get_dn_anchors(self, cls_target, box_target, *args, **kwargs): method update_dn (line 29) | def update_dn(self, instance_feature, anchor, *args, **kwargs): method cache_dn (line 35) | def cache_dn( FILE: open_loop/projects/mmdet3d_plugin/models/blocks.py function linear_relu_ln (line 32) | def linear_relu_ln(embed_dims, in_loops, out_loops, input_dims=None): class DeformableFeatureAggregation (line 46) | class DeformableFeatureAggregation(BaseModule): method __init__ (line 47) | def __init__( method init_weight (line 106) | def init_weight(self): method forward (line 110) | def forward( method _get_weights (line 164) | def _get_weights(self, instance_feature, anchor_embed, metas=None): method project_points (line 199) | def project_points(key_points, projection_mat, image_wh=None): method feature_sampling (line 216) | def feature_sampling( method multi_view_level_fusion (line 248) | def multi_view_level_fusion( class DenseDepthNet (line 265) | class DenseDepthNet(BaseModule): method __init__ (line 266) | def __init__( method forward (line 287) | def forward(self, feature_maps, focal=None, gt_depths=None): method loss (line 303) | def loss(self, depth_preds, gt_depths): class AsymmetricFFN (line 326) | class AsymmetricFFN(BaseModule): method __init__ (line 327) | def __init__( method forward (line 384) | def forward(self, x, identity=None): FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/decoder.py function decode_box (line 9) | def decode_box(box): class SparseBox3DDecoder (line 24) | class SparseBox3DDecoder(object): method __init__ (line 25) | def __init__( method decode (line 36) | def decode( FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/detection3d_blocks.py class SparseBox3DEncoder (line 24) | class SparseBox3DEncoder(BaseModule): method __init__ (line 25) | def __init__( method forward (line 57) | def forward(self, box_3d: torch.Tensor): class SparseBox3DRefinementModule (line 79) | class SparseBox3DRefinementModule(BaseModule): method __init__ (line 80) | def __init__( method init_weight (line 119) | def init_weight(self): method forward (line 124) | def forward( class SparseBox3DKeyPointsGenerator (line 161) | class SparseBox3DKeyPointsGenerator(BaseModule): method __init__ (line 162) | def __init__( method init_weight (line 180) | def init_weight(self): method forward (line 184) | def forward( method anchor_projection (line 252) | def anchor_projection( method distance (line 300) | def distance(anchor): FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/detection3d_head.py class Sparse4DHead (line 28) | class Sparse4DHead(BaseModule): method __init__ (line 29) | def __init__( method init_weights (line 128) | def init_weights(self): method graph_model (line 140) | def graph_model( method forward (line 168) | def forward( method loss (line 415) | def loss(self, model_outs, data, feature_maps=None): method prepare_for_dn_loss (line 525) | def prepare_for_dn_loss(self, model_outs, prefix=""): method post_process (line 552) | def post_process(self, model_outs, output_idx=-1): FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/detection3d_head_roboAD.py class Sparse4DHead_roboAD (line 28) | class Sparse4DHead_roboAD(BaseModule): method __init__ (line 29) | def __init__( method init_weights (line 132) | def init_weights(self): method graph_model (line 144) | def graph_model( method forward (line 172) | def forward( method loss (line 438) | def loss(self, model_outs, data, feature_maps=None): method prepare_for_dn_loss (line 548) | def prepare_for_dn_loss(self, model_outs, prefix=""): method post_process (line 575) | def post_process(self, model_outs, output_idx=-1): FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/feature_enhance.py class SelfAttention (line 5) | class SelfAttention(nn.Module): method __init__ (line 6) | def __init__(self, input_dim): method forward (line 12) | def forward(self, x): class DenoisingAutoencoder (line 26) | class DenoisingAutoencoder(nn.Module): method __init__ (line 27) | def __init__(self, input_dim): method forward (line 42) | def forward(self, x): class FeatureEnhancer (line 48) | class FeatureEnhancer(nn.Module): method __init__ (line 49) | def __init__(self, input_dim, noise_level=0.1): method add_noise (line 56) | def add_noise(self, x): method denoise (line 60) | def denoise(self, x): method forward (line 64) | def forward(self, x): FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/losses.py class SparseBox3DLoss (line 11) | class SparseBox3DLoss(nn.Module): method __init__ (line 12) | def __init__( method forward (line 31) | def forward( FILE: open_loop/projects/mmdet3d_plugin/models/detection3d/target.py class SparseBox3DTarget (line 16) | class SparseBox3DTarget(BaseTargetWithDenoising): method __init__ (line 17) | def __init__( method encode_reg_target (line 48) | def encode_reg_target(self, box_target, device=None): method sample (line 66) | def sample( method _cls_cost (line 122) | def _cls_cost(self, cls_pred, cls_target): method _box_cost (line 146) | def _box_cost(self, box_pred, box_target, instance_reg_weights): method get_dn_anchors (line 164) | def get_dn_anchors(self, cls_target, box_target, gt_instance_id=None): method update_dn (line 295) | def update_dn( method cache_dn (line 398) | def cache_dn( FILE: open_loop/projects/mmdet3d_plugin/models/grid_mask.py class Grid (line 7) | class Grid(object): method __init__ (line 8) | def __init__( method set_prob (line 20) | def set_prob(self, epoch, max_epoch): method __call__ (line 23) | def __call__(self, img, label): class GridMask (line 75) | class GridMask(nn.Module): method __init__ (line 76) | def __init__( method set_prob (line 89) | def set_prob(self, epoch, max_epoch): method forward (line 92) | def forward(self, x): FILE: open_loop/projects/mmdet3d_plugin/models/instance_bank.py function topk (line 12) | def topk(confidence, k, *inputs): class InstanceBank (line 25) | class InstanceBank(nn.Module): method __init__ (line 26) | def __init__( method init_weight (line 69) | def init_weight(self): method reset (line 74) | def reset(self): method get (line 84) | def get(self, batch_size, metas=None, dn_metas=None): method update (line 148) | def update(self, instance_feature, anchor, confidence): method cache (line 195) | def cache( method get_instance_id (line 223) | def get_instance_id(self, confidence, anchor=None, threshold=None): method update_instance_id (line 243) | def update_instance_id(self, instance_id=None, confidence=None): FILE: open_loop/projects/mmdet3d_plugin/models/map/decoder.py class SparsePoint3DDecoder (line 9) | class SparsePoint3DDecoder(object): method __init__ (line 10) | def __init__( method decode (line 19) | def decode( FILE: open_loop/projects/mmdet3d_plugin/models/map/loss.py class LinesL1Loss (line 10) | class LinesL1Loss(nn.Module): method __init__ (line 12) | def __init__(self, reduction='mean', loss_weight=1.0, beta=0.5): method forward (line 26) | def forward(self, class SparseLineLoss (line 66) | class SparseLineLoss(nn.Module): method __init__ (line 67) | def __init__( method forward (line 84) | def forward( method normalize_line (line 105) | def normalize_line(self, line): FILE: open_loop/projects/mmdet3d_plugin/models/map/map_blocks.py class SparsePoint3DEncoder (line 20) | class SparsePoint3DEncoder(BaseModule): method __init__ (line 21) | def __init__( method forward (line 35) | def forward(self, anchor: torch.Tensor): class SparsePoint3DRefinementModule (line 41) | class SparsePoint3DRefinementModule(BaseModule): method __init__ (line 42) | def __init__( method init_weight (line 69) | def init_weight(self): method forward (line 74) | def forward( class SparsePoint3DKeyPointsGenerator (line 94) | class SparsePoint3DKeyPointsGenerator(BaseModule): method __init__ (line 95) | def __init__( method init_weight (line 114) | def init_weight(self): method forward (line 118) | def forward( method anchor_projection (line 173) | def anchor_projection( FILE: open_loop/projects/mmdet3d_plugin/models/map/match_cost.py class LinesL1Cost (line 8) | class LinesL1Cost(object): method __init__ (line 14) | def __init__(self, weight=1.0, beta=0.0, permute=False): method __call__ (line 19) | def __call__(self, lines_pred, gt_lines, **kwargs): class MapQueriesCost (line 62) | class MapQueriesCost(object): method __init__ (line 64) | def __init__(self, cls_cost, reg_cost, iou_cost=None): method __call__ (line 73) | def __call__(self, preds: dict, gts: dict, ignore_cls_cost: bool): FILE: open_loop/projects/mmdet3d_plugin/models/map/target.py class SparsePoint3DTarget (line 15) | class SparsePoint3DTarget(BaseTargetWithDenoising): method __init__ (line 16) | def __init__( method sample (line 40) | def sample( method normalize_line (line 74) | def normalize_line(self, line): class HungarianLinesAssigner (line 93) | class HungarianLinesAssigner(BaseAssigner): method __init__ (line 112) | def __init__(self, cost=dict, **kwargs): method assign (line 115) | def assign(self, FILE: open_loop/projects/mmdet3d_plugin/models/motion/decoder.py class SparseBox3DMotionDecoder (line 14) | class SparseBox3DMotionDecoder(SparseBox3DDecoder): method __init__ (line 15) | def __init__(self): method decode (line 18) | def decode( class HierarchicalPlanningDecoder (line 111) | class HierarchicalPlanningDecoder(object): method __init__ (line 112) | def __init__( method decode (line 123) | def decode( method select (line 153) | def select( method rescore (line 190) | def rescore( function check_collision (line 281) | def check_collision(boxes1, boxes2): function corners_in_box (line 295) | def corners_in_box(boxes1, boxes2): FILE: open_loop/projects/mmdet3d_plugin/models/motion/instance_queue.py class InstanceQueue (line 15) | class InstanceQueue(nn.Module): method __init__ (line 16) | def __init__( method reset (line 44) | def reset(self): method get (line 56) | def get( method prepare_motion (line 116) | def prepare_motion( method prepare_planning (line 160) | def prepare_planning( method cache_motion (line 203) | def cache_motion(self, instance_feature, det_output, metas): method cache_planning (line 211) | def cache_planning(self, ego_feature, ego_status): FILE: open_loop/projects/mmdet3d_plugin/models/motion/motion_blocks.py class MotionPlanningRefinementModule (line 17) | class MotionPlanningRefinementModule(BaseModule): method __init__ (line 18) | def __init__( method init_weight (line 64) | def init_weight(self): method forward (line 69) | def forward( class MotionPlanning2thRefinementModule (line 85) | class MotionPlanning2thRefinementModule(nn.Module): method __init__ (line 86) | def __init__( method init_weight (line 118) | def init_weight(self): method forward (line 122) | def forward( FILE: open_loop/projects/mmdet3d_plugin/models/motion/motion_planning_head.py class MotionPlanningHead (line 34) | class MotionPlanningHead(BaseModule): method __init__ (line 35) | def __init__( method init_weights (line 143) | def init_weights(self): method get_motion_anchor (line 155) | def get_motion_anchor( method _agent2lidar (line 165) | def _agent2lidar(self, trajs, boxes): method graph_model (line 179) | def graph_model( method forward (line 207) | def forward( method loss (line 354) | def loss(self, method loss_motion (line 368) | def loss_motion(self, model_outs, data, motion_loss_cache): method loss_planning (line 415) | def loss_planning(self, model_outs, data): method post_process (line 464) | def post_process( FILE: open_loop/projects/mmdet3d_plugin/models/motion/motion_planning_head_roboAD.py class MotionPlanningHeadroboAD (line 39) | class MotionPlanningHeadroboAD(BaseModule): method __init__ (line 40) | def __init__( method init_weights (line 161) | def init_weights(self): method get_motion_anchor (line 175) | def get_motion_anchor( method _agent2lidar (line 185) | def _agent2lidar(self, trajs, boxes): method rescore (line 200) | def rescore( method graph_model (line 291) | def graph_model( method sa_atten (line 318) | def sa_atten(self, plan_query, last_query): method select_last_final_planning_prediction (line 322) | def select_last_final_planning_prediction(self,planning_classification... method select_currect_best_planning (line 337) | def select_currect_best_planning(self, last_final_planning_prediction,... method select_former_best_query (line 348) | def select_former_best_query(self, plan_query, last_ego_cmd, planning_... method euclidean_distance (line 354) | def euclidean_distance(self, TA, TB): method dtw_distance (line 360) | def dtw_distance(self, TA, TB): method forward (line 367) | def forward( method loss (line 633) | def loss(self, method loss_motion (line 649) | def loss_motion(self, model_outs, data, motion_loss_cache): method loss_planning (line 696) | def loss_planning(self, model_outs, data): method loss_planning_refined (line 743) | def loss_planning_refined(self, model_outs, data): method post_process (line 791) | def post_process( FILE: open_loop/projects/mmdet3d_plugin/models/motion/motion_planning_head_roboAD_6s.py class MotionPlanningHeadroboAD_6s (line 39) | class MotionPlanningHeadroboAD_6s(BaseModule): method __init__ (line 40) | def __init__( method init_weights (line 161) | def init_weights(self): method get_motion_anchor (line 175) | def get_motion_anchor( method _agent2lidar (line 185) | def _agent2lidar(self, trajs, boxes): method rescore (line 200) | def rescore( method graph_model (line 291) | def graph_model( method sa_atten (line 318) | def sa_atten(self, plan_query, last_query): method select_last_final_planning_prediction (line 322) | def select_last_final_planning_prediction(self,planning_classification... method select_currect_best_planning (line 337) | def select_currect_best_planning(self, last_final_planning_prediction,... method select_former_best_query (line 348) | def select_former_best_query(self, plan_query, last_ego_cmd, planning_... method euclidean_distance (line 354) | def euclidean_distance(self, TA, TB): method dtw_distance (line 360) | def dtw_distance(self, TA, TB): method forward (line 367) | def forward( method loss (line 633) | def loss(self, method loss_motion (line 649) | def loss_motion(self, model_outs, data, motion_loss_cache): method loss_planning (line 696) | def loss_planning(self, model_outs, data): method loss_planning_refined (line 743) | def loss_planning_refined(self, model_outs, data): method post_process (line 791) | def post_process( FILE: open_loop/projects/mmdet3d_plugin/models/motion/next_token_prediction.py class ConsistencyLSTM (line 4) | class ConsistencyLSTM(nn.Module): method __init__ (line 5) | def __init__(self, embed_dim, hidden_dim): method forward (line 10) | def forward(self, frames): class NextTokenPredictor (line 26) | class NextTokenPredictor(nn.Module): method __init__ (line 27) | def __init__(self, embed_dim, hidden_dim): method forward (line 33) | def forward(self, last_feat, last_score, cur_feat): FILE: open_loop/projects/mmdet3d_plugin/models/motion/target.py function get_cls_target (line 8) | def get_cls_target( function get_best_reg (line 23) | def get_best_reg( class MotionTarget (line 41) | class MotionTarget(): method __init__ (line 42) | def __init__( method sample (line 47) | def sample( class PlanningTarget (line 74) | class PlanningTarget(): method __init__ (line 75) | def __init__( method sample (line 84) | def sample( FILE: open_loop/projects/mmdet3d_plugin/models/sparsedrive.py class SparseDrive (line 27) | class SparseDrive(BaseDetector): method __init__ (line 28) | def __init__( method extract_feat (line 62) | def extract_feat(self, img, return_depth=False, metas=None): method forward (line 92) | def forward(self, img, **data): method forward_train (line 98) | def forward_train(self, img, **data): method forward_test (line 108) | def forward_test(self, img, **data): method simple_test (line 114) | def simple_test(self, img, **data): method aug_test (line 122) | def aug_test(self, img, **data): FILE: open_loop/projects/mmdet3d_plugin/models/sparsedrive_head.py class SparseDriveHead (line 14) | class SparseDriveHead(BaseModule): method __init__ (line 15) | def __init__( method init_weights (line 33) | def init_weights(self): method forward (line 41) | def forward( method loss (line 71) | def loss(self, model_outs, data): method post_process (line 96) | def post_process(self, model_outs, data): FILE: open_loop/projects/mmdet3d_plugin/ops/__init__.py function deformable_aggregation_function (line 6) | def deformable_aggregation_function( function feature_maps_format (line 22) | def feature_maps_format(feature_maps, inverse=False): FILE: open_loop/projects/mmdet3d_plugin/ops/deformable_aggregation.py class DeformableAggregationFunction (line 7) | class DeformableAggregationFunction(Function): method forward (line 9) | def forward( method backward (line 41) | def backward(ctx, grad_output): FILE: open_loop/projects/mmdet3d_plugin/ops/setup.py function make_cuda_ext (line 12) | def make_cuda_ext( FILE: open_loop/projects/mmdet3d_plugin/ops/src/deformable_aggregation.cpp function deformable_aggregation_forward (line 31) | at::Tensor deformable_aggregation_forward( function deformable_aggregation_backward (line 86) | void deformable_aggregation_backward( function PYBIND11_MODULE (line 127) | PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { FILE: open_loop/tools/benchmark.py function parse_args (line 17) | def parse_args(): function get_max_memory (line 33) | def get_max_memory(model): function main (line 42) | def main(): function get_mem_fps (line 47) | def get_mem_fps(args): function get_flops_params (line 112) | def get_flops_params(args): FILE: open_loop/tools/data_converter/nuscenes_converter.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 154) | def get_available_scenes(nusc): function _fill_trainval_infos (line 194) | def _fill_trainval_infos(nusc, function get_ego_status (line 419) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 441) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 453) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 514) | def nuscenes_data_prep(root_path, FILE: open_loop/tools/data_converter/nuscenes_converter_1_10.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 160) | def get_available_scenes(nusc): function _fill_trainval_infos (line 200) | def _fill_trainval_infos(nusc, function get_ego_status (line 431) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 453) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 465) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 526) | def nuscenes_data_prep(root_path, FILE: open_loop/tools/data_converter/nuscenes_converter_6s.py function quart_to_rpy (line 41) | def quart_to_rpy(qua): function locate_message (line 48) | def locate_message(utimes, utime): function geom2anno (line 54) | def geom2anno(map_geoms): function create_nuscenes_infos (line 70) | def create_nuscenes_infos(root_path, function get_available_scenes (line 154) | def get_available_scenes(nusc): function _fill_trainval_infos (line 194) | def _fill_trainval_infos(nusc, function get_ego_status (line 419) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 441) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 453) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 514) | def nuscenes_data_prep(root_path, FILE: open_loop/tools/data_converter/nuscenes_converter_hrad_planing_scene.py function quart_to_rpy (line 43) | def quart_to_rpy(qua): function locate_message (line 50) | def locate_message(utimes, utime): function geom2anno (line 56) | def geom2anno(map_geoms): function create_nuscenes_infos (line 72) | def create_nuscenes_infos(root_path, function get_available_scenes (line 157) | def get_available_scenes(nusc): function _fill_trainval_infos (line 197) | def _fill_trainval_infos(nusc, function get_ego_status (line 427) | def get_ego_status(nusc, nusc_can_bus, sample): function get_global_sensor_pose (line 449) | def get_global_sensor_pose(rec, nusc): function obtain_sensor2top (line 461) | def obtain_sensor2top(nusc, function nuscenes_data_prep (line 522) | def nuscenes_data_prep(root_path, FILE: open_loop/tools/fuse_conv_bn.py function fuse_conv_bn (line 11) | def fuse_conv_bn(conv, bn): function fuse_module (line 27) | def fuse_module(m): function parse_args (line 48) | def parse_args(): function main (line 58) | def main(): FILE: open_loop/tools/kmeans/kmeans_motion.py function lidar2agent (line 24) | def lidar2agent(trajs_offset, boxes): FILE: open_loop/tools/test.py function parse_args (line 28) | def parse_args(): function main (line 125) | def main(): FILE: open_loop/tools/train.py function parse_args (line 32) | def parse_args(): function main (line 118) | def main(): FILE: open_loop/tools/train_single.py function parse_args (line 37) | def parse_args(): function main (line 123) | def main(): FILE: open_loop/tools/visualization/bev_render.py class BEVRender (line 88) | class BEVRender: method __init__ (line 89) | def __init__( method reset_canvas (line 104) | def reset_canvas(self): method render (line 111) | def render( method render_long (line 144) | def render_long( method save_fig (line 188) | def save_fig(self, filename): method draw_detection_gt (line 194) | def draw_detection_gt(self, data): method draw_detection_pred (line 227) | def draw_detection_pred(self, result): method draw_track_pred (line 251) | def draw_track_pred(self, result): method draw_motion_gt (line 285) | def draw_motion_gt(self, data): method draw_motion_pred (line 311) | def draw_motion_pred(self, result, top_k=1): method draw_map_gt (line 345) | def draw_map_gt(self, data): method draw_map_pred (line 357) | def draw_map_pred(self, result): method draw_planning_gt (line 371) | def draw_planning_gt(self, data): method draw_planing_gt_long (line 387) | def draw_planing_gt_long(): method rotate_points (line 390) | def rotate_points(self,points, theta): method draw_planning_pred_long_vad (line 398) | def draw_planning_pred_long_vad(self, data, data1, data2, result, resu... method draw_planning_pred_long_uniad (line 444) | def draw_planning_pred_long_uniad(self, data, data1, data2, result, re... method draw_planning_pred_long (line 490) | def draw_planning_pred_long(self, data, data1, data2, result, result1,... method draw_planning_pred_fasan (line 562) | def draw_planning_pred_fasan(self, data, result, top_k=6): method draw_planning_pred (line 629) | def draw_planning_pred(self, data, result, top_k=6): method _render_traj (line 675) | def _render_traj(self, future_traj, traj_score=1, colormap='winter', method _render_sdc_car (line 694) | def _render_sdc_car(self): method _render_legend (line 700) | def _render_legend(self): method _render_command (line 705) | def _render_command(self, data): FILE: open_loop/tools/visualization/cam_render.py class CamRender (line 37) | class CamRender: method __init__ (line 38) | def __init__( method reset_canvas (line 47) | def reset_canvas(self): method render (line 54) | def render( method load_image (line 69) | def load_image(self, data_path, cam): method update_image (line 79) | def update_image(self, image, index, cam): method get_axis (line 87) | def get_axis(self, index): method save_fig (line 91) | def save_fig(self, filename): method render_image_data (line 97) | def render_image_data(self, data, index): method draw_detection_pred (line 105) | def draw_detection_pred(self, data, result): method draw_motion_pred (line 148) | def draw_motion_pred(self, data, result, points_per_step=10): method draw_planning_pred (line 196) | def draw_planning_pred(self, data, result): method _render_traj (line 259) | def _render_traj(self, traj_points, cam_intrinsic, j, color=(1, 0.5, 0... FILE: open_loop/tools/visualization/visualize.py class Visualizer (line 30) | class Visualizer: method __init__ (line 31) | def __init__( method add_vis (line 46) | def add_vis(self, index): method add_vis_long (line 54) | def add_vis_long(self, index): method combine (line 69) | def combine(self, bev_gt_path, bev_pred_path, cam_pred_path, index): method image2video (line 77) | def image2video(self, fps=12, downsample=4): function parse_args (line 97) | def parse_args(): function main (line 113) | def main(): FILE: open_loop/visualize.py class Visualizer (line 31) | class Visualizer: method __init__ (line 32) | def __init__( method add_vis (line 47) | def add_vis(self, index): method combine (line 55) | def combine(self, bev_gt_path, bev_pred_path, cam_pred_path, index): method image2video (line 63) | def image2video(self, fps=12, downsample=4): function parse_args (line 83) | def parse_args(): function main (line 99) | def main():