I edited my post with example code.
the error I get is :
Process finished with exit code -1073740940 (0xC0000374)
I get something similar when I get an OOM in keras sometimes which leads me to believe it’s something to do with memory…