demo.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [parameters]
  2. mutate_ops=WS GF NEB NAI NS ARem ARep LA LC LR LS MLA
  3. metrics=D_MAD
  4. #metrics=deepgini
  5. exps=mobilenet.1.00.224-imagenet
  6. # lexnet-cifar10 lenet5-fashion-mnist fashion2 svhn lenet5-mnist alexnet-cifar10 mobilenet.1.00.224-imagenet vgg16-imagenet
  7. # Path of the initial models
  8. # Name model file as 'alexnet-cifar10_origin.h5'
  9. origin_model_dir=origin_model
  10. # Path of the ImageNet and regression dataset
  11. dataset_dir=dataset
  12. # Modifying the backends is not recommended.
  13. # There is some hard-code in the program about the backends
  14. backend=tensorflow mxnet
  15. #..python_prefix = /root/anaconda3/envs/
  16. python_prefix=/opt/conda/envs/
  17. output_dir = lemon_outputs
  18. mutate_num=20
  19. test_size=10
  20. pool_size=50
  21. mutate_ratio=0.3
  22. gpu_ids = 0,1
  23. threshold = 0.4
  24. # minutes
  25. time_limit = 3
  26. # use MCMC for mutator selection
  27. mutator_strategy = MCMC
  28. # use Roulette for mutant selection
  29. mutant_strategy = Roulette
  30. # use counter,timing
  31. stop_mode=counter
  32. [redis]
  33. # your-redis-server
  34. host= 127.0.0.1
  35. # redis port
  36. port= 6379
  37. # db number
  38. redis_db= 0