mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-22 14:56:43 +02:00
init and __init__
This commit is contained in:
parent
d11b1a8172
commit
a7906203d8
@ -0,0 +1,6 @@
|
||||
from environment.factory import BaseFactory
|
||||
from environment.factory import OBSBuilder
|
||||
|
||||
from utils.tools import ConfigExplainer
|
||||
|
||||
from quickstart import init
|
@ -4,11 +4,16 @@ from pathlib import Path
|
||||
|
||||
from marl_factory_grid.utils.tools import ConfigExplainer
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
def init():
|
||||
print('Retrieving available options...')
|
||||
ce = ConfigExplainer()
|
||||
cwd = Path(os.getcwd())
|
||||
ce.save_all(cwd / 'full_config.yaml')
|
||||
template_path = Path(__file__) / 'marl_factory_grid' / 'modules' / '_template'
|
||||
print(f'Available config options saved to: {(cwd / "full_config.yaml").resolve()}')
|
||||
print('-----------------------------')
|
||||
print(f'Copying Templates....')
|
||||
shutil.copytree(template_path, cwd)
|
||||
print()
|
||||
print(f'Templates copied to {template_path.resolve()}')
|
||||
print(':wave:')
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ long_description = (this_directory / "README.md").read_text()
|
||||
|
||||
|
||||
setup(name='Marl-Factory-Grid',
|
||||
version='0.0.8',
|
||||
version='0.0.9',
|
||||
description='A framework to research MARL agents in various setings.',
|
||||
author='Steffen Illium',
|
||||
author_email='steffen.illium@ifi.lmu.de',
|
||||
|
Loading…
x
Reference in New Issue
Block a user