mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-25 09:25:23 +02:00
fix single agent issue
This commit is contained in:
parent
9c3e726a36
commit
8c78398056
2 changed files with 10 additions and 1 deletions
|
@ -131,7 +131,7 @@ def launch_parallel_experiments(task_path,
|
|||
for i in range(len(servers)):
|
||||
session_name = str(servers[i][1] - 55916)
|
||||
subprocess.run(["tmux", "send-keys", "-t", "server_" + session_name, f"/op @a", "C-m"])
|
||||
time.sleep(1)
|
||||
time.sleep(10)
|
||||
|
||||
def launch_server_experiment(task_path,
|
||||
task_ids,
|
||||
|
|
|
@ -17,6 +17,15 @@
|
|||
},
|
||||
"type": "debug"
|
||||
},
|
||||
"debug_1_agent_timeout": {
|
||||
"goal": "Just stand at a place and don't do anything",
|
||||
"agent_count": 1,
|
||||
"initial_inventory": {
|
||||
"iron_ingot": 1
|
||||
},
|
||||
"type": "debug",
|
||||
"timeout": 60
|
||||
},
|
||||
"debug_2_agent_timeout": {
|
||||
"goal": "Just stand at a place and don't do anything",
|
||||
"agent_count": 2,
|
||||
|
|
Loading…
Add table
Reference in a new issue