Unverified Commit 452e69f3 authored by liuzhe-lz's avatar liuzhe-lz Committed by GitHub
Browse files

Fix example issue (#4456)

parent 100b95fe
authorName:
experimentName:
trialConcurrency:
maxExecDuration:
maxTrialNum:
#choice: local, remote
trainingServicePlatform:
searchSpacePath:
#choice: true, false
useAnnotation:
tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner
builtinTunerName:
classArgs:
#choice: maximize, minimize
optimize_mode:
assessor:
#choice: Medianstop, Curvefitting
builtinAssessorName:
classArgs:
#choice: maximize, minimize
optimize_mode:
trial:
command:
codeDir:
gpuNum:
#machineList can be empty if the platform is local
machineList:
- ip:
port:
username:
passwd:
authorName: default searchSpaceFile: search_space.json
experimentName: example_mnist_pytorch trialCommand: python3 mnist.py # NOTE: change "python3" to "python" if you are using Windows
trialConcurrency: 1 trialGpuNumber: 0
maxExecDuration: 1h trialConcurrency: 4
maxTrialNum: 50 maxTrialNumber: 20
#choice: local, remote
trainingServicePlatform: local
searchSpacePath: search_space.json
#choice: true, false
useAnnotation: false
tuner: tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner name: TPE
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
classArgs: classArgs:
#choice: maximize, minimize
optimize_mode: maximize optimize_mode: maximize
assessor: assessor:
#choice: Medianstop, Curvefitting name: Curvefitting
builtinAssessorName: Curvefitting
classArgs: classArgs:
epoch_num: 20 epoch_num: 20
threshold: 0.9 threshold: 0.9
trial: trainingService:
command: python3 mnist.py platform: local
codeDir: .
gpuNum: 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment