Skip to content

Incompatible Shapes #2

@batuhan-ince

Description

@batuhan-ince

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) ]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions