Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#875 Feature/sg 761 yolo nas

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-761-yolo-nas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
  1. # Checkout the datasets at https://universe.roboflow.com/roboflow-100?ref=blog.roboflow.com
  2. #
  3. # `dataset_name` refers to the official name of the dataset.
  4. # You can find it in the url of the dataset: https://universe.roboflow.com/roboflow-100/digits-t2eg6 -> digits-t2eg6
  5. #
  6. # Example: python -m super_gradients.train_from_recipe --config-name=roboflow_ppyoloe dataset_name=digits-t2eg6
  7. defaults:
  8. - training_hyperparams: coco2017_ppyoloe_train_params
  9. - dataset_params: roboflow_detection_dataset_params
  10. - checkpoint_params: default_checkpoint_params
  11. - arch_params: ppyoloe_m_arch_params
  12. - _self_
  13. - variable_setup
  14. dataset_name: ??? # Placeholder for the name of the dataset you want to use (e.g. "digits-t2eg6")
  15. dataset_params:
  16. dataset_name: ${dataset_name}
  17. num_classes: ${roboflow_dataset_num_classes:${dataset_name}}
  18. architecture: ppyoloe_m
  19. arch_params:
  20. num_classes: ${num_classes}
  21. train_dataloader: roboflow_train_yolox
  22. val_dataloader: roboflow_val_yolox
  23. load_checkpoint: False
  24. checkpoint_params:
  25. pretrained_weights: coco
  26. result_path: # By defaults saves results in checkpoints directory
  27. resume: False
  28. training_hyperparams:
  29. resume: ${resume}
  30. max_epochs: 100
  31. mixed_precision: True
  32. criterion_params:
  33. num_classes: ${num_classes}
  34. phase_callbacks:
  35. - RoboflowResultCallback:
  36. dataset_name: ${dataset_name}
  37. output_path: ${result_path}
  38. loss:
  39. ppyoloe_loss:
  40. num_classes: ${num_classes}
  41. reg_max: ${arch_params.head.reg_max}
  42. valid_metrics_list:
  43. - DetectionMetrics:
  44. score_thres: 0.1
  45. top_k_predictions: 300
  46. num_cls: ${num_classes}
  47. normalize_targets: True
  48. post_prediction_callback:
  49. _target_: super_gradients.training.models.detection_models.pp_yolo_e.PPYoloEPostPredictionCallback
  50. score_threshold: 0.01
  51. nms_top_k: 1000
  52. max_predictions: 300
  53. nms_threshold: 0.7
  54. multi_gpu: DDP
  55. num_gpus:
  56. experiment_name: ${architecture}_roboflow_${dataset_name}
Discard
Tip!

Press p or to see the previous file or, n or to see the next file