-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from rdnfn/dev/general
v0.4.2
- Loading branch information
Showing
23 changed files
with
379 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,4 +118,5 @@ docs/generated/ | |
|
||
#beobench | ||
beobench_results* | ||
notebooks/archive | ||
notebooks/archive | ||
*beo.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# REWEX Experiment 02 | ||
# Run with the command | ||
# beobench run -c beobench/data/configs/rewex01_test02.yaml -d .[extended] --use-gpu --docker-shm-size 28gb | ||
|
||
# Some of the descriptions of RLlib config values are taken from | ||
# https://docs.ray.io/en/latest/rllib/rllib-training.html | ||
|
||
# agent config | ||
agent: | ||
origin: rllib # either path to agent script or name of agent library (rllib) | ||
config: # given to ray.tune.run() as arguments (since rllib set before) | ||
run_or_experiment: PPO | ||
stop: | ||
timesteps_total: 35040 | ||
config: | ||
lr: 0.0005 | ||
model: | ||
fcnet_activation: relu | ||
fcnet_hiddens: [256,256,256,256] | ||
post_fcnet_activation: tanh | ||
batch_mode: complete_episodes | ||
gamma: 0.999 | ||
# Number of steps after which the episode is forced to terminate. Defaults | ||
# to `env.spec.max_episode_steps` (if present) for Gym envs. | ||
horizon: 96 | ||
# Calculate rewards but don't reset the environment when the horizon is | ||
# hit. This allows value estimation and RNN state to span across logical | ||
# episodes denoted by horizon. This only has an effect if horizon != inf. | ||
soft_horizon: True | ||
# Number of timesteps collected for each SGD round. This defines the size | ||
# of each SGD epoch. | ||
train_batch_size: 94 # single day of 15min steps | ||
# Total SGD batch size across all devices for SGD. This defines the | ||
# minibatch size within each epoch. | ||
sgd_minibatch_size: 24 | ||
metrics_smoothing_episodes: 1 | ||
framework: torch | ||
log_level: "WARNING" | ||
num_workers: 1 # this is required for energym to work (can fail silently otherwise) | ||
num_gpus: 1 | ||
# environment config | ||
env: | ||
name: MixedUseFanFCU-v0 | ||
gym: energym | ||
config: | ||
days: 365 | ||
energym_environment: MixedUseFanFCU-v0 | ||
gym_kwargs: | ||
max_episode_length: 35040 | ||
normalize: true | ||
step_period: 15 | ||
weather: GRC_A_Athens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
program: beobench | ||
method: grid | ||
command: | ||
- ${program} | ||
- run | ||
- ${args} | ||
parameters: | ||
config: | ||
value: | ||
- ./beobench/data/configs/rewex01.yaml | ||
- ./wandb.beo.yaml | ||
dev-path: | ||
value: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.