MCPcopy Create free account

hub / github.com/TJU-DRL-LAB/AI-Optimizer / functions

Functions3,230 in github.com/TJU-DRL-LAB/AI-Optimizer

↓ 1 callersMethodfitter
Iterate over epochs steps to train with the given dataset. At each iteration algo methods and properties can be changed or queried.
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/base.py:429
↓ 1 callersFunctionformat_samples_for_backward_training
(samples)
modelbased-rl/BMPO/models/constructor.py:44
↓ 1 callersFunctionformat_samples_for_forward_training
(samples)
modelbased-rl/BMPO/models/constructor.py:34
↓ 1 callersFunctionformat_samples_for_training
(samples)
modelbased-rl/MBPO/ED2-MBPO/mbpo/models/constructor.py:19
↓ 1 callersMethodforward
(self, state, action)
offline-rl-algorithms/E2O/PEX-main/pex/networks/value_functions.py:13
↓ 1 callersMethodforward
(self, x: torch.Tensor)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/models/torch/imitators.py:175
↓ 1 callersMethodforward
(self, x: torch.Tensor)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/models/torch/policies.py:56
↓ 1 callersMethodforward
(self, x: torch.Tensor, action: torch.Tensor)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/models/torch/policies.py:93
↓ 1 callersMethodforward
(self, x: torch.Tensor)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/models/torch/v_functions.py:19
↓ 1 callersMethodforward
(self, x: torch.Tensor)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/models/torch/q_functions/base.py:30
↓ 1 callersMethodforward
(self, x: torch.Tensor, action: torch.Tensor)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/models/torch/q_functions/base.py:49
↓ 1 callersMethodfoward_agent_i
(self, state, agent_id)
multiagent-rl/easy-marl/algorithms/PPO_based/MAPPO.py:84
↓ 1 callersFunctionfreeze
(impl: Any)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/torch_utility.py:91
↓ 1 callersMethodgenerate_new_data
Returns generated transitions for data augmentation. This method is for model-based RL algorithms. Args: transitions: li
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/base.py:759
↓ 1 callersMethodget_action_meanings
(self, agent_i=None)
multiagent-rl/easy-marl/envs/discrete_magym/envs/combat/combat.py:88
↓ 1 callersFunctionget_algo
Returns algorithm class from its name. Args: name (str): algorithm name in snake_case. discrete (bool): flag to use discrete acti
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/algos/__init__.py:83
↓ 1 callersFunctionget_atari
Returns atari dataset and envrironment. The dataset is provided through d4rl-atari. See more details including available dataset from its Git
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/datasets.py:102
↓ 1 callersFunctionget_batch
Read batches from multiple datasets based on the training phase. The test dataset is reset at the beginning of every test phase. The training dat
modelbased-rl/PlaNet/planet/training/utility.py:102
↓ 1 callersFunctionget_batch_from_dataset_and_buffer
(dataset, buffer, batch_size, double_buffer)
offline-rl-algorithms/E2O/PEX-main/pex/utils/util.py:148
↓ 1 callersMethodget_decays
Returns the list of losses corresponding to the weight decay imposed on each weight of the network. Returns: the list of weight decay
modelbased-rl/BMPO/models/fc.py:106
↓ 1 callersFunctionget_display
Convert a display specification (such as :0) into an actual Display object. Pyglet only supports multiple Displays on Linux.
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/rendering.py:32
↓ 1 callersMethodget_ensemble_size
(self)
modelbased-rl/MBPO/ED2-MBPO/mbpo/models/fc.py:271
↓ 1 callersMethodget_ensemble_size
(self)
modelbased-rl/BMPO/models/fc.py:271
↓ 1 callersMethodget_entity_collision_force
(self, ia, ib)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/core.py:258
↓ 1 callersMethodget_ep_id
(self, logdir)
modelbased-rl/Dreamer/ED2-Dreamer/wrappers.py:161
↓ 1 callersFunctionget_gpu_count
()
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/gpu.py:9
↓ 1 callersFunctionget_id
(path)
modelbased-rl/Dreamer/ED2-Dreamer/tools.py:160
↓ 1 callersMethodget_masks
(self)
modelbased-rl/MBPO/ED2-MBPO/mbpo/models/bnn.py:112
↓ 1 callersMethodget_model_vars
(self, idx, sess)
modelbased-rl/BMPO/models/fc.py:54
↓ 1 callersFunctionget_parallel_flag
()
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/context.py:7
↓ 1 callersMethodget_params
(self, deep: bool = False)
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/gpu.py:71
↓ 1 callersMethodget_params
Returns scaling parameters. Args: deep: flag to deeply copy objects. Returns: scaler parameters.
offline-rl-algorithms/E2O/d3rlpy_new/d3rlpy/preprocessing/scalers.py:68
↓ 1 callersFunctionget_required_argument
(dotmap, key, message, default=None)
modelbased-rl/MBPO/ED2-MBPO/mbpo/models/utils.py:8
↓ 1 callersFunctionget_required_argument
(dotmap, key, message, default=None)
modelbased-rl/BMPO/models/utils.py:8
↓ 1 callersFunctionget_variant_spec_base
(universe, domain, task, policy, algorithm, env_params)
modelbased-rl/MBPO/ED2-MBPO/examples/development/base.py:129
↓ 1 callersFunctionget_variant_spec_image
(universe, domain, task, poli
modelbased-rl/MBPO/ED2-MBPO/examples/development/variants.py:311
↓ 1 callersMethodget_wall_collision_force
(self, entity, wall)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/core.py:292
↓ 1 callersFunctionget_yaml_args
return yaml parameter
multiagent-rl/easy-marl/utils/read_yaml.py:26
↓ 1 callersMethodgood_agents
(self, world)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/scenarios/simple_adversary.py:69
↓ 1 callersMethodgood_listeners
(self, world)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/scenarios/simple_crypto.py:82
↓ 1 callersFunctiongreedy_fn
(dist)
offline-rl-algorithms/E2O/PEX-main/pex/utils/util.py:213
↓ 1 callersMethodimagine
(self, action, state=None)
modelbased-rl/Dreamer/ED2-Dreamer/models.py:42
↓ 1 callersMethodimagine
(self, action, state=None)
modelbased-rl/Dreamer/Vanilla_Dreamer/models.py:42
↓ 1 callersMethodimg_step
(self, prev_state, prev_action)
modelbased-rl/Dreamer/ED2-Dreamer/models.py:153
↓ 1 callersFunctionimport_fns
(path, file, fns_name='StaticFns')
modelbased-rl/MBPO/ED2-MBPO/mbpo/static/__init__.py:7
↓ 1 callersFunctionimport_fns
(path, file, fns_name='StaticFns')
modelbased-rl/BMPO/static/__init__.py:6
↓ 1 callersFunctionimport_fns
(path, file, fns_name='StaticFns')
offline-rl-algorithms/MOPO/static/__init__.py:7
↓ 1 callersFunctionimport_fns
(path, file, fns_name='StaticFns')
offline-rl-algorithms/COMBO/static/__init__.py:7
↓ 1 callersFunctioninit_logger
(base_path)
modelbased-rl/MuZero/core/utils.py:21
↓ 1 callersMethodintegrate_state
(self, p_force)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/core.py:236
↓ 1 callersMethodis_visible
Checks if the target_pos is in the visible range(5x5) of the source pos :param source_pos: Coordinates of the source :param
multiagent-rl/easy-marl/envs/discrete_magym/envs/combat/combat.py:330
↓ 1 callersMethodlast_action
(self)
modelbased-rl/MuZero/core/game.py:50
↓ 1 callersMethodlegal_actions
(self)
modelbased-rl/SampledMuZero/games/simple_grid.py:195
↓ 1 callersMethodlegal_actions
Should return the legal actions at each turn, if it is not available, it can return the whole action space. At each turn, the game ha
modelbased-rl/SampledMuZero/games/abstract_game.py:36
↓ 1 callersFunctionlegend
(fig, mapping=None, **kwargs)
modelbased-rl/Dreamer/Vanilla_Dreamer/plotting.py:222
↓ 1 callersMethodload
(self, filename)
modelbased-rl/Dreamer/ED2-Dreamer/dreamer.py:182
↓ 1 callersMethodload
(self, filename)
modelbased-rl/Dreamer/Vanilla_Dreamer/dreamer.py:149
↓ 1 callersMethodload
(self, filename)
offline-rl-algorithms/ISPI/ISPI_S.py:173
↓ 1 callersFunctionload_baselines
(args)
modelbased-rl/Dreamer/Vanilla_Dreamer/plotting.py:82
↓ 1 callersFunctionload_config
Load a configuration from the log directory. Args: logdir: The logging directory containing the configuration file. Raises: IOError: The
modelbased-rl/PlaNet/planet/training/utility.py:77
↓ 1 callersFunctionload_dataset
(directory, config)
modelbased-rl/Dreamer/ED2-Dreamer/dreamer.py:383
↓ 1 callersFunctionload_dataset
(directory, config)
modelbased-rl/Dreamer/Vanilla_Dreamer/dreamer.py:343
↓ 1 callersFunctionload_runs
(args)
modelbased-rl/Dreamer/Vanilla_Dreamer/plotting.py:40
↓ 1 callersMethodlogging_loop
Keep track of the training performance.
modelbased-rl/SampledMuZero/muzero.py:169
↓ 1 callersFunctionmain
Run ExperimentRunner locally on ray. To run this example on cloud (e.g. gce/ec2), use the setup scripts: 'softlearning launch_example_{gce,ec
modelbased-rl/MBPO/ED2-MBPO/examples/development/main.py:221
↓ 1 callersFunctionmain
(config)
modelbased-rl/Dreamer/ED2-Dreamer/dreamer.py:440
↓ 1 callersFunctionmain
(args)
modelbased-rl/Dreamer/Vanilla_Dreamer/plotting.py:254
↓ 1 callersFunctionmain
(config)
modelbased-rl/Dreamer/Vanilla_Dreamer/dreamer.py:400
↓ 1 callersFunctionmain
(args)
modelbased-rl/PlaNet/planet/scripts/fetch_events.py:113
↓ 1 callersFunctionmain
(args)
modelbased-rl/PlaNet/planet/scripts/train.py:77
↓ 1 callersFunctionmain
(args)
modelbased-rl/PlaNet/planet/scripts/create_video.py:83
↓ 1 callersFunctionmain
(args)
modelbased-rl/PlaNet/planet/scripts/sync.py:79
↓ 1 callersFunctionmain
()
offline-rl-algorithms/E2O/E2O-online.py:7
↓ 1 callersFunctionmain
()
offline-rl-algorithms/E2O/E2O-offline.py:6
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/E2O/PEX-main/main_offline.py:14
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/E2O/PEX-main/main_online.py:21
↓ 1 callersFunctionmain
()
offline-rl-algorithms/REDQ/redq-train.py:7
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/CQL/cql-train.py:6
↓ 1 callersFunctionmain
()
offline-rl-algorithms/MOPO/main.py:30
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/BEAR/bear-train.py:6
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/AWAC/awac-train.py:6
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/COMBO/combo_main.py:24
↓ 1 callersFunctionmain
()
offline-rl-algorithms/COMBO/main.py:30
↓ 1 callersFunctionmain
(args)
offline-rl-algorithms/BCQ/bcq-train.py:6
↓ 1 callersFunctionmake_polyline
(v)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/rendering.py:257
↓ 1 callersFunctionmake_results_dir
(exp_path, args)
modelbased-rl/MuZero/core/utils.py:8
↓ 1 callersMethodmake_target
Generate targets for every unroll steps.
modelbased-rl/SampledMuZero/replay_buffer.py:256
↓ 1 callersMethodmake_target
(self, state_index: int, num_unroll_steps: int, td_steps: int, model=None, config=None)
modelbased-rl/MuZero/core/game.py:84
↓ 1 callersMethodmake_world
(self)
multiagent-rl/easy-marl/envs/continuous_mpe/multiagent/scenarios/simple.py:6
↓ 1 callersMethodmask_action
(self, cur_out, id, expand_dimension)
modelbased-rl/MBPO/ED2-MBPO/mbpo/models/bnn.py:609
↓ 1 callersMethodmaybe_minimize
(self, condition, loss)
modelbased-rl/PlaNet/planet/tools/custom_optimizer.py:41
↓ 1 callersMethodmean
(self)
modelbased-rl/Dreamer/ED2-Dreamer/tools.py:299
↓ 1 callersMethodmean
(self)
modelbased-rl/Dreamer/Vanilla_Dreamer/tools.py:272
↓ 1 callersMethodnew_game
(self, seed=None, save_video=False, save_path=None, video_callable=None, uid=None)
modelbased-rl/MuZero/config/classic_control/__init__.py:48
↓ 1 callersMethodnormalize
(self, value)
modelbased-rl/SampledMuZero/self_play.py:559
↓ 1 callersMethodnormalize
(self, value: float)
modelbased-rl/MuZero/core/mcts.py:18
↓ 1 callersMethodnormalize_states
(self, eps=1e-3)
offline-rl-algorithms/ISPI/utils.py:52
↓ 1 callersMethodobs_step
(self, prev_state, prev_action, embed)
modelbased-rl/Dreamer/ED2-Dreamer/models.py:141
↓ 1 callersFunctionpack_animation_frames
(image)
modelbased-rl/PlaNet/planet/scripts/create_video.py:72
↓ 1 callersFunctionparse_args
()
modelbased-rl/MBPO/ED2-MBPO/examples/development/simulate_policy.py:14
← previousnext →1,101–1,200 of 3,230, ranked by callers