Fatal Error terminate called after throwing an instance of 'std::runtime_error' what(): bad data type

I have tried A3C with AVX2 and I have gotten the error mentioned in my original post I haven’t managed to get a dump out of it yet though.

Here is a link to a version that produces the error using Async: MineSweeperLearn - Google Drive

Launch the main method in the class Learn.java to run it

I believe A3C will also throw it if you launch it I have been using cuda but I changed it back to avx2 for this upload. To use A3C uncomment SnakeControl.A3CcartPole(); in Learn and in SnakeBox change getData() to return “a” which is the proper array for LSTM.

I hope this helps let me know if you figure out a way to prevent the error. I would greatly appreciate it!

Also the program doesn’t always throw the error but if it does it usually happens in the first 1-20 minutes so if it takes longer than that you may want to relaunch it