class_docstr: Base class for defining detection loss functions. Sub-classes must implement forward function.
  
  Args:
      opts: command line arguments
class_docstr_tok: ["Base","class","for","defining","detection","loss","functions",".","Sub-classes","must","implement","forward","function",".","Args",":","opts",":","command","line","arguments"]
code: def __init__(self, opts: argparse.Namespace, *args, **kwargs) -> None:
      super().__init__(opts, *args, **kwargs)
  
imports: import argparse
  from loss_fn import LOSS_REGISTRY, BaseCriteria
label_desc: Use image node_id 1 to create a new BaseDetectionCriteria object from inherited base classes: BaseCriteria with example: obj = BaseDetectionCriteria(opts)