Quantcast
Channel: Data Science, Analytics and Big Data discussions - Topics tagged data_science
Viewing all articles
Browse latest Browse all 787

Deep Learning Tutorial to Build your own Video Classification Model

$
0
0

Good day! I am trying to implement this tutorial (https://www.analyticsvidhya.com/blog/2019/09/step-by-step-deep-learning-tutorial-video-classification-python/) in our Engagement Recognition Thesis. Although I get an error,

IndexError Traceback (most recent call last)
in
3 count = 0
4 videoFile = train[‘video_name’][i]
----> 5 cap = cv2.VideoCapture(‘UCF/’+videoFile.split(’ ‘)[0].split(’/’)[1]) # capturing the video from the given path
6 frameRate = cap.get(5) #frame rate
7 x=1

IndexError: list index out of range

Is this because my filename does not have “/”?. The video’s name in my dataset are just numbers (12345678.avi). What can you suggest as a work-around? Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 787

Trending Articles