keras-video-classifier icon indicating copy to clipboard operation
keras-video-classifier copied to clipboard

Error while training

Open siryne opened this issue 6 years ago • 0 comments

I've trained 3 classes : "bye" , "hello" and "what's up" and every classe contains 50 videos. In the end of training after extracting frames I get this : max frames: 3 expected frames: 2 {'bye': 0, 'hello': 1, "what's up": 2} and then I got this error :

Traceback (most recent call last): File "vgg16_bidirectional_lstm_train.py", line 38, in main() File "vgg16_bidirectional_lstm_train.py", line 31, in main history = classifier.fit(data_dir_path=input_dir_path, model_dir_path=output_dir_path, data_set_name=data_set_name) File "../keras_video_classifier/library/recurrent_networks.py", line 194, in fit np.save(config_file_path, config) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/lib/npyio.py", line 524, in save fid = open(file, "wb") FileNotFoundError: [Errno 2] No such file or directory: 'models/dataset/vgg16-bidirectional-lstm-config.npy'

I don't understand how do I get the vgg16-bidirectional-lstm-config.npy?

siryne avatar May 14 '19 21:05 siryne