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
  1. from super_gradients.common.factories.base_factory import BaseFactory
  2. from super_gradients.training.losses import LOSSES
  3. class LossesFactory(BaseFactory):
  4. def __init__(self):
  5. super().__init__(LOSSES)
Discard
Tip!

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