Indian-Sign-Language-Recognition icon indicating copy to clipboard operation
Indian-Sign-Language-Recognition copied to clipboard

ValueError: a must be non-empty

Open mounisha01 opened this issue 4 years ago • 0 comments

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

mounisha01 avatar Sep 03 '19 18:09 mounisha01