Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SurrealAI/surreal
/ functions
Functions
791 in github.com/SurrealAI/surreal
⨍
Functions
791
◇
Types & classes
148
Method
_render
(self, *args, width=480, height=480, camera_id=1, **kwargs)
surreal/env/dm_wrapper.py:90
Method
_render
(self, *args, **kwargs)
surreal/env/wrapper.py:64
Method
_render
(self)
surreal/env/wrapper.py:208
Method
_render
(self, *args, **kwargs)
surreal/env/wrapper.py:287
Method
_reset
(self, **kwargs)
surreal/env/monitor.py:30
Method
_reset
(self)
surreal/env/dm_wrapper.py:63
Method
_reset
(self)
surreal/env/wrapper.py:59
Method
_reset
(self)
surreal/env/wrapper.py:98
Method
_reset
(self)
surreal/env/wrapper.py:153
Method
_reset
(self)
surreal/env/wrapper.py:178
Method
_reset
(self)
surreal/env/wrapper.py:258
Method
_reset
(self)
surreal/env/wrapper.py:314
Method
_reset
(self)
surreal/env/wrapper.py:347
Method
_reset
(self)
surreal/env/wrapper.py:384
Method
_reset
(self)
surreal/env/wrapper.py:448
Method
_reset
(self)
surreal/env/wrapper.py:500
Method
_reset
Do no-op action for a number of steps in [1, noop_max].
surreal/env/atari_wrappers_deprecated.py:19
Method
_reset
(self)
surreal/env/atari_wrappers_deprecated.py:42
Method
_reset
Reset only when lives are exhausted. This way all states are still reachable even though lives are episodic, and the learner need not
surreal/env/atari_wrappers_deprecated.py:77
Method
_reset
Clear past frame buffer and init. to first new_obs. from inner env.
surreal/env/atari_wrappers_deprecated.py:115
Method
_reset
(self)
surreal/env/atari_wrappers_deprecated.py:192
Method
_reset
(self)
surreal/env/atari_wrappers_deprecated.py:238
Method
_reset
Do no-op action for a number of steps in [1, noop_max].
surreal/env/atari_wrappers.py:29
Method
_reset
(self, **kwargs)
surreal/env/atari_wrappers.py:51
Method
_reset
Reset only when lives are exhausted. This way all states are still reachable even though lives are episodic, and the learner need not
surreal/env/atari_wrappers.py:84
Method
_reset
(self)
surreal/env/atari_wrappers.py:166
Method
_reset
(self)
surreal/env/exp_sender_wrapper.py:46
Method
_reset
(self)
surreal/env/exp_sender_wrapper.py:95
Method
_reset
Reset current states at the beginning of an episode Note: deepcopy is required to prevent Mujoco changing the states
surreal/env/exp_sender_wrapper.py:198
Method
_reset
(self)
surreal/env/exp_sender_wrapper.py:294
Method
_reset
Overwrites reset method. in addition to reseting the environment, this method also manages the video process and when to start writin
surreal/env/video_env.py:97
Method
_reset
(self)
surreal/env/mujocomanip/mujocomanip_envs.py:18
Method
_reset
(self)
surreal/env/mujocomanip/mujocomanip_envs.py:26
Method
_reward
Change all the positive rewards to 1, negative to -1 and keep zero.
surreal/env/atari_wrappers_deprecated.py:151
Method
_reward
Bin reward to {+1, 0, -1} by its sign.
surreal/env/atari_wrappers.py:123
Method
_sample_request_handler
Handle requests to the learner https://stackoverflow.com/questions/29082268/python-time-sleep-vs-event-wait Since we don't ha
surreal/replay/base.py:156
Method
_set_storage
(self, data)
surreal/distributed/parameter_server.py:178
Method
_step
(self, action)
surreal/env/monitor.py:94
Method
_step
(self, action)
surreal/env/monitor.py:148
Method
_step
(self, action)
surreal/env/monitor.py:203
Method
_step
(self, action)
surreal/env/dm_wrapper.py:54
Method
_step
(self, action)
surreal/env/wrapper.py:56
Method
_step
(self, action)
surreal/env/wrapper.py:102
Method
_step
(self, action)
surreal/env/wrapper.py:114
Method
_step
(self, action)
surreal/env/wrapper.py:126
Method
_step
(self, action)
surreal/env/wrapper.py:157
Method
_step
(self, action)
surreal/env/wrapper.py:182
Method
_step
(self, action)
surreal/env/wrapper.py:244
Method
_step
(self, action)
surreal/env/wrapper.py:310
Method
_step
(self, action)
surreal/env/wrapper.py:351
Method
_step
(self, action)
surreal/env/wrapper.py:379
Method
_step
(self, action)
surreal/env/wrapper.py:442
Method
_step
(self, action)
surreal/env/wrapper.py:496
Method
_step
(self, action)
surreal/env/atari_wrappers_deprecated.py:63
Method
_step
(self, action)
surreal/env/atari_wrappers_deprecated.py:101
Method
_step
(self, action)
surreal/env/atari_wrappers_deprecated.py:198
Method
_step
(self, action)
surreal/env/atari_wrappers_deprecated.py:234
Method
_step
(self, action)
surreal/env/atari_wrappers.py:70
Method
_step
Repeat action, sum reward, and max over last observations.
surreal/env/atari_wrappers.py:105
Method
_step
(self, action)
surreal/env/atari_wrappers.py:174
Method
_step
(self, action)
surreal/env/exp_sender_wrapper.py:50
Method
_step
(self, action)
surreal/env/exp_sender_wrapper.py:100
Method
_step
Step function interact with underlying environment. Adds this state to maintained queue. If stide and length criteria is met,
surreal/env/exp_sender_wrapper.py:209
Method
_step
(self, action)
surreal/env/exp_sender_wrapper.py:299
Method
_step
Overwrites _step function. In addition to taking an action, if the video is recording and its time to capture a frame, the fr
surreal/env/video_env.py:128
Method
act
Agent returns an action based on input observation. if in training, returns action along with action infos, which includes th
surreal/agent/ppo_agent.py:106
Method
act
(self, obs)
surreal/agent/ddpg_agent.py:155
Method
act
(self, obs)
surreal/agent/q_agent.py:35
Method
action_create
Spin up a multi-node distributed Surreal experiment. Put any command line args that pass to the config script after "--"
surreal/tmux/surreal_tmux.py:113
Method
action_create
Spin up a multi-node distributed Surreal experiment. Put any command line args that pass to the config script after "--"
surreal/kube/surreal_kube.py:188
Method
action_docker_clean
Cleans all docker images used to create experiments
surreal/kube/surreal_kube.py:432
Method
action_get_config
Download remote config.yml in the experiment folder
surreal/kube/surreal_kube.py:502
Method
action_get_tensorboard
Download remote config.yml in the experiment folder
surreal/kube/surreal_kube.py:517
Method
action_get_videos
(self, args)
surreal/kube/surreal_kube.py:453
Method
action_spec
(self)
surreal/env/dm_wrapper.py:33
Method
action_spec
(self)
surreal/env/wrapper.py:284
Method
action_spec
(self)
surreal/env/wrapper.py:332
Method
action_spec
(self)
surreal/env/wrapper.py:404
Method
action_spec
(self)
surreal/env/wrapper.py:512
Method
action_tensorboard
(self, args)
surreal/kube/surreal_kube.py:429
Method
add
(self, value)
surreal/utils/common.py:615
Method
add_boolean_flag
Add a boolean flag to argparse parser. Args: parser: argparse.Parser parser to add the flag to name:
surreal/utils/common.py:407
Method
add_scalars
(self, tag_value_dict, global_step=None)
surreal/session/tracker.py:99
Method
add_value
(self, value)
surreal/utils/common.py:498
Method
aggregate
Aggregates a list of subtrajectory dictionaries into dictionary of batched sub-trajectory Args:
surreal/learner/aggregator.py:151
Method
aggregate
Args: exp_list: Returns: aggregated experience
surreal/learner/aggregator.py:285
Method
apply
(self, params)
surreal/agent/param_noise.py:14
Method
apply
(self, params)
surreal/agent/param_noise.py:49
Method
avg
Get the average of the currently tracked value Args: @clear: if true (default), clears the cached sum/count
surreal/utils/common.py:620
Function
bytes2str
(bytestring)
surreal/utils/serializer.py:73
Function
ceildiv
Ceiling division, equivalent to math.ceil(1.0*a/b) but much faster. ceildiv(19, 7) == 3 ceildiv(21, 7) == 3 ceildiv(22, 7) == 4
surreal/utils/numpy_util.py:29
Method
checkpoint_attributes
(self)
surreal/learner/ddpg.py:383
Method
checkpoint_attributes
outlines attributes to be checkpointed
surreal/learner/ppo.py:668
Function
compare
if ||a - b|| < tol, return 0 otherwise return float(a > b)
surreal/utils/numpy_util.py:93
Function
compress_tar
Args: source_file: source file or folder output_tarball: output tar file name compress_mode: "gz", "bz2", "xz" or "" (emp
surreal/utils/filesys.py:212
Function
create_string_enum
(class_name, option_names)
surreal/utils/common.py:89
Function
create_surreal_containerized
TODO: document Args: exp: [description] nonagent_image: [description] agent_image: [description] cmd_dict: [
surreal/launch/symphony_containerized.py:4
Function
cum_sum
Cumulative sum (include 0)
surreal/utils/numpy_util.py:44
Method
cur_value
(self)
surreal/utils/common.py:502
Method
default_config
(self)
surreal/replay/prioritized_replay.py:43
← previous
next →
501–600 of 791, ranked by callers