In file features.py, you wrote if(img_y==-1 or aud_y == -1): but it should be if(img_y[i]==-1 or aud_y[i] == -1): correct me if i am wrong.
In file features.py, you wrote
if(img_y==-1 or aud_y == -1):
but it should be
if(img_y[i]==-1 or aud_y[i] == -1):
correct me if i am wrong.