Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: CLI argument: scale is not a Config property #5

Open
TheCrazyT opened this issue Apr 23, 2022 · 0 comments
Open

AssertionError: CLI argument: scale is not a Config property #5

TheCrazyT opened this issue Apr 23, 2022 · 0 comments

Comments

@TheCrazyT
Copy link

At https://neuralmmo.github.io/build/html/rst/baselines.html the suggest that you could change "scale".

But trying the suggested commandline:

python main.py train --config=baselines.Medium --scale=Baseline --RESTORE=None

You are just getting the error:
AssertionError: CLI argument: scale is not a Config property

My guess is that it happens because the order of the commands.
If you take a look at https://github.com/NeuralMMO/baselines/blob/main/main.py#L188

Those lines should probably be placed before:

      config = attrgetter(config)(base_config)()
      config.override(**kwargs)

Or else the "scale"-Parameter will be passed directly to the config-class ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant