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
  1. # YoloNAS-S Detection training on COCO2017 Dataset:
  2. # This training recipe is for demonstration purposes only. Pretrained models were trained using a different recipe.
  3. # So it will not be possible to reproduce the results of the pretrained models using this recipe.
  4. # Instructions:
  5. # 0. Make sure that the data is stored in dataset_params.dataset_dir or add "dataset_params.data_dir=<PATH-TO-DATASET>" at the end of the command below (feel free to check ReadMe)
  6. # 1. Move to the project root (where you will find the ReadMe and src folder)
  7. # 2. Run the command you want:
  8. # yolo_nas_s: python src/super_gradients/examples/train_from_recipe_example/train_from_recipe.py --config-name=coco2017_yolo_nas_s
  9. #
  10. defaults:
  11. - training_hyperparams: coco2017_yolo_nas_train_params
  12. - dataset_params: coco_detection_yolo_nas_dataset_params
  13. - arch_params: yolo_nas_s_arch_params
  14. - checkpoint_params: default_checkpoint_params
  15. - _self_
  16. - variable_setup
  17. train_dataloader: coco2017_train_yolo_nas
  18. val_dataloader: coco2017_val_yolo_nas
  19. load_checkpoint: False
  20. resume: False
  21. dataset_params:
  22. train_dataloader_params:
  23. batch_size: 32
  24. arch_params:
  25. num_classes: 80
  26. training_hyperparams:
  27. resume: ${resume}
  28. mixed_precision: True
  29. architecture: yolo_nas_s
  30. multi_gpu: DDP
  31. num_gpus: 8
  32. experiment_suffix: ""
  33. experiment_name: coco2017_${architecture}${experiment_suffix}
Discard
Tip!

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