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

#396 Trainer constructor cleanup

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-266_clean_trainer_ctor
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
  1. train_dataset_params:
  2. root_dir: /data/supervisely-persons
  3. list_file: train.csv
  4. cache_labels: False
  5. cache_images: False
  6. transforms:
  7. - RandomRescaleSeg:
  8. scales: [ 0.25, 1. ]
  9. - ColorJitterSeg:
  10. brightness: 0.5
  11. contrast: 0.5
  12. saturation: 0.5
  13. - RandomFlipSeg:
  14. prob: 0.5
  15. - PadShortToCropSizeSeg:
  16. crop_size: [ 320, 480 ]
  17. fill_mask: 0
  18. - CropImageAndMaskSeg:
  19. crop_size: [ 320, 480 ]
  20. mode: random
  21. val_dataset_params:
  22. root_dir: /data/supervisely-persons
  23. list_file: val.csv
  24. cache_labels: False
  25. cache_images: False
  26. transforms:
  27. - ResizeSeg:
  28. h: 480
  29. w: 320
  30. train_dataloader_params:
  31. batch_size: 8
  32. drop_last: True
  33. val_dataloader_params:
  34. batch_size: 8
  35. drop_last: False
  36. _convert_: all
Discard
Tip!

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