ErikJ
March 18, 2019, 2:44pm
1
I am getting strange KeyboardInterrupt errors when debugging a PyTorch project with PyCharm. Below is the kind of error I am getting:
This only happens when I debug, the code is running fine otherwise. I am using the following wersion of PyCharm:
Did anyone experience anything similar before? Any tip will help, thank you!
Nikronic
(Nikan Doosti)
March 18, 2019, 5:18pm
2
@ErikJ Can you send your debugger configuration? I mean the right top corner of PyCharm.
And something like this:
ErikJ
March 19, 2019, 10:11am
3
I got the solution from PyCharm forums. I needed to disable the " Attach to subprocess automatically while debugging " option(Source ).Thank you anyways