RecursionError: maximum recursion depth exceeded

Hi!

The script in “template->enhancement” folder runs with no problem with the command line: !python3 train.py train.yaml --device ‘cpu’. But when I tried to run the train.py 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 dataloader.py circulated until the maximum recursion limit was reached. Could anyone help explain where the problem is? I wanted to run the train.py in Spyder to use the IDE breakpoint.

Thanks,
Agudemu

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