Model_Log icon indicating copy to clipboard operation
Model_Log copied to clipboard

add_best_result方法内部再次调用了自己,而没有适当的退出条件,导致了无限递归

Open wuer7754 opened this issue 1 year ago • 0 comments

你好, 大佬, 你的工作非常出色, 有个小小的瑕疵:在modellog.py的第89行,add_best_result方法内部再次调用了自己,而没有适当的退出条件,导致了无限递归。 这是代码设计中的一个明显错误。当递归深度超过Python的默认限制(通常是1000次递归调用)时,就会抛出RecursionError。

wuer7754 avatar Sep 28 '23 03:09 wuer7754