Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aviralkumar2907/CQL
/ types & classes
Types & classes
125 in github.com/aviralkumar2907/CQL
⨍
Functions
729
◇
Types & classes
125
↓ 31 callers
Class
FlattenMlp
Flatten inputs along dimension 1 and then pass through MLP.
d4rl/rlkit/torch/networks.py:81
↓ 11 callers
Class
MdpPathCollector
d4rl/rlkit/samplers/data_collector/path_collector.py:8
↓ 9 callers
Class
TorchBatchRLAlgorithm
d4rl/rlkit/torch/torch_rl_algorithm.py:23
↓ 6 callers
Class
EnvReplayBuffer
d4rl/rlkit/data_management/env_replay_buffer.py:8
↓ 6 callers
Class
GoalConditionedPathCollector
d4rl/rlkit/samplers/data_collector/path_collector.py:171
↓ 6 callers
Class
NormalizedBoxEnv
Normalize action to in [-1, 1]. Optionally normalize observations and scale reward.
d4rl/rlkit/envs/wrappers.py:114
↓ 5 callers
Class
MakeDeterministic
d4rl/rlkit/torch/sac/policies.py:152
↓ 5 callers
Class
PolicyWrappedWithExplorationStrategy
d4rl/rlkit/exploration_strategies/base.py:28
↓ 5 callers
Class
TanhGaussianPolicy
Usage: ``` policy = TanhGaussianPolicy(...) action, mean, log_std, _ = policy(obs) action, mean, log_std, _ = policy(obs, determ
d4rl/rlkit/torch/sac/policies.py:21
↓ 5 callers
Class
TanhMlpPolicy
A helper class since most policies have a tanh output activation.
d4rl/rlkit/torch/networks.py:118
↓ 4 callers
Class
HERTrainer
d4rl/rlkit/torch/her/her.py:6
↓ 3 callers
Class
EpsilonGreedy
Take a random discrete action with some probability.
d4rl/rlkit/exploration_strategies/epsilon_greedy.py:6
↓ 3 callers
Class
InfiniteRandomSampler
d4rl/rlkit/torch/data.py:28
↓ 3 callers
Class
OUStrategy
This strategy implements the Ornstein-Uhlenbeck process, which adds time-correlated noise to the actions taken by the deterministic policy.
d4rl/rlkit/exploration_strategies/ou_strategy.py:7
↓ 3 callers
Class
ObsDictRelabelingBuffer
Replay buffer for environments whose observations are dictionaries, such as - OpenAI Gym GoalEnv environments. https://blog.openai.com/in
d4rl/rlkit/data_management/obs_dict_replay_buffer.py:7
↓ 3 callers
Class
SACTrainer
d4rl/rlkit/torch/sac/sac.py:13
↓ 3 callers
Class
VAEWrappedEnv
This class wraps an image-based environment with a VAE. Assumes you get flattened (channels,84,84) observations from wrapped_env. This class a
d4rl/rlkit/envs/vae_wrapper.py:16
↓ 2 callers
Class
ArgmaxDiscretePolicy
d4rl/rlkit/policies/argmax.py:11
↓ 2 callers
Class
CQLTrainer
d4rl/rlkit/torch/sac/cql.py:13
↓ 2 callers
Class
ConvVAETrainer
d4rl/rlkit/torch/vae/vae_trainer.py:109
↓ 2 callers
Class
CustomMDPPathCollector
d4rl/rlkit/samplers/data_collector/path_collector.py:98
↓ 2 callers
Class
DQNTrainer
d4rl/rlkit/torch/dqn/dqn.py:13
↓ 2 callers
Class
GaussianStrategy
This strategy adds Gaussian noise to the action taken by the deterministic policy. Based on the rllab implementation.
d4rl/rlkit/exploration_strategies/gaussian_strategy.py:5
↓ 2 callers
Class
ImageDataset
d4rl/rlkit/torch/data.py:9
↓ 2 callers
Class
InfiniteWeightedRandomSampler
d4rl/rlkit/torch/data.py:49
↓ 2 callers
Class
LinearFloatParam
d4rl/rlkit/util/hyperparameter.py:63
↓ 2 callers
Class
Mlp
d4rl/rlkit/torch/networks.py:21
↓ 2 callers
Class
PathBuilder
Usage: ``` path_builder = PathBuilder() path.add_sample( observations=1, actions=2, next_observations=3,
d4rl/rlkit/data_management/path_builder.py:4
↓ 2 callers
Class
TD3Trainer
Twin Delayed Deep Deterministic policy gradients
d4rl/rlkit/torch/td3/td3.py:13
↓ 2 callers
Class
TanhNormal
Represent distribution of X where X ~ tanh(Z) Z ~ N(mean, std) Note: this is not very numerically stable.
d4rl/rlkit/torch/distributions.py:6
↓ 2 callers
Class
VAEWrappedEnvPathCollector
d4rl/rlkit/samplers/data_collector/vae_env.py:5
↓ 1 callers
Class
ConstantSchedule
d4rl/rlkit/util/ml_util.py:15
↓ 1 callers
Class
ConvVAE
d4rl/rlkit/torch/vae/conv_vae.py:106
↓ 1 callers
Class
DDPGTrainer
Deep Deterministic Policy Gradient
d4rl/rlkit/torch/ddpg/ddpg.py:13
↓ 1 callers
Class
FixedReplayBuffer
Object composed of a list of OutofGraphReplayBuffers.
atari/batch_rl/fixed_replay/replay_memory/fixed_replay_buffer.py:36
↓ 1 callers
Class
GaussianAndEpislonStrategy
With probability epsilon, take a completely random action. with probability 1-epsilon, add Gaussian noise to the action taken by a determ
d4rl/rlkit/exploration_strategies/gaussian_and_epsilon_strategy.py:6
↓ 1 callers
Class
LayerNorm
Simple 1D LayerNorm.
d4rl/rlkit/torch/modules.py:19
↓ 1 callers
Class
LoggedRunner
atari/batch_rl/baselines/run_experiment.py:27
↓ 1 callers
Class
Logger
d4rl/rlkit/core/logging.py:70
↓ 1 callers
Class
NatureDQNNetwork
The convolutional network used to compute the agent's Q-values. Attributes: num_actions: An integer representing the number of actions. con
atari/batch_rl/multi_head/atari_helpers.py:244
↓ 1 callers
Class
OnlineVaeAlgorithm
d4rl/rlkit/torch/skewfit/online_vae_algorithm.py:16
↓ 1 callers
Class
OnlineVaeRelabelingBuffer
d4rl/rlkit/data_management/online_vae_replay_buffer.py:16
↓ 1 callers
Class
OutOfGraphLoggedPrioritizedReplayBuffer
A logged out-of-graph Replay Buffer for Prioritized Experience Replay.
atari/batch_rl/baselines/replay_memory/logged_prioritized_replay_buffer.py:39
↓ 1 callers
Class
OutOfGraphLoggedReplayBuffer
Logs the replay buffer to disk everytime it's full.
atari/batch_rl/baselines/replay_memory/logged_replay_buffer.py:36
↓ 1 callers
Class
PiecewiseLinearSchedule
Given a list of (x, t) value-time pairs, return value x at time t, and linearly interpolate between the two
d4rl/rlkit/util/ml_util.py:53
↓ 1 callers
Class
TerminalTablePrinter
d4rl/rlkit/core/logging.py:23
↓ 1 callers
Class
_Logger
d4rl/rlkit/pythonplusplus.py:429
Class
AntEnv
d4rl/rlkit/envs/ant.py:6
Class
AtariInitTest
atari/batch_rl/tests/atari_init_test.py:32
Class
BaseRLAlgorithm
d4rl/rlkit/core/rl_algorithm.py:24
Class
BatchRLAlgorithm
d4rl/rlkit/core/batch_rl_algorithm.py:41
Class
CNN
d4rl/rlkit/torch/conv_networks.py:9
Class
ConditionTimer
A timer that goes off after the a fixed time period. The catch: you need to poll it and provide it the time! Usage: ``` timer =
d4rl/rlkit/pythonplusplus.py:380
Class
DCNN
d4rl/rlkit/torch/conv_networks.py:258
Class
DataCollector
d4rl/rlkit/samplers/data_collector/base.py:4
Class
DeterministicHyperparameterSweeper
Do a grid search over hyperparameters based on a predefined set of hyperparameters.
d4rl/rlkit/util/hyperparameter.py:151
Class
DeterministicSweeperCombiner
A simple wrapper to combiner multiple DeterministicHyperParameterSweeper's
d4rl/rlkit/util/hyperparameter.py:202
Class
DiscretizeEnv
d4rl/rlkit/envs/wrappers.py:95
Class
DoubleDQNTrainer
d4rl/rlkit/torch/dqn/double_dqn.py:9
Class
EnumParam
d4rl/rlkit/util/hyperparameter.py:38
Class
ExplorationPolicy
d4rl/rlkit/policies/base.py:21
Class
ExplorationStrategy
d4rl/rlkit/exploration_strategies/base.py:6
Class
FixedNormalizer
d4rl/rlkit/data_management/normalizer.py:81
Class
FixedParam
d4rl/rlkit/util/hyperparameter.py:97
Class
FixedReplayDQNAgent
An implementation of the DQN agent with fixed replay buffer(s).
atari/batch_rl/fixed_replay/agents/dqn_agent.py:32
Class
FixedReplayMultiHeadDQNAgent
MultiHeadDQNAgent with fixed replay buffer(s).
atari/batch_rl/fixed_replay/agents/multi_head_dqn_agent.py:30
Class
FixedReplayMultiNetworkDQNAgent
MultiNetworkDQNAgent with fixed replay buffer(s).
atari/batch_rl/fixed_replay/agents/multi_network_dqn_agent.py:26
Class
FixedReplayQuantileAgent
An implementation of the DQN agent with fixed replay buffer(s).
atari/batch_rl/fixed_replay/agents/quantile_agent.py:31
Class
FixedReplayRainbowAgent
An implementation of the DQN agent with fixed replay buffer(s).
atari/batch_rl/fixed_replay/agents/rainbow_agent.py:31
Class
FixedReplayRunner
Object that handles running Dopamine experiments with fixed replay buffer.
atari/batch_rl/fixed_replay/run_experiment.py:33
Class
FixedReplayRunnerIntegrationTest
Tests for Atari environment with various agents.
atari/batch_rl/tests/fixed_replay_runner_test.py:32
Class
GaussianLatentVAE
d4rl/rlkit/torch/vae/vae_base.py:88
Class
GoalConditionedStepCollector
d4rl/rlkit/samplers/data_collector/step_collector.py:123
Class
HistoryEnv
d4rl/rlkit/envs/wrappers.py:59
Class
HuberLoss
d4rl/rlkit/torch/modules.py:8
Class
Hyperparameter
d4rl/rlkit/util/hyperparameter.py:14
Class
IdentityNormalizer
d4rl/rlkit/data_management/normalizer.py:67
Class
ImageMujocoEnv
d4rl/rlkit/envs/mujoco_image_env.py:13
Class
ImageMujocoWithObsEnv
d4rl/rlkit/envs/mujoco_image_env.py:137
Class
IntIdDict
Automatically assign int IDs to hashable objects. Usage: ``` id_map = IntIdDict() print(id_map['a']) print(id_map['b'])
d4rl/rlkit/pythonplusplus.py:329
Class
IntLinearSchedule
Same as RampUpSchedule but round output to an int
d4rl/rlkit/util/ml_util.py:45
Class
IntPiecewiseLinearSchedule
d4rl/rlkit/util/ml_util.py:70
Class
LinearIntParam
d4rl/rlkit/util/hyperparameter.py:87
Class
LinearSchedule
Linearly interpolate and then stop at a final value.
d4rl/rlkit/util/ml_util.py:23
Class
LogFloatParam
Return something ranging from [min_value + offset, max_value + offset], distributed with a log.
d4rl/rlkit/util/hyperparameter.py:47
Class
LogIntParam
d4rl/rlkit/util/hyperparameter.py:73
Class
LoggedDQNAgent
An implementation of the DQN agent with replay buffer logging to disk.
atari/batch_rl/baselines/agents/dqn_agent.py:29
Class
LoggedQuantileAgent
An implementation of the Quantile agent with replay buffer logging to disk.
atari/batch_rl/baselines/agents/quantile_agent.py:29
Class
MdpStepCollector
d4rl/rlkit/samplers/data_collector/step_collector.py:10
Class
MlpPolicy
A simpler interface for creating policies.
d4rl/rlkit/torch/networks.py:91
Class
MujocoEnv
My own wrapper around MujocoEnv. The caller needs to declare
d4rl/rlkit/envs/mujoco_env.py:13
Class
MulitNetworkQNetwork
Multiple convolutional networks to compute Q-value estimates. Attributes: num_actions: An inteer representing the number of actions. num_ne
atari/batch_rl/multi_head/atari_helpers.py:320
Class
MultiHeadDQNAgent
DQN agent with multiple heads.
atari/batch_rl/multi_head/multi_head_dqn_agent.py:27
Class
MultiHeadQNetwork
Multi-head convolutional network to compute multiple Q-value estimates. Attributes: num_actions: An integer representing the number of actions.
atari/batch_rl/multi_head/atari_helpers.py:110
Class
MultiNetworkDQNAgent
DQN agent with multiple heads.
atari/batch_rl/multi_head/multi_network_dqn_agent.py:29
Class
MyEncoder
d4rl/rlkit/core/logging.py:45
Class
Normalizer
d4rl/rlkit/data_management/normalizer.py:7
Class
OnlineRLAlgorithm
d4rl/rlkit/core/online_rl_algorithm.py:12
Class
PathCollector
d4rl/rlkit/samplers/data_collector/base.py:19
Class
Policy
General policy interface.
d4rl/rlkit/policies/base.py:4
next →
1–100 of 125, ranked by callers