Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Random Tuner does not accept argument classArgs #2334

Closed
seanytak opened this issue Apr 17, 2020 · 1 comment
Closed

Random Tuner does not accept argument classArgs #2334

seanytak opened this issue Apr 17, 2020 · 1 comment
Assignees
Labels

Comments

@seanytak
Copy link
Member

Short summary about the issue/question:

Brief what process you are following:
When specifying a config.yml

# config.yml
tuner:
  builtinTunerName: Random
  classArgs:
    optimize_mode: maximize

an error of

ERROR: Your config file is not correct, please check your config file content!
ERROR: Wrong key 'classArgs' in {'builtinTunerName': 'Random', 'classArgs': {'optimize_mode': 'maximize'}}

is returned from the command

nnictl create --config config.yml

Removing classArgs does appear to fix the issue but the docs say this should be an acceptable key

How to reproduce it:

nni Environment:

  • nni version: 1.5
  • nni mode(local|pai|remote): local
  • OS: Ubuntu 18.04
  • python version: 3.6.10
  • is conda or virtualenv used?: conda
  • is running in docker?: no

need to update document(yes/no):
If this is a documentation error on Random Tuner Docs yes, otherwise no

Anything else we need to know:
Per #903 this seems like a documentation error

@chicm-ms
Copy link
Contributor

@seanytak Thanks for reporting this issue, it is indeed a document error.

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

No branches or pull requests

3 participants