MCPcopy Create free account

hub / github.com/Ericonaldo/ILSwiss / functions

Functions830 in github.com/Ericonaldo/ILSwiss

↓ 2 callersMethod_get_obs
(self)
rlkit/envs/mujoco/hopper.py:29
↓ 2 callersMethod_get_samples_from_traj
(self, start, end, samples_per_traj, keys=None)
rlkit/data_management/simple_replay_buffer.py:334
↓ 2 callersMethod_get_segment
(self, start, end, keys=None)
rlkit/data_management/simple_replay_buffer.py:325
↓ 2 callersMethod_handle_step
Implement anything that needs to happen after every step :return:
rlkit/core/base_algorithm.py:470
↓ 2 callersFunction_isconvertible
(conv, string)
rlkit/core/tabulate.py:257
↓ 2 callersFunction_isint
>>> _isint("123") True >>> _isint("123.45") False
rlkit/core/tabulate.py:277
↓ 2 callersFunction_isnumber
>>> _isnumber("123.45") True >>> _isnumber("123") True >>> _isnumber("spam") False
rlkit/core/tabulate.py:265
↓ 2 callersFunction_pad_row
(cells, padding)
rlkit/core/tabulate.py:874
↓ 2 callersFunction_remove_output
(file_name, arr, fds)
rlkit/core/logger.py:97
↓ 2 callersMethod_update_target_network
(self)
rlkit/torch/algorithms/dqn/dqn.py:107
↓ 2 callersMethod_wrap_id
( self, id: Optional[Union[int, List[int], np.ndarray]] = None )
rlkit/envs/vecenvs.py:142
↓ 2 callersMethodaugment_batch
(self, batch_data, keys=None)
rlkit/data_management/aug_replay_buffer.py:55
↓ 2 callersFunctionbuild_nested_variant_generator
(exp_spec)
rlkit/launchers/launcher_util.py:435
↓ 2 callersMethodend_epoch
(self)
rlkit/torch/algorithms/td3/td3.py:222
↓ 2 callersFunctionfill_buffer
( buffer, env, expert_policy, num_rollouts, max_path_length, eval_preprocess_func=None
run_scripts/gen_expert_demos.py:31
↓ 2 callersMethodget_action
(self, t, observation, policy, **kwargs)
rlkit/exploration_strategies/base.py:8
↓ 2 callersMethodget_actions
(self, t, observation, policy, **kwargs)
rlkit/exploration_strategies/base.py:12
↓ 2 callersMethodget_all
(self, keys=None, multi_step=False, step_num=1, **kwargs)
rlkit/data_management/simple_replay_buffer.py:221
↓ 2 callersFunctionget_cmap
Returns a function that maps each index in 0, 1, ..., n-1 to a distinct RGB color; the keyword argument name must be a standard mpl colormap name.
rlkit/core/vistools.py:86
↓ 2 callersMethodget_epoch_snapshot
(self, epoch)
rlkit/torch/algorithms/dqn/dqn.py:117
↓ 2 callersMethodget_eval_statistics
(self)
rlkit/torch/algorithms/td3/td3.py:219
↓ 2 callersMethodget_eval_statistics
(self)
rlkit/torch/algorithms/mbpo/bnn_trainer.py:226
↓ 2 callersMethodget_log_pis
(self, obs)
rlkit/torch/common/policies.py:102
↓ 2 callersMethodget_snapshot
(self)
rlkit/torch/algorithms/td3/td3.py:185
↓ 2 callersFunctiongoal_distance
(goal_a, goal_b, distance_threshold=0.05)
rlkit/envs/goal_env_utils.py:4
↓ 2 callersMethodis_terminal
( obs: np.ndarray, act: np.ndarray, next_obs: np.ndarray )
rlkit/envs/terminals.py:16
↓ 2 callersFunctionmake_decoder
(decoder_type, obs_shape, feature_dim, num_layers, num_filters)
rlkit/torch/common/encoders.py:29
↓ 2 callersFunctionmake_encoder
( encoder_type, obs_shape, feature_dim, num_layers, num_filters, output_logits=False )
rlkit/torch/common/encoders.py:20
↓ 2 callersFunctionmass_center
(model, sim)
rlkit/envs/mujoco/humanoid.py:6
↓ 2 callersFunctionmkdir_p
(path)
rlkit/core/logger.py:52
↓ 2 callersMethodobtain_samples
(self, num_steps=None)
rlkit/samplers/vec_sampler.py:124
↓ 2 callersFunctionopen_zip
Open a file; if filename ends with .gz, opens as a gzip file
rlkit/data_management/mil_utils.py:24
↓ 2 callersFunctionplot_returns_on_same_plot
( arr_list, names, title, save_path, x_axis_lims=None, y_axis_lims=None )
rlkit/core/vistools.py:102
↓ 2 callersMethodpredict
( self, input: torch.Tensor, factored: bool = False )
rlkit/torch/algorithms/mbpo/bnn_trainer.py:232
↓ 2 callersMethodreset
(self)
rlkit/exploration_strategies/base.py:15
↓ 2 callersFunctionrollout
( env, policy, max_path_length, no_terminal=False, render=False, render_kwargs={},
rlkit/samplers/vec_sampler.py:5
↓ 2 callersMethodsample
(self, return_pretanh_value=False)
rlkit/torch/common/distributions.py:99
↓ 2 callersMethodsave
(self, ndarray: np.ndarray)
rlkit/envs/worker/subproc.py:37
↓ 2 callersMethodset_num_steps_total
(self, num)
rlkit/torch/common/policies.py:32
↓ 2 callersMethodstep
Perform one timestep of the environment's dynamic. "send_action" and "get_result" are coupled in sync simulation, so typically users o
rlkit/envs/worker/base.py:31
↓ 2 callersMethodto
(self, device)
rlkit/torch/common/policies.py:35
↓ 2 callersMethodtrain_step
(self, batch: torch.Tensor)
rlkit/torch/algorithms/mbpo/bnn_trainer.py:84
↓ 2 callersMethodunnormalize_obs
Unnormalize observations by statistics in obs_rms.
rlkit/envs/vecenvs.py:329
↓ 2 callersMethodunpickle
Unpickle data from file specified by filename.
rlkit/data_management/mil_utils.py:52
↓ 2 callersFunctionvg_fn
()
rlkit/launchers/launcher_util.py:445
↓ 1 callersMethodBACK
(self, n=1)
rlkit/data_management/mil_color_print.py:61
↓ 1 callersMethodFORWARD
(self, n=1)
rlkit/data_management/mil_color_print.py:58
↓ 1 callersFunctionFloatTensor
(*args, torch_device=None, **kwargs)
rlkit/torch/utils/pytorch_util.py:78
↓ 1 callersMethodUP
(self, n=1)
rlkit/data_management/mil_color_print.py:52
↓ 1 callersMethod__get__
Implements returning and environment corresponding to given task params
rlkit/envs/__init__.py:156
↓ 1 callersMethod__getattr__
Fetch a list of env attributes. This function tries to retrieve an attribute from each individual wrapped environment, if it does not
rlkit/envs/vecenvs.py:135
↓ 1 callersMethod__getstate__
(self)
rlkit/core/serializable.py:44
↓ 1 callersMethod__init__
(self, delta=1)
rlkit/torch/common/modules.py:9
↓ 1 callersMethod__init__
:param env: Env. :param qf: QFunction. Maps from state to action Q-values. :param learning_rate: Learning rate for qf. Adam
rlkit/torch/algorithms/dqn/dqn.py:17
↓ 1 callersMethod__init__
( self, input_dim, num_layer_blocks=2, hid_dim=100, hid_act="relu",
rlkit/torch/algorithms/adv_irl/disc_models/simple_disc_models.py:9
↓ 1 callersMethod__init__
( self, input_shape, # observation image input_dim=0, # action num_filters=3
rlkit/torch/algorithms/adv_irl/disc_models/cnn_disc_models.py:8
↓ 1 callersMethod__init__
(self, *args, **kwargs)
rlkit/launchers/launcher_util.py:500
↓ 1 callersMethod__init__
(self, dtype: np.generic, shape: Tuple[int])
rlkit/envs/worker/subproc.py:32
↓ 1 callersMethod__setstate__
(self, d)
rlkit/core/serializable.py:47
↓ 1 callersMethod_advance
(self)
rlkit/data_management/simple_replay_buffer.py:228
↓ 1 callersFunction_afterpoint
Symbols after a decimal point, -1 if the string lacks the decimal point. >>> _afterpoint("123.45") 2 >>> _afterpoint("1001") -1 >
rlkit/core/tabulate.py:326
↓ 1 callersFunction_align_column
[string] -> [padded_string] >>> list(map(str,_align_column(["12.345", "-1234.5", "1.23", "1234.5", "1e+234", "1.0e234"], "decimal"))) [' 12
rlkit/core/tabulate.py:410
↓ 1 callersFunction_align_header
(header, alignment, width)
rlkit/core/tabulate.py:503
↓ 1 callersMethod_apply_normalize_obs
(self, obs)
rlkit/envs/wrappers.py:321
↓ 1 callersMethod_can_train
(self)
rlkit/torch/algorithms/bc/bc.py:54
↓ 1 callersMethod_do_policy_training
(self, epoch)
rlkit/torch/algorithms/adv_irl/adv_irl.py:238
↓ 1 callersMethod_do_reward_training
Train the discriminator
rlkit/torch/algorithms/adv_irl/adv_irl.py:133
↓ 1 callersMethod_do_training
Perform some update, e.g. perform one gradient step. :return:
rlkit/core/base_algorithm.py:591
↓ 1 callersFunction_elem_or_tuple_to_variable
(elem_or_tuple)
rlkit/torch/core.py:124
↓ 1 callersMethod_end_epoch
(self)
rlkit/core/base_algorithm.py:387
↓ 1 callersMethod_extend_model_replay_buffer
(self)
rlkit/torch/algorithms/mbpo/mbpo.py:208
↓ 1 callersFunction_filter_batch
(np_batch)
rlkit/torch/core.py:130
↓ 1 callersFunction_format
Format a value accoding to its type. Unicode is supported: >>> hrow = ['\u0431\u0443\u043a\u0432\u0430', '\u0446\u0438\u0444\u0440\u0430'] ;
rlkit/core/tabulate.py:478
↓ 1 callersFunction_format_table
Produce a plain-text representation of the table.
rlkit/core/tabulate.py:883
↓ 1 callersMethod_get_action_and_info
Get an action to take in the environment. :param observation: :return:
rlkit/torch/algorithms/her/her.py:33
↓ 1 callersMethod_get_action_and_info
Get an action to take in the environment. :param observation: :return:
rlkit/torch/algorithms/gcsl/rl.py:46
↓ 1 callersMethod_get_action_and_info
Get an action to take in the environment. :param observation: :return:
rlkit/core/base_algorithm.py:368
↓ 1 callersMethod_handle_path
Naive implementation: just loop through each transition. :param path: :return:
rlkit/core/base_algorithm.py:398
↓ 1 callersMethod_ivariants_sorted
(self, sorted_keys)
rlkit/launchers/launcher_util.py:599
↓ 1 callersMethod_logprob
( self, x: np.ndarray, means: np.ndarray, vars: np.ndarray )
rlkit/torch/algorithms/mbpo/fake_env.py:15
↓ 1 callersFunction_make_dir
(filename)
run_scripts/video.py:6
↓ 1 callersFunction_normalize_tabular_data
Transform a supported data type to a list of lists, and a list of headers. Supported tabular data types: * list-of-lists or another iterable
rlkit/core/tabulate.py:514
↓ 1 callersFunction_padboth
Center string. >>> _padboth(6, '\u044f\u0439\u0446\u0430') == ' \u044f\u0439\u0446\u0430 ' True
rlkit/core/tabulate.py:377
↓ 1 callersFunction_padleft
Flush right. >>> _padleft(6, '\u044f\u0439\u0446\u0430') == ' \u044f\u0439\u0446\u0430' True
rlkit/core/tabulate.py:353
↓ 1 callersFunction_padright
Flush left. >>> _padright(6, '\u044f\u0439\u0446\u0430') == '\u044f\u0439\u0446\u0430 ' True
rlkit/core/tabulate.py:365
↓ 1 callersFunction_pipe_segment_with_colons
Return a segment of a horizontal line with optional colons which indicate column's alignment (as in `pipe` output format).
rlkit/core/tabulate.py:88
↓ 1 callersMethod_populate_variants
(self)
rlkit/launchers/launcher_util.py:541
↓ 1 callersMethod_rollout_model
(self, deterministic: bool = False)
rlkit/torch/algorithms/mbpo/mbpo.py:235
↓ 1 callersFunction_sample_color_with_min_dist
(color, min_dist)
rlkit/core/vistools.py:218
↓ 1 callersFunction_sample_color_within_radius
(center, radius)
rlkit/core/vistools.py:209
↓ 1 callersMethod_save_best
(self, epoch: int, holdout_mse: np.ndarray)
rlkit/torch/algorithms/mbpo/bnn_trainer.py:257
↓ 1 callersMethod_save_state
(self, net_id: int)
rlkit/torch/algorithms/mbpo/bnn_trainer.py:245
↓ 1 callersMethod_set_rollout_length
(self, epoch: int)
rlkit/torch/algorithms/mbpo/mbpo.py:195
↓ 1 callersMethod_set_state
(self)
rlkit/torch/algorithms/mbpo/bnn_trainer.py:251
↓ 1 callersFunction_setup_buf
(space: gym.Space)
rlkit/envs/worker/subproc.py:48
↓ 1 callersMethod_shuffle_rows
(self, a: np.ndarray)
rlkit/torch/algorithms/mbpo/bnn_trainer.py:241
↓ 1 callersMethod_train_model
(self)
rlkit/torch/algorithms/mbpo/mbpo.py:186
↓ 1 callersFunction_type
The least generic type (type(None), int, float, str, unicode). >>> _type(None) is type(None) True >>> _type("foo") is type("") True
rlkit/core/tabulate.py:291
↓ 1 callersMethod_update_target_network
(self)
rlkit/torch/algorithms/sac/sac_ae.py:379
↓ 1 callersMethod_update_target_network
(self)
rlkit/torch/algorithms/sac/sac.py:242
← previousnext →101–200 of 830, ranked by callers