MCPcopy Create free account

hub / github.com/Luca96/carla-driving-rl-agent / functions

Functions646 in github.com/Luca96/carla-driving-rl-agent

Functionstage_s3
Stage-3: random origin with 50 vehicles and 50 pedestrians + random light weather
core/learning.py:372
Functionstage_s4
Stage-4: town with regular traffic (50 vehicles and 50 pedestrians) + random light weather + data-aug
core/learning.py:412
Methodstep
Performs one environment step (i.e. it updates the world, etc.)
core/carla_env.py:241
Methodstep
(self, actions)
rl/environments/carla/environment.py:331
Methodstep
(self, actions)
rl/environments/carla/environment.py:925
Methodsuccess_rate
Returns the success rate: num. of successful episodes
rl/environments/carla/environment.py:1443
Methodsummary
(self)
core/networks.py:287
Methodsummary
(self)
rl/networks/networks.py:270
Methodsummary
(self)
rl/agents/ppo.py:590
Functionswish6
(x)
rl/utils.py:420
Methodterminal_condition
(self, **kwargs)
rl/environments/carla/environment.py:946
Methodtest
Rapid testing
rl/agents/agents.py:145
Functiontf_01_scaling
(x)
rl/utils.py:405
Functiontf_chance
Use to get a single random number between 0 and 1
rl/utils.py:332
Functiontf_coarse_dropout
(image, size=25, amount=0.1, seed=None)
rl/augmentations/augmentations.py:71
Functiontf_coarse_dropout_batch
(images, size=25, amount=0.1, seed=None)
rl/augmentations/augmentations.py:80
Functiontf_cutout
(image, size=5, seed=None)
rl/augmentations/augmentations.py:45
Functiontf_cutout_batch
(images, size=5, seed=None)
rl/augmentations/augmentations.py:55
Functiontf_dot_product
(x, y, axis=0, keepdims=False)
rl/utils.py:482
Functiontf_entropy
(prob, log_prob)
rl/utils.py:468
Functiontf_flatten
Reshapes the given input as a 1-D array
rl/utils.py:486
Functiontf_gaussian_noise
(image, amount=0.25, std=0.2, seed=None)
rl/augmentations/augmentations.py:128
Functiontf_gaussian_noise_batch
(images, amount=0.25, std=0.2, seed=None)
rl/augmentations/augmentations.py:139
Functiontf_median_blur
(image, size=5)
rl/augmentations/augmentations.py:200
Functiontf_multiply_channels
Channel-wise multiplication of given image by random scalars. The scalars sum to one, each scalar multiplies an entire channel
rl/augmentations/augmentations.py:214
Functiontf_quality
(image, min_quality: int, max_quality: int, seed=None)
rl/augmentations/augmentations.py:40
Functiontf_replace_nan
(tensor, value=0.0, dtype=tf.float32)
rl/utils.py:296
Functiontf_rgb
(gray_image)
rl/augmentations/augmentations.py:123
Functiontf_rotate
(image, degrees=90)
rl/augmentations/augmentations.py:94
Functiontf_salt_and_pepper
(image, amount=0.1, prob=0.5, seed=None)
rl/augmentations/augmentations.py:153
Functiontf_salt_and_pepper_batch
(images, amount=0.1, prob=0.5, seed=None)
rl/augmentations/augmentations.py:164
Functiontf_scale_shape
(image, scale: Tuple[float, float])
rl/augmentations/augmentations.py:274
Functiontf_shuffle_tensors
Shuffles all the given tensors in the SAME way. Source: https://stackoverflow.com/questions/56575877/shuffling-two-tensors-in-the-same-order
rl/utils.py:352
Functiontf_size
(image)
rl/augmentations/augmentations.py:279
Functiontf_sobel
Applies Sobel filtering
rl/augmentations/augmentations.py:227
Functiontf_sp_norm
(x, eps=1e-3)
rl/utils.py:344
Functiontf_to_scalar_shape
(tensor)
rl/utils.py:397
Functionto_int
Casts the given tensor to tf.int32 datatype
rl/utils.py:472
Functionto_tensor
(x, expand_axis=0)
rl/utils.py:279
Methodtrace_route
This method returns list of (carla.Waypoint, RoadOption) from origin to destination
rl/environments/carla/navigation/global_route_planner.py:345
Methodtrainable_variables
(self)
rl/networks/networks.py:26
Functionunpack_trace
Reads a trace (i.e. a dict-like object created by np.load()) and unpacks it as a tuple (state, action, reward, done). - When `unpack is
rl/utils.py:536
Methodupdate
(self)
core/carla_agent.py:129
Methodupdate
(self, x, normalize=False)
rl/utils.py:687
Methodvalue_batch_tensors
Defines a batch of data for the value network
core/carla_agent.py:333
Functionwith_profiling
(*args, **kwargs)
rl/environments/carla/tools/utils.py:139
← previous601–646 of 646, ranked by callers