demo.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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=lemon_master/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. # python_prefix=/root/miniconda3/envs/
  18. output_dir = lemon_outputs
  19. mutate_num=20
  20. test_size=10
  21. pool_size=50
  22. mutate_ratio=0.3
  23. gpu_ids = 0,1
  24. threshold = 0.4
  25. # minutes
  26. time_limit = 3
  27. # use MCMC for mutator selection
  28. mutator_strategy = MCMC
  29. # use Roulette for mutant selection
  30. mutant_strategy = Roulette
  31. # use counter,timing
  32. stop_mode=counter
  33. [redis]
  34. # your-redis-server
  35. host= 127.0.0.1
  36. # redis port
  37. port= 6379
  38. # db number
  39. redis_db= 0