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

Error in make_dataset #1

Open
NehaPandey58 opened this issue Mar 3, 2019 · 2 comments
Open

Error in make_dataset #1

NehaPandey58 opened this issue Mar 3, 2019 · 2 comments

Comments

@NehaPandey58
Copy link

NehaPandey58 commented Mar 3, 2019

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.

@chamorajg
Copy link

Can I work on this issue ?

@meyerjo
Copy link

meyerjo commented Jul 15, 2019

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

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

3 participants