cleaned up and fixed tests. should all run now.

This commit is contained in:
Chanumask
2024-03-21 15:04:29 +01:00
parent 18a30ed17a
commit 9049363a40
3 changed files with 65 additions and 64 deletions

View File

@ -1,5 +1,4 @@
from pathlib import Path
from random import randint
from tqdm import trange
@ -10,7 +9,7 @@ from marl_factory_grid.environment.factory import Factory
if __name__ == '__main__':
# Render at each step?
render = True
render = False
# Path to config File
path = Path('marl_factory_grid/configs/test_config.yaml')
@ -18,7 +17,7 @@ if __name__ == '__main__':
# Env Init
factory = Factory(path)
for episode in trange(1):
for episode in trange(10):
_ = factory.reset()
done = False
if render: