New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples/openai_gym_async.py broken #253
Comments
It looks like global_variables and local_variables do not match in the following section [1]. The error above comes from local_init_op when a local variable with one dtype is assigned to a global variable with another dtype. |
Thanks for raising, we will look into it this week, we just moved a lot of code from python to tensorflow so a few hickups. 0.3.2 should be stable for a3c (hopefully) |
Could you post a full stacktrace? |
Sure, the script opens up a server with several workers. The server seems fine, its the workers that get the following stacktrace: |
Thanks, will have a look soon |
This is the same one as I mentioned in gitter. |
Variables were not being sorted in optimizer, thus causing indeterministic assignments. Now running for me with latest commit: [2017-12-08 20:41:47,332] Making new env: CartPole-v0 |
When I run the example as stated in the file's documentation:
python examples/openai_gym_async.py Pong-ram-v0 -a examples/configs/vpg.json -n examples/configs/mlp2_network.json -e 50000 -m 2000 -W 3
the workers fail with:
TypeError: Input 'value' of 'Assign' Op has type int32 that does not match type float32 of argument 'ref'.
This is at current HEAD with tensorflow version 1.4.0.
The text was updated successfully, but these errors were encountered: