graph_distillation icon indicating copy to clipboard operation
graph_distillation copied to clipboard

Error in make_dataset

Open NehaPandey58 opened this issue 5 years ago • 2 comments

File "/home/neha/Downloads/graph_distillation/graph_distillation/data_pipeline/ntu_rgbd.py", line 82, in make_dataset keep = keep[np.linspace(0, len(keep)-1, subsample).astype(int)] IndexError: index 0 is out of bounds for axis 0 with size 0

I have run the script file for dataset. On running script file for training classification model for single modality, I am facing above error. I checked the code and found vid_names variable is empty.Kindly help.

NehaPandey58 avatar Mar 03 '19 13:03 NehaPandey58

Can I work on this issue ?

chamorajg avatar May 22 '19 11:05 chamorajg

Just add:

if len(vid_names) == 0: raise BaseException('len(vid_names) == 0. Is the dataset present at: {}?'.format( root ))

to the make_dataset function after line 52. You need to download the dataset in order to be able to run the code

meyerjo avatar Jul 15 '19 07:07 meyerjo