MCPcopy Create free account

hub / github.com/ReinFlow/ReinFlow / functions

Functions864 in github.com/ReinFlow/ReinFlow

Methodrun
(self)
agent/finetune/diffusion_baselines/train_qsm_diffusion_agent.py:98
Methodrun
(self)
agent/finetune/diffusion_baselines/train_dql_diffusion_agent.py:105
Methodrun
(self)
agent/finetune/diffusion_baselines/train_dipo_diffusion_agent.py:111
Methodrun
(self)
agent/pretrain/train_gaussian_agent.py:40
Methodrun
(self)
agent/pretrain/train_agent.py:324
Methodsample
Sample action trajectories using the learned shortcut velocity field. We will use Euler integrator. Args: cond: dict wit
model/flow/shortcutflow.py:157
Methodsample_action
simply return action via integration (Euler's method). the initial noise could be specified. when `save_chains` is True, also return
model/flow/mlp_shortcut.py:178
Methodsample_action
simply return action via integration (Euler's method). the initial noise could be specified. when `save_chains` is True, also return
model/flow/mlp_shortcut.py:458
Functionsave_avoid_traj
( obs_full_trajs, n_render, max_episode_steps, render_dir, itr, normalization_path, )
env/plot_traj.py:52
Methodsave_best_ema_model
(self)
agent/pretrain/train_agent.py:434
Methodsave_model
saves model to disk; no ema
agent/finetune/train_agent.py:162
Methodsave_model
overload. saves model to disk; no ema recorded. TODO: save ema
agent/finetune/reinflow/train_ppo_agent.py:310
Functionsave_toy_traj
( obs_full_trajs, n_render, max_episode_steps, render_dir, itr, )
env/plot_traj.py:132
Methodsde
Create the drift and diffusion functions for the reverse SDE/ODE.
model/diffusion/sde_lib.py:157
Methodsde
(self, x, t)
model/diffusion/sde_lib.py:202
Functionsec2HMS
translate duration in seconds to hour, minute, second format.
util/timer.py:60
Methodseed
(self, seed=None)
env/gym_utils/vector_env.py:287
Methodseed
(self, seed=None)
env/gym_utils/sync_vector_env.py:102
Methodset_attr
Parameters ---------- name : string Name of the property to be set in each individual environment. value
env/gym_utils/async_vector_env.py:538
Methodset_attr
Set a property in each sub-environment. Parameters ---------- name : string Name of the property to be set in eac
env/gym_utils/vector_env.py:179
Methodset_attr
(self, name, values)
env/gym_utils/sync_vector_env.py:195
Functionsetup_mujoco_environment
()
util/setup.py:27
Methodstep
Anneal min_sampling_denoising_std and fine-tuning denoising steps Current configs do not apply annealing
model/diffusion/diffusion_vpg.py:124
Methodstep
(self, action)
env/gym_utils/wrapper/mujoco_locomotion_lowdim.py:87
Methodstep
(self, action)
env/gym_utils/wrapper/d3il_lowdim.py:94
Methodstep
(self, action)
env/gym_utils/wrapper/robomimic_lowdim.py:157
Methodstep
actions: (n_action_steps,) + action_shape
env/gym_utils/wrapper/multi_step.py:159
Methodstep
(self, action)
env/gym_utils/wrapper/robomimic_image.py:174
Methodstep
(self, epoch=None)
util/scheduler.py:105
Methodstep
(self, val_metric)
util/scheduler.py:169
Methodstep_async
Send the calls to :obj:`step` to each sub-environment. Parameters ---------- actions : element of :attr:`~VectorEnv.action_sp
env/gym_utils/async_vector_env.py:378
Methodstep_async
(self, actions)
env/gym_utils/vector_env.py:275
Methodstep_async
(self, actions)
env/gym_utils/sync_vector_env.py:157
Methodstep_wait
Wait for the calls to :obj:`step` in each sub-environment to finish. Parameters ---------- timeout : int or float, optional
env/gym_utils/async_vector_env.py:409
Methodstep_wait
(self)
env/gym_utils/vector_env.py:278
Methodstep_wait
(self)
env/gym_utils/sync_vector_env.py:160
Functionsubtract_euler
(e1, e2)
agent/dataset/d3il_dataset/geo_transform.py:156
Methodsummarize_episode_reward
(self)
agent/finetune/reinflow/buffer.py:399
Methodsummarize_episode_reward
(self)
agent/finetune/reinflow/buffer.py:961
Functiontd_values
Compute TD(λ) estimates for a list of samples. This snippet is taken from agent/finetune/diffusion_baselines/train_awr_diffusion_agent.py
model/flow/ft_baselines/utils.py:25
Methodtest_lr_scheduler
(self)
agent/pretrain/train_agent.py:302
Functiontest_patch_embed
()
model/common/vit.py:253
Functiontest_transformer_layer
()
model/common/vit.py:267
Methodunwrapped
(self)
env/gym_utils/vector_env.py:297
Methodupdate_img
bugfix:
agent/finetune/reinflow/buffer.py:534
Methodupdate_img
bugfix:
agent/finetune/reinflow/buffer.py:723
Methodupdate_img
bugfix:
agent/finetune/reinflow/buffer.py:1298
Methodupdate_step
input: batch:, a tuple, containing: {"state": obs[minibatch_idx]}, : dict, samples[minibatch_i
agent/finetune/reinflow/train_ppo_gaussian_agent.py:122
Methodupdate_target_actor
(self, tau)
model/diffusion/diffusion_dipo.py:106
Methodupdate_target_actor
(self, tau)
model/gaussian/gaussian_ibrl.py:161
Methodupdate_target_critic
(self, tau)
model/diffusion/diffusion_dql.py:112
Methodupdate_target_critic
(self, tau)
model/diffusion/diffusion_qsm.py:119
Methodupdate_target_critic
(self, tau)
model/diffusion/diffusion_idql.py:110
Methodupdate_target_critic
(self, tau)
model/diffusion/diffusion_dipo.py:98
Methodupdate_target_critic
Update the target double critic network.
model/flow/ft_baselines/fql.py:254
Methodupdate_target_critic
need to use ensemble_params instead of critic_networks
model/gaussian/gaussian_ibrl.py:152
Methodupdate_target_critic
need to use ensemble_params instead of critic_networks
model/gaussian/gaussian_rlpd.py:146
Methodupdate_target_critic
(self, tau)
model/gaussian/gaussian_calql.py:216
Methodupdate_target_critic
(self, tau)
model/gaussian/gaussian_sac.py:113
Methodupdate_target_critic
need to use ensemble_params instead of critic_networks
model/rl/gaussian_ibrl.py:152
Methodupdate_target_critic
need to use ensemble_params instead of critic_networks
model/rl/gaussian_rlpd.py:146
Methodupdate_target_critic
(self, tau)
model/rl/gaussian_calql.py:216
Functionwxyz_to_xyzw
Converts WXYZ Quaternions to XYZW Quaternions
agent/dataset/d3il_dataset/geo_transform.py:343
Functionxyzw_to_wxyz
Converts XYZW Quaternions to WXYZ Quaternions
agent/dataset/d3il_dataset/geo_transform.py:348
← previous801–864 of 864, ranked by callers