MCPcopy Create free account

hub / github.com/aviralkumar2907/CQL / functions

Functions729 in github.com/aviralkumar2907/CQL

Functionget_video_save_func
(rollout_function, env, policy, variant)
d4rl/rlkit/launchers/skewfit_experiments.py:568
Methodgoal_dim
(self)
d4rl/rlkit/envs/vae_wrapper.py:224
Methodgoal_sampling_mode
(self)
d4rl/rlkit/envs/vae_wrapper.py:260
Functiongpu_enabled
()
d4rl/rlkit/torch/pytorch_util.py:61
Methodhorizon
(self)
d4rl/rlkit/envs/wrappers.py:30
Functionidentity
(x)
d4rl/rlkit/pythonplusplus.py:12
Functionidentity
(x)
d4rl/rlkit/torch/networks.py:17
Functionis_numeric
(x)
d4rl/rlkit/pythonplusplus.py:27
Methoditerate_list_of_hyperparameters
Usage: ``` sweeper1 = DeterministicHyperparameterSweeper(...) sweeper2 = DeterministicHyperparameterSweeper(...)
d4rl/rlkit/util/hyperparameter.py:209
Methodkl_divergence
(self, latent_distribution_params)
d4rl/rlkit/torch/vae/vae_base.py:110
Functionlist_of_dicts__to__dict_of_lists
``` x = [ {'foo': 3, 'bar': 1}, {'foo': 4, 'bar': 2}, {'foo': 5, 'bar': 3}, ] ppp.list_of_dicts__to__dict_of_
d4rl/rlkit/pythonplusplus.py:147
Methodload
(self, checkpoint_dir, suffix)
atari/batch_rl/baselines/replay_memory/logged_prioritized_replay_buffer.py:60
Methodload
(self, checkpoint_dir, suffix, num_samples=None)
atari/batch_rl/baselines/replay_memory/logged_replay_buffer.py:57
Methodlog_final_buffer
Logs the replay buffer at the end of training.
atari/batch_rl/baselines/replay_memory/logged_prioritized_replay_buffer.py:83
Methodlog_final_buffer
Logs the replay buffer at the end of training.
atari/batch_rl/baselines/replay_memory/logged_replay_buffer.py:83
Methodlog_final_buffer
(self)
atari/batch_rl/baselines/agents/random_agent.py:41
Methodlog_final_buffer
(self)
atari/batch_rl/baselines/agents/quantile_agent.py:46
Methodlogprob
(self, inputs, obs_distribution_params)
d4rl/rlkit/torch/vae/conv_vae.py:228
Functionmain
(unused_argv)
atari/batch_rl/baselines/train.py:70
Functionmain
(unused_argv)
atari/batch_rl/fixed_replay/train.py:83
Functionmain
(unused_argv)
atari/online/train.py:67
Functionmap_recursive
Apply `fctn` to each element in x_or_iterable. This is a generalization of the map function since this will work recursively for iterabl
d4rl/rlkit/pythonplusplus.py:243
Functionmerge_recursive_dicts
Merge two dicts that may have nested dicts.
d4rl/rlkit/pythonplusplus.py:98
Functionmode
(env, mode_type)
d4rl/rlkit/envs/env_utils.py:25
Methodname
(self)
d4rl/rlkit/util/hyperparameter.py:19
Functionnested_dict_to_dot_map_dict
Convert a recursive dictionary into a flat, dot-map dictionary. :param d: e.g. {'a': {'b': 2, 'c': 3}} :param parent_key: Used for recur
d4rl/rlkit/pythonplusplus.py:80
Methodnetworks
(self)
d4rl/rlkit/torch/torch_rl_algorithm.py:53
Methodnetworks
(self)
d4rl/rlkit/torch/sac/cql.py:417
Methodnetworks
(self)
d4rl/rlkit/torch/sac/sac.py:210
Methodnetworks
(self)
d4rl/rlkit/torch/ddpg/ddpg.py:194
Methodnetworks
(self)
d4rl/rlkit/torch/td3/td3.py:179
Methodnetworks
(self)
d4rl/rlkit/torch/her/her.py:26
Methodnetworks
(self)
d4rl/rlkit/torch/dqn/dqn.py:96
Functionnever_train
(epoch)
d4rl/rlkit/torch/vae/vae_schedules.py:55
Methodnewline
(self)
d4rl/rlkit/pythonplusplus.py:444
Methodno_reward
(self, next_vae_obs, indices)
d4rl/rlkit/data_management/online_vae_replay_buffer.py:303
Functionnone_to_infty
(bounds)
d4rl/rlkit/util/ml_util.py:75
Functionnormal
(*args, **kwargs)
d4rl/rlkit/torch/pytorch_util.py:120
Methodnormalize
(self, v, clip_range=None)
d4rl/rlkit/torch/data_management/normalizer.py:37
Methodnormalize
(self, v, clip_range=None)
d4rl/rlkit/data_management/normalizer.py:36
Methodnormalize
(self, v, clip_range=None)
d4rl/rlkit/data_management/normalizer.py:74
Methodnormalize
(self, v, clip_range=None)
d4rl/rlkit/data_management/normalizer.py:105
Methodnormalize_scale
Only normalize the scale. Do not subtract the mean.
d4rl/rlkit/torch/data_management/normalizer.py:48
Methodnum_steps_can_sample
(self)
d4rl/rlkit/data_management/simple_replay_buffer.py:87
Methodnum_steps_can_sample
:return: # of unique items that can be sampled.
d4rl/rlkit/data_management/replay_buffer.py:27
Methodnum_steps_can_sample
(self)
d4rl/rlkit/data_management/obs_dict_replay_buffer.py:97
Functionones
(*sizes, torch_device=None, **kwargs)
d4rl/rlkit/torch/pytorch_util.py:90
Functionones_like
(*args, torch_device=None, **kwargs)
d4rl/rlkit/torch/pytorch_util.py:96
Methodpolicy_fn
Used when sampling actions from the policy and doing max Q-learning
d4rl/rlkit/core/batch_rl_algorithm.py:87
Methodpolicy_fn_discrete
(self, obs)
d4rl/rlkit/core/batch_rl_algorithm.py:99
Methodprefix
(self, key)
d4rl/rlkit/core/logging.py:216
Methodprint_over
Remove anything printed in the last printover call. Then print `string`
d4rl/rlkit/pythonplusplus.py:434
Functionrandn
(*args, torch_device=None, **kwargs)
d4rl/rlkit/torch/pytorch_util.py:102
Methodrandom_batch
(self, batch_size)
d4rl/rlkit/data_management/simple_replay_buffer.py:61
Methodrandom_batch
(self, batch_size)
d4rl/rlkit/data_management/obs_dict_replay_buffer.py:171
Functionrandom_stochastic_matrix
Generates a random left stochastic matrix.
atari/batch_rl/multi_head/atari_helpers.py:382
Methodrandom_vae_training_data
(self, batch_size, epoch)
d4rl/rlkit/data_management/online_vae_replay_buffer.py:281
Methodrebuild_env_info_dict
(self, idx)
d4rl/rlkit/data_management/simple_replay_buffer.py:75
Methodrecord_tabular_misc_stat
(self, key, values, placement='back')
d4rl/rlkit/core/logging.py:234
Functionrecursive_items
Get all (key, item) recursively in a potentially recursive dictionary. Usage: ``` x = { 'foo' : { 'bar' : 5
d4rl/rlkit/pythonplusplus.py:210
Functionrecursive_items
Get all (key, item) recursively in a potentially recursive dictionary. Usage: ``` x = { 'foo' : { 'bar' : 5
d4rl/rlkit/launchers/launcher_util.py:58
Methodremove_text_output
(self, file_name)
d4rl/rlkit/core/logging.py:118
Methodreparameterize
(self, latent_distribution_params)
d4rl/rlkit/torch/vae/vae_base.py:104
Methodreset
(self)
d4rl/rlkit/policies/base.py:17
Methodreset
(self)
d4rl/rlkit/exploration_strategies/base.py:24
Methodreset
(self)
d4rl/rlkit/exploration_strategies/base.py:44
Methodreset
(self, **kwargs)
d4rl/rlkit/envs/mujoco_image_env.py:64
Methodreset
(self, **kwargs)
d4rl/rlkit/envs/wrappers.py:78
Methodreset
(self)
d4rl/rlkit/envs/vae_wrapper.py:91
Methodreset_model
(self)
d4rl/rlkit/envs/ant.py:49
Methodretrieve_images
(self)
d4rl/rlkit/envs/mujoco_image_env.py:109
Methodreverse_id
(self, int_id)
d4rl/rlkit/pythonplusplus.py:376
Functionrollout
The following value for the following keys will be a 2D array, with the first dimension corresponding to the time dimension. - observati
d4rl/rlkit/samplers/util.py:4
Methodsample_buffer_goals
Samples goals from weighted replay buffer for relabeling or exploration. Returns None if replay buffer is empty. Example of
d4rl/rlkit/data_management/online_vae_replay_buffer.py:256
Methodsample_n
(self, n, return_pre_tanh_value=False)
d4rl/rlkit/torch/distributions.py:25
Methodsample_transition_batch
(self, batch_size=None, indices=None)
atari/batch_rl/fixed_replay/replay_memory/fixed_replay_buffer.py:188
Functionsave_video
(algo, epoch)
d4rl/rlkit/launchers/skewfit_experiments.py:584
MethodsetUp
(self)
atari/batch_rl/tests/fixed_replay_runner_test.py:37
MethodsetUp
(self)
atari/batch_rl/tests/atari_init_test.py:34
Methodset_default_parameters
(self, default_kwargs)
d4rl/rlkit/util/hyperparameter.py:127
Functionset_device
(gpu_id)
d4rl/rlkit/torch/pytorch_util.py:65
Methodset_num_steps_total
(self, t)
d4rl/rlkit/policies/base.py:22
Methodset_num_steps_total
(self, t)
d4rl/rlkit/exploration_strategies/base.py:38
Functionsimple_separated_format
Construct a simple TableFormat with columns separated by a separator. >>> tsv = simple_separated_format("\\t") ; \ tabulate([["foo", 1],
d4rl/rlkit/core/tabulate.py:198
Functionskewfit_full_experiment
(variant)
d4rl/rlkit/launchers/skewfit_experiments.py:21
Functionsoft_update_from_to
(source, target, tau)
d4rl/rlkit/torch/pytorch_util.py:5
Methodsplit_obs
(self, obs)
d4rl/rlkit/envs/mujoco_image_env.py:117
Functionsplit_paths_to_dict
(paths)
d4rl/rlkit/samplers/util.py:102
Methodstart_collection
(self)
d4rl/rlkit/samplers/data_collector/step_collector.py:177
Methodstep
(self, action)
d4rl/rlkit/envs/mujoco_image_env.py:54
Methodstep
(self, action)
d4rl/rlkit/envs/wrappers.py:72
Methodstep
(self, action)
d4rl/rlkit/envs/wrappers.py:109
Methodstep
(self, action)
d4rl/rlkit/envs/wrappers.py:155
Methodstep
(self, action)
d4rl/rlkit/envs/vae_wrapper.py:98
Methodstep
Returns a random action.
atari/batch_rl/baselines/agents/random_agent.py:37
Methodstep
Records the most recent transition and returns the agent's next action. Args: reward: float, the reward received from the agent's most rece
atari/batch_rl/fixed_replay/agents/multi_head_dqn_agent.py:56
Methodstep
Records the most recent transition and returns the agent's next action. Args: reward: float, the reward received from the agent's most rece
atari/batch_rl/fixed_replay/agents/dqn_agent.py:65
Methodstep
Records the most recent transition and returns the agent's next action. Args: reward: float, the reward received from the agent's most rece
atari/batch_rl/fixed_replay/agents/quantile_agent.py:67
Methodstep
Records the most recent transition and returns the agent's next action. Args: reward: float, the reward received from the agent's most rece
atari/batch_rl/fixed_replay/agents/rainbow_agent.py:65
Methodstep
Records the most recent transition and returns the agent's next action. Args: reward: float, the reward received from the agent's most rece
atari/batch_rl/fixed_replay/agents/multi_network_dqn_agent.py:53
← previousnext →601–700 of 729, ranked by callers