As described earlier, the UCF101Reader.java class is used to extract the features and prepare the training and test sets. First, we set and show Java the MP4 file's path, as shown here:
String dataDirectory = "VideoData/UCF101_MP4/";// Paths to video dataset
It is to be noted that training the network with the video clips took about 45 hours for me on the EC2 p2.8xlarge machine. However, I did not have that patience for a second time; therefore, I performed the training by utilizing only these video categories having 1,112 video clips:
Then we define the ...