LoL-RL icon indicating copy to clipboard operation
LoL-RL copied to clipboard

No module named 'utils.data_utils'

Open popoala opened this issue 11 months ago • 1 comments

While running:

python lolrl_qlora_llama_hh.py --sampling_strategy good_priority

logs with error msg like below:

[2024-03-19 18:59:01,658] [INFO] [real_accelerator.py:133:get_accelerator] Setting ds_accelerator to cuda (auto detect) Traceback (most recent call last): File "path/to/LoL-RL/lolrl_qlora_llama_hh.py", line 28, in from utils.rl_utils import ValueHeadMLP, ValueHeadAttention, numba_choice File "path/to/LoL-RL/utils/rl_utils.py", line 917, in from utils.data_utils import get_all_thresholds_for_metric ModuleNotFoundError: No module named 'utils.data_utils'

The project doesn't seem to have a function named get_all_thresholds_for_metric. Do you know how to fix it?

popoala avatar Mar 19 '24 11:03 popoala