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

#869 Add DagsHub Logger to Super Gradients

Merged
Ghost merged 1 commits into Deci-AI:master from timho102003:dagshub_logger
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
  1. config_version: '1.2'
  2. config_ignore_values:
  3. '1.2': 65
  4. '2.0': 123
  5. mask_fill_value: ${getitem:${dataset_params.config_ignore_values},${dataset_params.config_version}}
  6. train_dataset_params:
  7. root_dir: /data/mapillary-vistas-dataset_public_v2.0
  8. config_file: config_v${..config_version}.json
  9. samples_sub_directory: training/images
  10. targets_sub_directory: training/v${..config_version}/labels
  11. cache_labels: False
  12. cache_images: False
  13. transforms:
  14. - SegRescale:
  15. long_size: 2048
  16. - SegColorJitter:
  17. brightness: 0.5
  18. contrast: 0.5
  19. saturation: 0.5
  20. - SegRandomFlip:
  21. prob: 0.5
  22. - SegRandomRescale:
  23. scales: [ 0.5, 2.0 ]
  24. - SegPadShortToCropSize:
  25. crop_size: 1024
  26. fill_mask: ${dataset_params.mask_fill_value}
  27. - SegCropImageAndMask:
  28. crop_size: 1024
  29. mode: random
  30. val_dataset_params:
  31. root_dir: /data/mapillary-vistas-dataset_public_v2.0
  32. config_file: config_v${..config_version}.json
  33. samples_sub_directory: validation/images
  34. targets_sub_directory: validation/v${..config_version}/labels
  35. cache_labels: False
  36. cache_images: False
  37. transforms:
  38. - SegRescale:
  39. long_size: 2048
  40. - SegPadToDivisible:
  41. divisible_value: 32
  42. fill_mask: ${dataset_params.mask_fill_value}
  43. train_dataloader_params:
  44. shuffle: True
  45. batch_size: 4
  46. num_workers: 8
  47. drop_last: True
  48. pin_memory: True
  49. val_dataloader_params:
  50. # Mapillary validation set include various image sizes.
  51. # It is recommended to Rescale the long size to 2048 then perform validation.
  52. # Unless the default transformation hasn't modified, it is not possible to batch the images to a common size.
  53. batch_size: 1
  54. num_workers: 8
  55. drop_last: False
  56. pin_memory: True
Discard
Tip!

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