Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Process finished with exit code -2147483645" Pycharm

I ran Python 3.6.6 Deep Learning with Pycharm 2019.1.3. The process was set at maximum 651 episode and it stopped at episode 368 with this message "Process finished with exit code -2147483645". I searched through Google but there's not even a result. Anyone knows about the code? Please help!

like image 619
Thanh-Dat Le Avatar asked Feb 21 '26 17:02

Thanh-Dat Le


1 Answers

It's hard to guess what exactly the problem is. But as I experienced the same exit code while doing some file conversions which include plotting with matplotlib, so your error is likely to come from this. As Sergey K. mentioned in his comment, the issue is probably PyCharm-related.

There, others pointed out that it helps to switch the backend of matplotlib. This can be done by adding the following line right after importing matplotlib:

matplotlib.rcParams['backend'] = 'QT4Agg'

(see https://youtrack.jetbrains.com/issue/PY-29872#focus=streamItem-27-2927779-0-0 )

like image 171
Gnnr Avatar answered Feb 24 '26 07:02

Gnnr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!