Skip to content

DQN Cartpole Example Does Not Learn #1755

Closed
@ss32

Description

@ss32

Opening because #683 is closed and the issue persists. When running the vanilla code from the Q learning example, even for 10k episodes, the agent does not learn. The reward is constant at 1.0, and losses increase over time.

$ python3 -c 'import torch;print(torch.__version__)'
1.10.0a0

image
image

cc @vmoens @nairbv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions