MatPoliquin / stable-retro-scripts

Train and pit two models against each other on PvP retro games such as NHL94, Mortal Kombat or WWF Wrestlemania: The Arcade Game
https://www.videogames.ai
MIT License
28 stars 11 forks source link

Fixed errors when running model_vs_game.py #3

Open RubySteegmansPXL opened 10 months ago

RubySteegmansPXL commented 10 months ago

There were a couple errors when running model_vs_game.py, I'm guessing some NHL94 stuff with trying to access non-existing methods as well as model_vs_game.py setting argument model_1 while this is load_p1_model when running different scripts.

Fixed this by just adding some try-except blocks

MatPoliquin commented 10 months ago

Yeah changes I made for NHL94 broke model_vs_game for other games so I already fixed it by updating the base ai_sys and display code: fix

In any case thanks for taking the time for that fix