Open 1337micro opened 1 year ago
This project was developed 4 years ago using an older version of Tensorflow; you will have to fix several of these errors. Maybe, using the provided Docker image you may have better results.
Feel free to open a PR with the fixes that you develop.
Hi there, interesting project. Thanks for the effort you put into this.
I'm not sure if you're still interested in maintaining it, but I am struggling quite a bit to use it.
I have followed your instructions in the README using the pip install (not docker). When I try to run the train command:
python3 train.py --network dqn --saved_model saved_model_dir
I run into numerous errors:
--saved_model
I believe you meant--model_dir
When I try to run it on the latest version of tensorflow, I get an error "[AttributeError: module 'tensorflow' has no attribute 'app'] which I was able to solve in my fork by changing the tensorflow import to:
import tensorflow.compat.v1 as tf
https://github.com/1337micro/deep-briscolaI then was able to run the command to start the training:
python3 train.py --network dqn --model_dir saved_model_dir
The training worked, but there are full of errors and the saving part the end failed. Here's the output:
Let me know if you're interested in helping me out. I can try to find a way to get tensorflow v1 in the meantime.