clamsproject / app-swt-detection

CLAMS app for detecting scenes with text from video input
Apache License 2.0
1 stars 0 forks source link

kwargs left in function call that no longer exists in the function signature #110

Closed kla7 closed 4 months ago

kla7 commented 4 months ago

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 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.

Reproduction steps

Run train.py

Expected behavior

No response

Log output

No response

Screenshots

No response

Additional context

No response