Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_hyper训练未完成 #2042

Open
flyking1994 opened this issue Apr 30, 2024 · 1 comment
Open

run_hyper训练未完成 #2042

flyking1994 opened this issue Apr 30, 2024 · 1 comment
Assignees

Comments

@flyking1994
Copy link

Snipaste_2024-04-30_08-08-12 似乎当某一次训练触发earlystop时,整个训练就结束了
@zhengbw0324 zhengbw0324 self-assigned this May 6, 2024
@zhengbw0324
Copy link
Collaborator

@flyking1994
您好!我们在进行超参数搜索时设置了early stop,即10组超参数未出现更好结果的话会提前停止,具体您可以参考下列代码。

RecBole/run_hyper.py

Lines 29 to 37 in 2b6e209

hp = HyperTuning(
objective_function,
algo="exhaustive",
early_stop=10,
max_evals=100,
params_file=args.params_file,
fixed_config_file_list=config_file_list,
display_file=args.display_file,
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants