blazeface_1000e_train_infer_python.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ===========================train_params===========================
  2. model_name:blazeface_1000e
  3. python:python3.7
  4. gpu_list:0|0,1
  5. use_gpu:True
  6. auto_cast:null
  7. epoch:lite_train_lite_infer=1|lite_train_whole_infer=1|whole_train_whole_infer=1000
  8. save_dir:null
  9. TrainReader.batch_size:lite_train_lite_infer=2|lite_train_whole_infer=2|whole_train_whole_infer=8
  10. pretrain_weights:https://paddledet.bj.bcebos.com/models/blazeface_1000e.pdparams
  11. trained_model_name:model_final.pdparams
  12. train_infer_img_dir:./dataset/wider_face/WIDER_val/images/0--Parade/
  13. filename:null
  14. ##
  15. trainer:norm_train
  16. norm_train:tools/train.py -c configs/face_detection/blazeface_1000e.yml -o
  17. pact_train:tools/train.py -c configs/face_detection/blazeface_1000e.yml --slim_config _template_pact -o
  18. fpgm_train:tools/train.py -c configs/face_detection/blazeface_1000e.yml --slim_config _template_fpgm -o
  19. distill_train:null
  20. null:null
  21. null:null
  22. ##
  23. ===========================eval_params===========================
  24. eval:tools/eval.py -c configs/face_detection/blazeface_1000e.yml -o
  25. null:null
  26. ##
  27. ===========================infer_params===========================
  28. --output_dir:./output_inference
  29. weights:https://paddledet.bj.bcebos.com/models/blazeface_1000e.pdparams
  30. norm_export:tools/export_model.py -c configs/face_detection/blazeface_1000e.yml -o
  31. pact_export:tools/export_model.py -c configs/face_detection/blazeface_1000e.yml --slim_config _template_pact -o
  32. fpgm_export:tools/export_model.py -c configs/face_detection/blazeface_1000e.yml --slim_config _template_fpgm -o
  33. distill_export:null
  34. export1:null
  35. export2:null
  36. kl_quant_export:tools/post_quant.py -c configs/face_detection/blazeface_1000e.yml --slim_config _template_kl_quant -o
  37. ##
  38. infer_mode:norm
  39. infer_quant:False
  40. inference:./deploy/python/infer.py
  41. --device:gpu|cpu
  42. --enable_mkldnn:False
  43. --cpu_threads:4
  44. --batch_size:1|2
  45. --use_tensorrt:null
  46. --run_mode:paddle
  47. --model_dir:
  48. --image_dir:./dataset/wider_face/WIDER_val/images/0--Parade/
  49. --save_log_path:null
  50. --run_benchmark:False
  51. null:null
  52. ===========================infer_benchmark_params===========================
  53. numpy_infer_input:3x800x1344.npy