Skip to content

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

@TheCrazyT

Description

@TheCrazyT

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions