You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

default_config.yaml 1.5 kB

4 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Builtin Configurations(DO NOT CHANGE THESE CONFIGURATIONS unless you know exactly what you are doing)
  2. enable_modelarts: False
  3. data_url: ""
  4. train_url: ""
  5. checkpoint_url: ""
  6. data_path: "/cache/data"
  7. output_path: "/cache/train"
  8. load_path: "/cache/checkpoint_path"
  9. checkpoint_path: './checkpoint/'
  10. checkpoint_file: './checkpoint/checkpoint_alexnet-30_1562.ckpt'
  11. device_target: Ascend
  12. enable_profiling: False
  13. data_path_local: '/data/hcm/data/cifar-10-batches-bin/'
  14. ckpt_path_local: '/data/hcm/data/ckpt_alexnet/checkpoint_alexnet-30_1562.ckpt'
  15. # ==============================================================================
  16. # Training options
  17. epoch_size: 30
  18. keep_checkpoint_max: 10
  19. num_classes: 10
  20. learning_rate: 0.002
  21. momentum: 0.9
  22. batch_size: 32
  23. buffer_size: 1000
  24. image_height: 227
  25. image_width: 227
  26. save_checkpoint_steps: 1562
  27. air_name: 'alexnet.air'
  28. dataset_name: 'cifar10'
  29. sink_size: -1
  30. dataset_sink_mode: True
  31. device_id: 0
  32. save_checkpoint: True
  33. save_checkpoint_epochs: 2
  34. lr: 0.01
  35. # Model Description
  36. model_name: alexnet
  37. file_name: 'alexnet'
  38. file_format: 'AIR'
  39. ---
  40. # Config description for each option
  41. enable_modelarts: 'Whether training on modelarts, default: False'
  42. data_url: 'Dataset url for obs'
  43. train_url: 'Training output url for obs'
  44. data_path: 'Dataset path for local'
  45. output_path: 'Training output path for local'
  46. device_target: 'Target device type'
  47. enable_profiling: 'Whether enable profiling while training, default: False'
  48. ---
  49. device_target: ['Ascend', 'GPU', 'CPU']