tarto2 commited on
Commit
00565ca
·
verified ·
1 Parent(s): 8231f44

Update miner.py

Browse files
Files changed (1) hide show
  1. miner.py +1 -1
miner.py CHANGED
@@ -39,7 +39,7 @@ class Miner:
39
  CORNER_CONFIDENCE = Constants.CORNER_CONFIDENCE
40
  GOALKEEPER_POSITION_MARGIN = Constants.GOALKEEPER_POSITION_MARGIN
41
  MIN_SAMPLES_FOR_FIT = 16 # Minimum player crops needed before fitting TeamClassifier
42
- MAX_SAMPLES_FOR_FIT = 1000 # Maximum samples to avoid overfitting
43
 
44
  def __init__(self, path_hf_repo: Path) -> None:
45
  print("model laoding")
 
39
  CORNER_CONFIDENCE = Constants.CORNER_CONFIDENCE
40
  GOALKEEPER_POSITION_MARGIN = Constants.GOALKEEPER_POSITION_MARGIN
41
  MIN_SAMPLES_FOR_FIT = 16 # Minimum player crops needed before fitting TeamClassifier
42
+ MAX_SAMPLES_FOR_FIT = 1001 # Maximum samples to avoid overfitting
43
 
44
  def __init__(self, path_hf_repo: Path) -> None:
45
  print("model laoding")