mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-09-15 07:23:59 +02:00
New Assets
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 699 B |
Binary file not shown.
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 4.1 KiB |
4
main.py
4
main.py
@@ -98,7 +98,7 @@ if __name__ == '__main__':
|
|||||||
move_props = MovementProperties(allow_diagonal_movement=True,
|
move_props = MovementProperties(allow_diagonal_movement=True,
|
||||||
allow_square_movement=True,
|
allow_square_movement=True,
|
||||||
allow_no_op=False)
|
allow_no_op=False)
|
||||||
train_steps = 2e5
|
train_steps = 5e6
|
||||||
time_stamp = int(time.time())
|
time_stamp = int(time.time())
|
||||||
|
|
||||||
out_path = None
|
out_path = None
|
||||||
@@ -106,7 +106,7 @@ if __name__ == '__main__':
|
|||||||
for modeL_type in [A2C, PPO, RegDQN, DQN]: # , QRDQN]:
|
for modeL_type in [A2C, PPO, RegDQN, DQN]: # , QRDQN]:
|
||||||
for seed in range(3):
|
for seed in range(3):
|
||||||
|
|
||||||
with SimpleFactory(n_agents=1, dirt_properties=dirt_props, pomdp_radius=2, max_steps=400, parse_doors=True,
|
with SimpleFactory(n_agents=1, dirt_properties=dirt_props, pomdp_radius=4, max_steps=400, parse_doors=True,
|
||||||
movement_properties=move_props, level_name='rooms', frames_to_stack=0,
|
movement_properties=move_props, level_name='rooms', frames_to_stack=0,
|
||||||
omit_agent_slice_in_obs=True, combin_agent_slices_in_obs=True, record_episodes=False,
|
omit_agent_slice_in_obs=True, combin_agent_slices_in_obs=True, record_episodes=False,
|
||||||
cast_shadows=True,
|
cast_shadows=True,
|
||||||
|
@@ -14,7 +14,7 @@ warnings.filterwarnings('ignore', category=UserWarning)
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
model_name = 'A2C_1627392692'
|
model_name = 'A2C_1627393138'
|
||||||
run_id = 0
|
run_id = 0
|
||||||
out_path = Path(__file__).parent / 'debug_out'
|
out_path = Path(__file__).parent / 'debug_out'
|
||||||
model_path = out_path / model_name
|
model_path = out_path / model_name
|
||||||
|
Reference in New Issue
Block a user