Skip to content

ValueError: a must be non-empty #8

@mounisha01

Description

@mounisha01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions