franzi2505 commited on
Commit
5ec0a16
1 Parent(s): 7e28a06

adapt default area ranges to be similar to detection metrics

Browse files
Files changed (1) hide show
  1. PanopticQuality.py +4 -1
PanopticQuality.py CHANGED
@@ -82,7 +82,10 @@ class PQMetric(evaluate.Metric):
82
  stuff: List[str] = None,
83
  per_class: bool = True,
84
  split_sq_rq: bool = True,
85
- area_rng: List[Tuple[float]] = [(0, 1e8)],
 
 
 
86
  **kwargs
87
  ):
88
  super().__init__(**kwargs)
 
82
  stuff: List[str] = None,
83
  per_class: bool = True,
84
  split_sq_rq: bool = True,
85
+ area_rng: List[Tuple[float]] = [(0, 1e5**2),
86
+ (0**2, 6**2),
87
+ (6**2, 12**2),
88
+ (12**2, 1e5**2)],
89
  **kwargs
90
  ):
91
  super().__init__(**kwargs)