Skip to content

IN PPO, clipping the value loss with max is OK? #91

@CosmosShadow

Description

@CosmosShadow

in file 'pposgd_simple.py' line 117,

vf_loss = .5 * U.mean(tf.maximum(vfloss1, vfloss2)) # we do the same clipping-based trust region for the value function

why not tf.minimum ?

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