config.yml 554 Bytes
Newer Older
1
2
3
searchSpaceFile: search_space.json
trialCommand: python3 main.py
trialGpuNumber: 1
4
trialConcurrency: 4
5
maxTrialNumber: 10
6
tuner:
7
  name: TPE
8
9
  classArgs:
    optimize_mode: maximize
10
11
12
13
14
trainingService:  # For other platforms, check mnist-pytorch example
  platform: local
  maxTrialNumberPerGpu: 2
  useActiveGpu: false  # NOTE: Use "true" if you are using an OS with graphical interface (e.g. Windows 10, Ubuntu desktop)
                       # Check the doc for details: https://nni.readthedocs.io/en/latest/reference/experiment_config.html#useactivegpu