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.

config_imagenet.yaml 1.2 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Builtin Configurations(DO NOT CHANGE THESE CONFIGURATIONS unless you know exactly what you are doing)
  2. enable_modelarts: False
  3. # Url for modelarts
  4. data_url: ""
  5. train_url: ""
  6. checkpoint_url: ""
  7. # Path for local
  8. data_path: "/cache/data"
  9. output_path: "/cache/train"
  10. load_path: "/cache/checkpoint_path"
  11. device_target: Ascend
  12. enable_profiling: False
  13. # ==============================================================================
  14. # Training options
  15. epoch_size: 30
  16. save_checkpoint: True
  17. keep_checkpoint_max: 10
  18. save_checkpoint_epochs: 5
  19. save_checkpoint_steps: -1
  20. ckpt_path: ""
  21. lr: 0.1
  22. momentum: 0.9
  23. batch_size: 32
  24. buffer_size: 1000
  25. dataset_name: imagenet
  26. # Model Description
  27. model_name: lenet_running_8p
  28. image_height: 32
  29. image_width: 32
  30. num_classes: 10
  31. ---
  32. # Config description for each option
  33. enable_modelarts: 'Whether training on modelarts, default: False'
  34. data_url: 'Dataset url for obs'
  35. train_url: 'Training output url for obs'
  36. data_path: 'Dataset path for local'
  37. output_path: 'Training output path for local'
  38. device_target: 'Target device type'
  39. enable_profiling: 'Whether enable profiling while training, default: False'
  40. ---
  41. device_target: ['Ascend', 'GPU', 'CPU']