You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: The function received no value for the required argument: target_colname
Usage: prepare_csv_for_eval.py CSV OUT_DIR TARGET_COLNAME TO_REGRESSION
so output_dir should be out_dir and to_regression is missing, but mainly target_colname is missing. However if I provide it it gets ignored in
To solve this, target_colname should be optional and only if not given, it should be inferred from df.columns[-1]. Also to_regression should have a default to_regression: bool = False. What do you think?
The text was updated successfully, but these errors were encountered:
The readme states
rtfm/README.md
Line 67 in 9884a6b
which gives
so
output_dir
should beout_dir
andto_regression
is missing, but mainlytarget_colname
is missing. However if I provide it it gets ignored inrtfm/scripts/utils/prepare_csv_for_eval.py
Line 7 in 9884a6b
And then overwritten and inferred here
rtfm/rtfm/data_sources/utils.py
Line 46 in 9884a6b
To solve this,
target_colname
should be optional and only if not given, it should be inferred fromdf.columns[-1]
. Alsoto_regression
should have a defaultto_regression: bool = False
. What do you think?The text was updated successfully, but these errors were encountered: