Skip to content
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

Incompatible Shapes #2

Open
batuhan-ince opened this issue Jun 12, 2019 · 0 comments
Open

Incompatible Shapes #2

batuhan-ince opened this issue Jun 12, 2019 · 0 comments

Comments

@batuhan-ince
Copy link

Hi Joshua
I used your base pg algorithm for 'actor' in my a2c implementation and I took this error. For doublecheck I ran your algorithm and I took the same error. Also I searched the error but I could not find any satisfying solution. Is there any chance that you know the fix for this problem.

Error: InvalidArgumentError (see above for traceback): Incompatible shapes: [50,1] vs. [5015,1]
[[node gradients/sub_grad/BroadcastGradientArgs (defined at /home/Projects/cartpole/A2C.py:54) , , node gradients_1/sub_grad/BroadcastGradientArgs (defined at /home/Projects/cartpole/A2C.py:56) ]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant