Skip to content

I can't find "\\logclass_bgl_2310136305\\best_params.json" where did it come from? #3

@refuserMa

Description

@refuserMa

When I try to run the code without --train,it comes to an error:
python -m LogClass.logclass --force --kfold 3 --logs_type "bgl" --logs "LogClass/output/preprocessed_logs/bgl.txt" --models_dir "F:\Users\Desktop\LogClass\LogClass\output\logclass_bgl_4117346017\models" --featu
res_dir "F:\Users\Desktop\LogClass\LogClass\output\logclass_bgl_4117346017\features" --report macro

Experiment ID: 2310136305
F:\Users\Desktop\LogClass\LogClass\output\logclass_bgl_2310136305
Traceback (most recent call last):
File "D:\ANACONDA\envs\study\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\ANACONDA\envs\study\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "F:\Users\Desktop\LogClass\LogClass\logclass.py", line 201, in
main()
File "F:\Users\Desktop\LogClass\LogClass\logclass.py", line 185, in main
load_params(params)
File "F:\Users\Desktop\LogClass\LogClass\utils.py", line 28, in load_params
with open(params_file, "r") as fp:
FileNotFoundError: [Errno 2] No such file or directory: 'F:\Users\Desktop\LogClass\LogClass\output\logclass_bgl_2310136305\best_params.json'


I have had several best_pararms.json of different outputs,but every time I run this code above,it can give me best_pararms.json of different id which can't found.
Is there anything wrong with the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions