RT-DETR-H_layout_3cls.yaml 940 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Global:
  2. model: RT-DETR-H_layout_3cls
  3. mode: check_dataset # check_dataset/train/evaluate/predict
  4. dataset_dir: "/paddle/dataset/paddlex/layout/det_layout_examples"
  5. device: gpu:0,1,2,3
  6. output: "output"
  7. CheckDataset:
  8. convert:
  9. enable: False
  10. src_dataset_type: null
  11. split:
  12. enable: False
  13. train_percent: null
  14. val_percent: null
  15. Train:
  16. num_classes: 11
  17. epochs_iters: 50
  18. batch_size: 1
  19. learning_rate: 0.00005
  20. pretrain_weight_path: null
  21. warmup_steps: #100
  22. resume_path: null
  23. log_interval: 10
  24. eval_interval: 1
  25. Evaluate:
  26. weight_path: "output/best_model.pdparams"
  27. log_interval: 10
  28. Export:
  29. weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/pretrained/RT-DETR-H_layout_pretrained_v1.pdparams
  30. Predict:
  31. model_dir: "output/best_model"
  32. input_path: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/layout.jpg"
  33. kernel_option:
  34. run_mode: paddle
  35. batch_size: 1