Open muety opened 7 years ago
Do you deal with this problem?
I also meet this problem.
have you solved it yet? i have the same question.
that's bug easy to fix. rand_idx
should be the list of shuffled train/test data, and since N
is choosing the ceil, something that will cause cur
to be larger than the length of rand_idx
, my fix is to add a break if cur is larger than the length of rand_idx
. You can check my fork to see the fix
the incorrect process in preprocessing may also cause this problem. you can check your source_data, target_data and target label.
I'm getting the following error. Does anybody else have this problem? Python 3.6 on Windows.