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.

inference_config.yaml 1.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. # distributed parameter
  16. is_distributed: 0
  17. local_rank: 0
  18. world_size: 1
  19. # test weight
  20. weight: 'your_test_model'
  21. test_dir: '/cache/data/face_recognition_dataset/'
  22. need_modelarts_dataset_unzip: True
  23. # model define
  24. backbone: "r100"
  25. use_se: 0
  26. emb_size: 256
  27. act_type: "relu"
  28. fp16: 1
  29. pre_bn: 0
  30. inference: 1
  31. use_drop: 0
  32. # test and dis batch size
  33. test_batch_size: 128
  34. dis_batch_size: 512
  35. # log
  36. log_interval: 100
  37. ckpt_path: "outputs/models"
  38. # test and dis image list
  39. test_img_predix: ""
  40. test_img_list: ""
  41. dis_img_predix: ""
  42. dis_img_list: ""
  43. ---
  44. # Help description for each configuration
  45. enable_modelarts: "Whether training on modelarts, default: False"
  46. data_url: "Url for modelarts"
  47. train_url: "Url for modelarts"
  48. data_path: "The location of the input data."
  49. output_path: "The location of the output file."
  50. device_target: 'Target device type'
  51. enable_profiling: 'Whether enable profiling while training, default: False'