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

Error when data tensorize #21

Open
fdszy opened this issue Feb 15, 2023 · 0 comments
Open

Error when data tensorize #21

fdszy opened this issue Feb 15, 2023 · 0 comments

Comments

@fdszy
Copy link

fdszy commented Feb 15, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant