harvitronix / five-video-classification-methods

Code that accompanies my blog post outlining five video classification methods in Keras and TensorFlow
https://medium.com/@harvitronix/five-video-classification-methods-implemented-in-keras-and-tensorflow-99cad29cc0b5
MIT License
1.18k stars 478 forks source link

Error while using train.py #12

Closed kousik97 closed 7 years ago

kousik97 commented 7 years ago

File "train.py", line 114, in main() File "train.py", line 111, in main load_to_memory=load_to_memory) File "train.py", line 53, in train X, y = data.get_all_sequences_in_memory(batch_size, 'train', data_type, concat) File "/home2/koushik/five-video-classification-methods-master/data.py", line 117, in get_all_sequences_in_memory raise TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

SiddhantKapil commented 7 years ago

This issue is not solved.

SiddhantKapil commented 7 years ago

You have to assign a class limit in train.py also, if you had assigned it in extract features.py(Should be same)