Skip to content

Commit

Permalink
OOM because 64gb wasn't enough 😳
Browse files Browse the repository at this point in the history
  • Loading branch information
mscs committed Apr 16, 2024
1 parent e263500 commit f2e5c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onefiveone/learn.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,8 +836,8 @@ def train_model(env, total_steps, n_steps, batch_size, episode, file_name, save_


batch_size = 256
n_steps = batch_size * 32
total_steps = n_steps * 64
n_steps = batch_size * 16
total_steps = n_steps * 32

for e in range(0, episodes):
model = train_model(env=run_env, total_steps=total_steps, n_steps = n_steps, batch_size = batch_size, episode=e,
Expand Down

0 comments on commit f2e5c35

Please sign in to comment.