dopamine
dopamine copied to clipboard
will this framework work in windows 10?
Just skimmed through the Document section, couldn't find any information regarding installation in Windows 10, will this framework work for windows environment?
we have not tried it on windows, but i imagine it should just work with a virtualenv. see, e.g. https://programwithus.com/learn-to-code/Pip-and-virtualenv-on-Windows/
let us know if you run into any issues.
I guess the most problem is that you cannot install atari-py . Maybe you can try this https://github.com/j8lp/atari-py . it seems work for his win10
Yes, installing the dopamine package works fine on Windows with Python 3.6 (3.7 isn't supported by tensorflow
). For atari-py
, you can use pip install --no-index -f https://github.com/Kojoley/atari-py/releases atari_py
as explained on StackOverflow.
With this the installation works. But the tests failed. Not sure yet why.
Tests fail on windows. Any idea when we cam use dopamine on windows? Are there rainbow examples with gym (not atari)?
I'm guessing some tests are failing because they use *nix-style paths (/tmp/...). but the code itself should work -- the only thing you may need to look out for are the paths (to checkpoints, etc.).
Thanks, I'll check that.
Are there rainbow OpenAI gym examples, that are not atari, folks can give a shot?
I'm guessing some tests are failing because they use *nix-style paths (/tmp/...). but the code itself should work -- the only thing you may need to look out for are the paths (to checkpoints, etc.).
I found one issue related to reading log files in Windows. The following line would just not find the log files. utils.py, line: log_files = tf.gfile.Glob(glob)
See https://github.com/tensorflow/tensorflow/issues/19378
Solution is simply replace the tf.gfile glob with the standard glob:
- import glob
- replace above line with:
`Glob = os.path.join(path, '{}_[0-9]*'.format(FILE_PREFIX))
log_files = glob.glob(Glob) ` the upper-case Glob to prevent python from confusing withe object glob.