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

#807 Feature/sg 747 add full pipeline with preprocessing

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-747-add_full_pipeline_with_preprocessing
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
  1. # Binary segmentation training example of UNet model on the Supervisely person dataset.
  2. # Instructions:
  3. # 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)
  4. # 1. Move to the project root (where you will find the ReadMe and src folder)
  5. # 2. Run the command:
  6. # UNet: python src/super_gradients/examples/train_from_recipe_example/train_from_recipe.py --config-name=supervisely_unet
  7. #
  8. # Validation Target (Person class) IoU and training time:
  9. # UNet: input-size: [480, 320] mIoU: 89.18 1 X RTX A5000, 4 H
  10. #
  11. # Logs, tensorboards and network checkpoints:
  12. # UNet: https://deci-pretrained-models.s3.amazonaws.com/unet/supervisely/
  13. #
  14. defaults:
  15. - training_hyperparams: supervisely_default_train_params
  16. - dataset_params: supervisely_persons_dataset_params
  17. - checkpoint_params: default_checkpoint_params
  18. - _self_
  19. architecture: unet
  20. arch_params:
  21. num_classes: 1
  22. use_aux_heads: False
  23. training_hyperparams:
  24. initial_lr: 0.025
  25. loss:
  26. bce_dice_loss:
  27. loss_weights: [ 1., 1. ]
  28. logits: True
  29. dataset_params:
  30. batch_size: 16
  31. multi_gpu: OFF
  32. experiment_name: unet_supervisely
  33. ckpt_root_dir:
  34. # THE FOLLOWING PARAMS ARE DIRECTLY USED BY HYDRA
  35. hydra:
  36. run:
  37. # Set the output directory (i.e. where .hydra folder that logs all the input params will be generated)
  38. dir: ${hydra_output_dir:${ckpt_root_dir}, ${experiment_name}}
Discard
Tip!

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