Skip to content

Dataloader.py: list index out of range when at_kyoku is empty #103

@81100118

Description

@81100118

assert len(kyoku_rewards) >= at_kyoku[-1] + 1 # usually they are equal, unless there is no action in the last kyoku

When there is no action in a hanchan, at_kyoku will be empty, which will result in an IndexError: list index out of range.

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