RecursionError: maximum recursion depth exceeded


The script in “template->enhancement” folder runs with no problem with the command line: !python3 train.yaml --device ‘cpu’. But when I tried to run the file by manually passing those command line arguments as in the screenshot below, I got the recursion error. The error occurred at line 256. Looks like __new_init in circulated until the maximum recursion limit was reached. Could anyone help explain where the problem is? I wanted to run the in Spyder to use the IDE breakpoint.


Normally this issue happens with wrong links or something like that…