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

Commit

Permalink
Fix example issue (#4456)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhe-lz authored Jan 10, 2022
1 parent 100b95f commit 452e69f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 52 deletions.
Empty file removed examples/__init__.py
Empty file.
32 changes: 0 additions & 32 deletions examples/experiment_config.yml

This file was deleted.

29 changes: 9 additions & 20 deletions examples/trials/mnist-pytorch/config_assessor.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
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
searchSpaceFile: search_space.json
trialCommand: python3 mnist.py # NOTE: change "python3" to "python" if you are using Windows
trialGpuNumber: 0
trialConcurrency: 4
maxTrialNumber: 20
tuner:
#choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner, GPTuner
#SMAC (SMAC should be installed through nnictl)
builtinTunerName: TPE
name: TPE
classArgs:
#choice: maximize, minimize
optimize_mode: maximize
assessor:
#choice: Medianstop, Curvefitting
builtinAssessorName: Curvefitting
name: Curvefitting
classArgs:
epoch_num: 20
threshold: 0.9
trial:
command: python3 mnist.py
codeDir: .
gpuNum: 0
trainingService:
platform: local

0 comments on commit 452e69f

Please sign in to comment.