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
  1. defaults:
  2. - default_train_params
  3. max_epochs: 250
  4. lr_updates:
  5. _target_: numpy.arange
  6. start: 100
  7. stop: 250
  8. step: 50
  9. lr_decay_factor: 0.1
  10. lr_mode: step
  11. lr_warmup_epochs: 0
  12. initial_lr: 0.1
  13. loss: cross_entropy
  14. optimizer: SGD
  15. criterion_params: {}
  16. optimizer_params:
  17. weight_decay: 1e-4
  18. momentum: 0.9
  19. metric_to_watch: Accuracy
  20. greater_metric_to_watch_is_better: True
  21. train_metrics_list: # metrics for evaluation
  22. - Accuracy
  23. - Top5
  24. valid_metrics_list: # metrics for evaluation
  25. - Accuracy
  26. - Top5
  27. _convert_: all
Discard
Tip!

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