-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ERROR: Config V2 validation failed: ValueError('_AlgorithmConfig: Unrecognized fields builtinassessorname') #4066
Comments
I can't reproduce this issue with NNI v2.4. authorName: default
experimentName: example_mnist_pytorch
trialConcurrency: 1
maxExecDuration: 1h
maxTrialNum: 50
trainingServicePlatform: local
searchSpacePath: search_space.json
useAnnotation: false
tuner:
builtinTunerName: TPE
classArgs:
optimize_mode: maximize
assessor:
builtinAssessorName: Curvefitting
classArgs:
epoch_num: 20
threshold: 0.9
trial:
command: python3 mnist.py
codeDir: .
gpuNum: 0 If it does not work for you, please paste the command you run and it's full output. |
i also have this issue with this config file
the trial and builtinassessorname fields can't recognized Environment:
|
i think the experiment config(v2) is not support those fields. how can i use legacy(v1) config in nni v2 |
i change the builtinAssessorName to name. wrok now.
|
Thanks. |
Closed as the issue has been resolved. |
Hi,when I used assessor to the config.yml, it always failed.
My config content is as follow:
authorName: default
experimentName: example_mnist_pytorch
trialConcurrency: 1
maxExecDuration: 1h
maxTrialNum: 50
#choice: local, remote
trainingServicePlatform: local
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs:
#choice: maximize, minimize
optimize_mode: maximize
assessor:
#choice: Medianstop, Curvefitting
builtinAssessorName: Curvefitting
classArgs:
epoch_num: 20
threshold: 0.9
trial:
command: python3 mnist.py
codeDir: .
gpuNum: 1
Environment:
The text was updated successfully, but these errors were encountered: