nikos99n commited on
Commit
644d9c3
·
verified ·
1 Parent(s): ba046d2

change max count

Browse files
Files changed (1) hide show
  1. train_main.py +1 -1
train_main.py CHANGED
@@ -16,7 +16,7 @@ def process_dataset_with_augmentation(df, is_training=False):
16
  # 1. Calculate Statistics for Balancing (Only needed for training)
17
  if is_training:
18
  class_counts = df['target'].value_counts().to_dict()
19
- max_count = max(class_counts.values())
20
  print(f" [Augmentation] Balancing classes to match majority count: {max_count}")
21
 
22
  total = len(df)
 
16
  # 1. Calculate Statistics for Balancing (Only needed for training)
17
  if is_training:
18
  class_counts = df['target'].value_counts().to_dict()
19
+ max_count = 500
20
  print(f" [Augmentation] Balancing classes to match majority count: {max_count}")
21
 
22
  total = len(df)