Closed kla7 closed 4 months ago
In train.py, export_kfold_results does not have kwargs in the param list anymore: https://github.com/clamsproject/app-swt-detection/blob/885e0decd43d2053bd628a7fa21dc18c3aaef792/modeling/train.py#L228 but the method is still being called with kwargs in its param list in k_fold_train: https://github.com/clamsproject/app-swt-detection/blob/885e0decd43d2053bd628a7fa21dc18c3aaef792/modeling/train.py#L216 so this caused a TypeError when running gridsearch since the first config param doesn't exist in export_kfold_results.
train.py
export_kfold_results
k_fold_train
Run train.py
No response
Bug Description
In
train.py
,export_kfold_results
does not have kwargs in the param list anymore: https://github.com/clamsproject/app-swt-detection/blob/885e0decd43d2053bd628a7fa21dc18c3aaef792/modeling/train.py#L228 but the method is still being called with kwargs in its param list ink_fold_train
: https://github.com/clamsproject/app-swt-detection/blob/885e0decd43d2053bd628a7fa21dc18c3aaef792/modeling/train.py#L216 so this caused a TypeError when running gridsearch since the first config param doesn't exist inexport_kfold_results
.Reproduction steps
Run
train.py
Expected behavior
No response
Log output
No response
Screenshots
No response
Additional context
No response