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

#578 Feature/sg 516 support head replacement for local pretrained weights unknown dataset

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-516_support_head_replacement_for_local_pretrained_weights_unknown_dataset
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
  1. # Equivalent to cifar10_dataset_params.yaml, but uses albumentations transforms.
  2. # The purpose of the below configuration is to demonstrate the use of Albumentation transforms in train_from_recipe.
  3. batch_size: 256 # batch size for trainset
  4. val_batch_size: 512 # batch size for valset in DatasetInterface
  5. # TODO: REMOVE ABOVE, HERE FOR COMPATIBILITY UNTIL WE REMOVE DATASET_INTERFACE
  6. train_dataset_params:
  7. root: ./data/cifar10
  8. train: True
  9. transforms:
  10. Albumentations:
  11. Compose:
  12. transforms:
  13. - RandomCrop:
  14. height: 32
  15. width: 32
  16. - HorizontalFlip:
  17. p: 0.5
  18. - Normalize:
  19. mean:
  20. - 0.4914
  21. - 0.4822
  22. - 0.4465
  23. std:
  24. - 0.2023
  25. - 0.1994
  26. - 0.2010
  27. - ToTensorV2
  28. target_transform: null
  29. download: True
  30. train_dataloader_params:
  31. batch_size: 256
  32. num_workers: 8
  33. drop_last: False
  34. pin_memory: True
  35. val_dataset_params:
  36. root: ./data/cifar10
  37. train: False
  38. transforms:
  39. Albumentations:
  40. Compose:
  41. transforms:
  42. - Normalize:
  43. mean:
  44. - 0.4914
  45. - 0.4822
  46. - 0.4465
  47. std:
  48. - 0.2023
  49. - 0.1994
  50. - 0.2010
  51. - ToTensorV2
  52. target_transform: null
  53. download: True
  54. val_dataloader_params:
  55. batch_size: 512
  56. num_workers: 8
  57. drop_last: False
  58. pin_memory: True
Discard
Tip!

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