Closed SCoulY closed 6 years ago
Once you have a set of training models, copy directories under ~run/ to ~run_archive/connect4/run001/, then you should be able to play.
I added a little script in my fork (play_game.py) for a better interface of human playing against AI. See: https://github.com/ezrahn/DeepReinforcementLearning
There are bugs in the initial game model, including
Will try to fix these and contribute back.
I just added the validation for human player moves, and a better interface for human to interact with the game. Once the model is trained, copy directories under ~run/ to ~run_archive/connect4/run001/.
To play the game, run: python play_game.py See: https://github.com/ezrahn/DeepReinforcementLearning
Sorry for the late reply. I do fix the bug through your instruction, but i found my MacBook Pro can not afford this GPU-hungry program. Thanks anyway.
Hello, i have the same problem as SCoulY with
OSError: Unable to open file (unable to open file: name = './run_archive/connect4/run0001/models/version0001.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
What exactly is the version0001.h5 file?
Thanks for help
Hey, ezrahn I met exact the same problem
OSError: Unable to open file (unable to open file: name = './run_archive/connect4/run0001/models/version0001.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
I've first run the training, but terminate the run before any model file created, now I'd like to restart training again, then above fail popup, any way to solve this?
thanks
My problem is I model.save_model("model"). It kind shows it's in .h5 format with actually without the extension. When I just write loaded_model = load_model('model'), everything works.
I can not play matches between versions:
OSError Traceback (most recent call last)