Skip to content

Commit

Permalink
fix(rjy): fix subprocess manager
Browse files Browse the repository at this point in the history
  • Loading branch information
nighood committed Apr 17, 2024
1 parent d43ddc6 commit 13d04e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dizoo/ising_env/config/ising_mfq_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
num_agents=num_agents,
dim_spin=dim_spin,
agent_view_sight=agent_view_sight,
manager=dict(shared_memory=False, ),
),
policy=dict(
cuda=True,
Expand Down Expand Up @@ -63,7 +64,6 @@
if __name__ == '__main__':
# or you can enter `ding -m serial -c ising_mfq_config.py -s 0`
from ding.entry import serial_pipeline
from ding.model import DQN
seed = 1
set_pkg_seed(seed)
serial_pipeline((main_config, create_config), seed=seed, max_env_step=5e4)

0 comments on commit 13d04e6

Please sign in to comment.