Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

NaNs in VAC and VPG with Gaussian Policies #4

Description

@samuelfneumann

Both VAC and VPG get NaNs in the weights during training with Gaussian policies. I've done some digging, and it looks like this is caused by the standard deviation approaching 0 or infinity, so we should make sure that the standard deviation gets clamped to be between some sensible values.

Of course, there may be other issues besides this which are causing NaNs in the weights during training. Notably, this actually only happens on some runs. A lot of runs (especially with VPG) actually learn quite well, so this makes me think that the issue is caused by some numerical instabilities.

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