MCPcopy Create free account

hub / github.com/dotchen/LearningByCheating / functions

Functions654 in github.com/dotchen/LearningByCheating

↓ 67 callersFunction_add
(suite_name, *args, **kwargs)
benchmark/__init__.py:14
↓ 48 callersFunctionworld_to_pixel
(x,y,ox,oy,ori_ox, ori_oy, offset=(-80,160), size=320, angle_jitter=15)
bird_view/utils/datasets/image_lmdb.py:21
↓ 34 callersMethodnorm
(self)
misc/find_traffic_violations.py:40
↓ 24 callersMethodget_waypoint
The method returns waypoint at given location
PythonAPI/agents/navigation/global_route_planner_dao.py:64
↓ 15 callersMethodget_module
(self, name)
misc/no_rendering_mode.py:196
↓ 15 callersMethodget_module
(self, name)
bird_view/utils/map_utils.py:140
↓ 15 callersMethodget_module
(self, name)
bird_view/utils/no_rendering_mode.py:211
↓ 14 callersMethoddot
(self, v)
misc/find_traffic_violations.py:34
↓ 14 callersMethodnotification
(self, text, seconds=2.0)
misc/manual_control.py:454
↓ 13 callersFunction_write
(text, i, j, canvas=canvas, fontsize=0.4)
benchmark/run_benchmark.py:59
↓ 13 callersMethodinit
(self, log_path)
bird_view/utils/logger.py:51
↓ 12 callersMethodrender
(self, display)
misc/no_rendering_mode.py:258
↓ 12 callersMethodrender
(self, display)
bird_view/utils/no_rendering_mode.py:273
↓ 11 callersMethodcross
(self, v)
misc/find_traffic_violations.py:37
↓ 11 callersMethodrender
(self, display, snapshot=None)
bird_view/utils/map_utils.py:202
↓ 9 callersMethodclear
()
bird_view/utils/map_utils.py:1367
↓ 9 callersMethodnotification
(self, text, seconds=2.0)
misc/automatic_control.py:345
↓ 8 callersFunctionexit_game
()
misc/no_rendering_mode.py:1177
↓ 8 callersMethodstep
(self, error)
bird_view/models/controller.py:53
↓ 7 callersMethoddestroy
(self)
misc/manual_control.py:214
↓ 7 callersMethodscalar
(self, **kwargs)
bird_view/utils/logger.py:60
↓ 6 callersMethodapply_control
(self, control)
benchmark/goal_suite.py:111
↓ 6 callersMethoddistance
(v)
misc/no_rendering_mode.py:770
↓ 6 callersMethodis_success
(self)
benchmark/base_suite.py:21
↓ 6 callersFunctionone_hot
(x, num_digits=4, start=1)
bird_view/utils/train_utils.py:33
↓ 6 callersMethodsave
(cls, key, save_dir=None, save_path=None, duration=0.1)
bird_view/utils/bz_utils/gif_maker.py:21
↓ 6 callersMethodtick
(self, world, clock)
misc/manual_control.py:392
↓ 5 callersMethodadd
(cls, key, image)
bird_view/utils/bz_utils/gif_maker.py:14
↓ 5 callersFunctionclamp
(value, minimum=0.0, maximum=100.0)
misc/dynamic_weather.py:34
↓ 5 callersMethodimage
(self, **kwargs)
bird_view/utils/logger.py:67
↓ 5 callersMethodmake_surface
(tl)
misc/no_rendering_mode.py:385
↓ 5 callersMethodnotification
(self, text, seconds=2.0)
misc/no_rendering_mode.py:296
↓ 5 callersMethodnotification
(self, text, seconds=2.0)
bird_view/utils/no_rendering_mode.py:311
↓ 5 callersMethodrender
(self, display)
misc/manual_control.py:460
↓ 5 callersMethodtick
(cls)
bird_view/utils/map_utils.py:1345
↓ 4 callersMethod__init__
(self, mean, std)
bird_view/models/common.py:87
↓ 4 callersFunction_dot
(_canvas, i, j, color, radius=2)
training/phase2_utils.py:104
↓ 4 callersFunction_dot
(_canvas, i, j, color, radius=2)
training/train_image_phase1.py:97
↓ 4 callersFunction_dot
(_canvas, i, j, color, radius=2)
training/train_image_phase0.py:116
↓ 4 callersMethod_localize
This function finds the road segment closest to given location location : carla.Location to be localized in the graph
PythonAPI/agents/navigation/global_route_planner.py:149
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
bird_view/models/resnet.py:132
↓ 4 callersFunction_stick_together
(a, b, axis=1)
benchmark/run_benchmark.py:35
↓ 4 callersFunction_write
(text, i, j)
data_collector.py:57
↓ 4 callersMethodend_epoch
(self)
bird_view/utils/logger.py:71
↓ 4 callersFunctionget_actor_display_name
(actor, truncate=250)
misc/manual_control.py:135
↓ 4 callersFunctionget_actor_display_name
(actor, truncate=250)
misc/automatic_control.py:102
↓ 4 callersMethodget_bounding_box
(actor)
bird_view/utils/no_rendering_mode.py:174
↓ 4 callersMethodget_topology
Accessor for topology. This function retrieves topology from the server as a list of road segments as pairs of waypoint objec
PythonAPI/agents/navigation/global_route_planner_dao.py:26
↓ 4 callersMethodnotification
(self, text, seconds=2.0)
bird_view/utils/map_utils.py:241
↓ 4 callersMethodrender
(self, display)
misc/automatic_control.py:351
↓ 4 callersMethodsave_config
(self, config_dict)
bird_view/utils/bz_utils/saver.py:82
↓ 4 callersMethodset_sensor
(self, index, notify=True)
misc/manual_control.py:689
↓ 4 callersMethodset_weather
(self, weather_string)
bird_view/utils/carla_utils.py:478
↓ 4 callersMethodsetup
Performs initial server data lookup for detailed topology and builds graph representation of the world map.
PythonAPI/agents/navigation/global_route_planner.py:37
↓ 3 callersFunction_dot
(i, j, color, radius=2)
training/train_birdview.py:81
↓ 3 callersMethod_find_closest_in_list
(self, current_waypoint, waypoint_list)
PythonAPI/agents/navigation/global_route_planner.py:344
↓ 3 callersMethod_is_vehicle_hazard
Check if a given vehicle is an obstacle in our way. To this end we take into account the road and lane the target vehicle is on and r
PythonAPI/agents/navigation/agent.py:202
↓ 3 callersMethodadd_info
(self, module_name, info)
misc/no_rendering_mode.py:302
↓ 3 callersMethodadd_info
(self, module_name, info)
bird_view/utils/map_utils.py:247
↓ 3 callersMethodadd_info
(self, module_name, info)
bird_view/utils/no_rendering_mode.py:317
↓ 3 callersMethodapply_control
Applies very naive pedestrian movement.
bird_view/utils/carla_utils.py:591
↓ 3 callersFunctionconv1x1
1x1 convolution
bird_view/models/resnet.py:20
↓ 3 callersFunctionconv3x3
3x3 convolution with padding
bird_view/models/resnet.py:15
↓ 3 callersMethodcuda
(self)
bird_view/models/common.py:93
↓ 3 callersMethoddestroy
(self)
misc/automatic_control.py:176
↓ 3 callersMethoddistance
(v)
bird_view/utils/map_utils.py:761
↓ 3 callersMethodemergency_stop
Send an emergency stop command to the vehicle :return:
PythonAPI/agents/navigation/agent.py:254
↓ 3 callersMethodget_observations
(cls)
bird_view/utils/map_utils.py:1350
↓ 3 callersFunctionis_within_distance_ahead
Check if a target object is within a certain distance in front of a reference object. :param target_location: location of the target object
PythonAPI/agents/tools/misc.py:62
↓ 3 callersMethodload_config
(self, model_path)
bird_view/utils/bz_utils/saver.py:76
↓ 3 callersFunctionmake_suite
(suite_name, port=2000, big_cam=False, planner='new', client=None)
benchmark/__init__.py:203
↓ 3 callersMethodregister_module
(self, module)
misc/no_rendering_mode.py:180
↓ 3 callersMethodregister_module
(self, module)
bird_view/utils/map_utils.py:124
↓ 3 callersMethodregister_module
(self, module)
bird_view/utils/no_rendering_mode.py:195
↓ 3 callersFunctionrepeat
Substitute for numpy's repeat function. Taken from https://discuss.pytorch.org/t/how-to-tile-a-tensor/13853/2 torch.repeat([1,2,3], 2) --> [1
training/phase2_utils.py:24
↓ 3 callersFunctionrepeat
Substitute for numpy's repeat function. Taken from https://discuss.pytorch.org/t/how-to-tile-a-tensor/13853/2 torch.repeat([1,2,3], 2) --> [1
training/train_image_phase1.py:131
↓ 3 callersMethodrun_step
(self, observations, teaching=False)
bird_view/models/image.py:124
↓ 3 callersMethodselect_hero_actor
(self)
bird_view/utils/no_rendering_mode.py:892
↓ 3 callersMethodset_route
(self, start, target)
PythonAPI/agents/navigation/local_planner.py:314
↓ 3 callersMethodset_sensor
(self, index, notify=True)
misc/automatic_control.py:547
↓ 3 callersFunctionset_sync_mode
(client, sync)
bird_view/utils/carla_utils.py:80
↓ 3 callersMethodtick
(self, clock)
misc/no_rendering_mode.py:299
↓ 3 callersMethodtick
(cls)
bird_view/utils/no_rendering_mode.py:1409
↓ 3 callersMethodtrace_route
This method returns list of (carla.Waypoint, RoadOption) from origin (carla.Location) to destination (carla.Location)
PythonAPI/agents/navigation/global_route_planner.py:356
↓ 3 callersMethodworld_to_pixel
(cls, pos)
bird_view/utils/map_utils.py:1378
↓ 2 callersMethod__init__
( self, block, layers, input_channel=7, num_classes=1000, zero_init_residual=False, bi
bird_view/models/resnet.py:96
↓ 2 callersMethod_compute_next_waypoints
Add new waypoints to the trajectory queue. :param k: how many waypoints to compute :return:
PythonAPI/agents/navigation/local_planner.py:143
↓ 2 callersFunction_dataloader
(data, batch_size, num_workers)
bird_view/utils/datasets/image_lmdb.py:263
↓ 2 callersFunction_dot
(x, y, color)
data_collector.py:77
↓ 2 callersMethod_is_light_red
Method to check if there is a red light affecting us. This version of the method is compatible with both European and US style traffi
PythonAPI/agents/navigation/agent.py:78
↓ 2 callersFunction_log_visuals
(rgb_image, birdview, speed, command, loss, pred_locations, _pred_locations, _teac_locations, size=16)
training/phase2_utils.py:79
↓ 2 callersMethod_path_search
This function finds the shortest path connecting origin and destination using A* search with distance heuristic. origin
PythonAPI/agents/navigation/global_route_planner.py:221
↓ 2 callersMethod_render_traffic_lights
(self, surface, list_tl, world_to_pixel, world_to_pixel_width, from_snapshot=False)
bird_view/utils/map_utils.py:786
↓ 2 callersMethod_turn_decision
This method returns the turn decision (RoadOption) for pair of edges around current index of route list
PythonAPI/agents/navigation/global_route_planner.py:263
↓ 2 callersFunction_write
(text, i, j)
training/phase2_utils.py:99
↓ 2 callersFunction_write
(text, i, j)
training/train_image_phase1.py:92
↓ 2 callersFunction_write
(text, i, j)
training/train_birdview.py:76
↓ 2 callersFunction_write
(text, i, j)
training/train_image_phase0.py:111
↓ 2 callersMethodblits
(destination_surface, source_surfaces, rect=None, blend_mode=0)
misc/no_rendering_mode.py:164
↓ 2 callersMethodblits
(destination_surface, source_surfaces, rect=None, blend_mode=0)
bird_view/utils/no_rendering_mode.py:165
next →1–100 of 654, ranked by callers