Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file removed environment/__pycache__/agent.cpython-313.pyc
Binary file not shown.
Binary file removed environment/__pycache__/environment.cpython-312.pyc
Binary file not shown.
Binary file removed environment/__pycache__/environment.cpython-313.pyc
Binary file not shown.
5 changes: 4 additions & 1 deletion environment/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,10 @@ def train(agent: Agent,
agent.learn(env, total_timesteps=train_timesteps, verbose=1)
base_env.on_training_end()
except KeyboardInterrupt:
pass
if save_handler is not None:
save_handler.agent.update_num_timesteps(save_handler.num_timesteps)
save_handler.save_agent()


env.close()

Expand Down
28 changes: 0 additions & 28 deletions user/pvp_match.py

This file was deleted.