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

Error when data tensorize #21

@fdszy

Description

@fdszy

Hello,

Thanks a lot for your code.

I find that during the data tenderizing process, I met the bug:

ValueError: 'a' cannot be empty unless no samples are taken

I assume that the code in data.py in line 246

return [r] + _draw_random(tot, n-1, exclude_indices | set([r]))

Cause the problem.

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