Skip to content

can't convert complex to float #2

@chauvinSimon

Description

@chauvinSimon

Thank you for this great code!

Just one question regarding the line 16 of prioritized_memory.py:
Should not the absolute value of the TD-error be taken in return (error + self.e) ** self.a ?

This is what is done in the original paper.
In addition, if not using abs(), I get the error can't convert complex to float due to (error + self.e) being negative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions