Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Luca96/carla-driving-rl-agent
/ functions
Functions
646 in github.com/Luca96/carla-driving-rl-agent
⨍
Functions
646
◇
Types & classes
64
Function
stage_s3
Stage-3: random origin with 50 vehicles and 50 pedestrians + random light weather
core/learning.py:372
Function
stage_s4
Stage-4: town with regular traffic (50 vehicles and 50 pedestrians) + random light weather + data-aug
core/learning.py:412
Method
step
Performs one environment step (i.e. it updates the world, etc.)
core/carla_env.py:241
Method
step
(self, actions)
rl/environments/carla/environment.py:331
Method
step
(self, actions)
rl/environments/carla/environment.py:925
Method
success_rate
Returns the success rate: num. of successful episodes
rl/environments/carla/environment.py:1443
Method
summary
(self)
core/networks.py:287
Method
summary
(self)
rl/networks/networks.py:270
Method
summary
(self)
rl/agents/ppo.py:590
Function
swish6
(x)
rl/utils.py:420
Method
terminal_condition
(self, **kwargs)
rl/environments/carla/environment.py:946
Method
test
Rapid testing
rl/agents/agents.py:145
Function
tf_01_scaling
(x)
rl/utils.py:405
Function
tf_chance
Use to get a single random number between 0 and 1
rl/utils.py:332
Function
tf_coarse_dropout
(image, size=25, amount=0.1, seed=None)
rl/augmentations/augmentations.py:71
Function
tf_coarse_dropout_batch
(images, size=25, amount=0.1, seed=None)
rl/augmentations/augmentations.py:80
Function
tf_cutout
(image, size=5, seed=None)
rl/augmentations/augmentations.py:45
Function
tf_cutout_batch
(images, size=5, seed=None)
rl/augmentations/augmentations.py:55
Function
tf_dot_product
(x, y, axis=0, keepdims=False)
rl/utils.py:482
Function
tf_entropy
(prob, log_prob)
rl/utils.py:468
Function
tf_flatten
Reshapes the given input as a 1-D array
rl/utils.py:486
Function
tf_gaussian_noise
(image, amount=0.25, std=0.2, seed=None)
rl/augmentations/augmentations.py:128
Function
tf_gaussian_noise_batch
(images, amount=0.25, std=0.2, seed=None)
rl/augmentations/augmentations.py:139
Function
tf_median_blur
(image, size=5)
rl/augmentations/augmentations.py:200
Function
tf_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
Function
tf_quality
(image, min_quality: int, max_quality: int, seed=None)
rl/augmentations/augmentations.py:40
Function
tf_replace_nan
(tensor, value=0.0, dtype=tf.float32)
rl/utils.py:296
Function
tf_rgb
(gray_image)
rl/augmentations/augmentations.py:123
Function
tf_rotate
(image, degrees=90)
rl/augmentations/augmentations.py:94
Function
tf_salt_and_pepper
(image, amount=0.1, prob=0.5, seed=None)
rl/augmentations/augmentations.py:153
Function
tf_salt_and_pepper_batch
(images, amount=0.1, prob=0.5, seed=None)
rl/augmentations/augmentations.py:164
Function
tf_scale_shape
(image, scale: Tuple[float, float])
rl/augmentations/augmentations.py:274
Function
tf_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
Function
tf_size
(image)
rl/augmentations/augmentations.py:279
Function
tf_sobel
Applies Sobel filtering
rl/augmentations/augmentations.py:227
Function
tf_sp_norm
(x, eps=1e-3)
rl/utils.py:344
Function
tf_to_scalar_shape
(tensor)
rl/utils.py:397
Function
to_int
Casts the given tensor to tf.int32 datatype
rl/utils.py:472
Function
to_tensor
(x, expand_axis=0)
rl/utils.py:279
Method
trace_route
This method returns list of (carla.Waypoint, RoadOption) from origin to destination
rl/environments/carla/navigation/global_route_planner.py:345
Method
trainable_variables
(self)
rl/networks/networks.py:26
Function
unpack_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
Method
update
(self)
core/carla_agent.py:129
Method
update
(self, x, normalize=False)
rl/utils.py:687
Method
value_batch_tensors
Defines a batch of data for the value network
core/carla_agent.py:333
Function
with_profiling
(*args, **kwargs)
rl/environments/carla/tools/utils.py:139
← previous
601–646 of 646, ranked by callers