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

Test set and Validation set #95

Open Lelo123 opened 6 years ago

Lelo123 commented 6 years ago

Good night. I'm a little bit new to Deep Learning but isn't it necessary to diferenciarem between Validation and test set?

aurotripathy commented 6 years ago

If you are asking about the train and validation sets, you may have to follow this code.

 50    if load_to_memory:
 51        # Get data.
 52        X, y = data.get_all_sequences_in_memory('train', data_type)
 53        X_test, y_test = data.get_all_sequences_in_memory('test', data_type)
 54    else:
 55        # Get generators.
 56        generator = data.frame_generator(batch_size, 'train', data_type)
 57        val_generator = data.frame_generator(batch_size, 'test', data_type)
 58

If you are asking about inference-time testing with test set, that has not been provided.