Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: a must be non-empty #8

Open
mounisha01 opened this issue Sep 3, 2019 · 0 comments
Open

ValueError: a must be non-empty #8

mounisha01 opened this issue Sep 3, 2019 · 0 comments

Comments

@mounisha01
Copy link

runfile('C:/Users/anu/Downloads/Indian-Sign-Language-Recognition-master/Indian-Sign-Language-Recognition-master/Bag of Features/preprocessing_surf.py', wdir='C:/Users/anu/Downloads/Indian-Sign-Language-Recognition-master/Indian-Sign-Language-Recognition-master/Bag of Features')
Reloaded modules: surf_image_processing
Traceback (most recent call last):

File "", line 1, in
runfile('C:/Users/anu/Downloads/Indian-Sign-Language-Recognition-master/Indian-Sign-Language-Recognition-master/Bag of Features/preprocessing_surf.py', wdir='C:/Users/anu/Downloads/Indian-Sign-Language-Recognition-master/Indian-Sign-Language-Recognition-master/Bag of Features')

File "C:\Users\anu\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 668, in runfile
execfile(filename, namespace)

File "C:\Users\anu\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/anu/Downloads/Indian-Sign-Language-Recognition-master/Indian-Sign-Language-Recognition-master/Bag of Features/preprocessing_surf.py", line 201, in
training_idxs, test_idxs, val_idxs = train_test_val_split_idxs(len(img_descs), 0.4, 0.0)

File "C:/Users/anu/Downloads/Indian-Sign-Language-Recognition-master/Indian-Sign-Language-Recognition-master/Bag of Features/preprocessing_surf.py", line 67, in train_test_val_split_idxs
test_idxs = np.random.choice(row_range, size=no_test_rows, replace=False)

File "mtrand.pyx", line 1126, in mtrand.RandomState.choice

ValueError: a must be non-empty

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

No branches or pull requests

1 participant