Skip to content

IndexError: cannot do a non-empty take from an empty axes. #4

@FengXuas

Description

@FengXuas

I have a question. In the filters, such as ReverseWordRatioBucket.py, if self.scores is [], the program will wrong,
image

self.scores It will be assigned in Tu function. How can I fix the problem?
Thank you!

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