answer.zip file come from https://drive.google.com/drive/folders/1GbdcRe3OlFXRb1Wj4xlzKtTpeAcPYaPk?usp=sharing
Traceback (most recent call last):
File "/tmp/codalab/tmp4Nxf9m/run/program/evaluation.py", line 42, in
f1_A = f1_score(gt_labels_A, ans_labels_A, average="weighted")
File "/opt/conda/lib/python3.7/site-packages/sklearn/metrics/classification.py", line 1059, in f1_score
sample_weight=sample_weight)
File "/opt/conda/lib/python3.7/site-packages/sklearn/metrics/classification.py", line 1182, in fbeta_score
sample_weight=sample_weight)
File "/opt/conda/lib/python3.7/site-packages/sklearn/metrics/classification.py", line 1415, in precision_recall_fscore_support
pos_label)
File "/opt/conda/lib/python3.7/site-packages/sklearn/metrics/classification.py", line 1239, in _check_set_wise_labels
y_type, y_true, y_pred = _check_targets(y_true, y_pred)
File "/opt/conda/lib/python3.7/site-packages/sklearn/metrics/classification.py", line 71, in _check_targets
check_consistent_length(y_true, y_pred)
File "/opt/conda/lib/python3.7/site-packages/sklearn/utils/validation.py", line 205, in check_consistent_length
" samples: %r" % [int(l) for l in lengths])
ValueError: Found input variables with inconsistent numbers of samples: [45000, 9000]
Kindly use the newly released new_none_filled.json: https://drive.google.com/file/d/1uihgASssS7-qx7DF1R8iMZJDX8dE2Epn/view
Posted by: RajRoy1243 @ Dec. 8, 2024, 12:07 p.m.