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

#367 fix: Request correct hydra-core

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:hotfix/ALG-000_hydra-req
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  1. from super_gradients.common.factories.base_factory import BaseFactory
  2. from super_gradients.training.metrics import Accuracy, Top5, DetectionMetrics, IoU, PixelAccuracy, BinaryIOU, Dice,\
  3. BinaryDice
  4. class MetricsFactory(BaseFactory):
  5. def __init__(self):
  6. type_dict = {
  7. 'Accuracy': Accuracy,
  8. 'Top5': Top5,
  9. 'DetectionMetrics': DetectionMetrics,
  10. 'IoU': IoU,
  11. "BinaryIOU": BinaryIOU,
  12. "Dice": Dice,
  13. "BinaryDice": BinaryDice,
  14. 'PixelAccuracy': PixelAccuracy,
  15. }
  16. super().__init__(type_dict)
Discard
Tip!

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