OpenCV error with actionrecognition


When I run this code in actionrecognitionnet: !cd tao_toolkit_recipes/tao_action_recognition/data_generation/ && bash ./ $HOST_DATA_DIR/raw_data $HOST_DATA_DIR/processed_data

I get this error:
Preprocess convert_dataset
[ERROR:0@0.004] global /io/opencv/modules/videoio/src/cap.cpp (164) open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.6.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can’t find starting number (in the name of file): hello/data/raw_data/convert_dataset/* in function ‘icvExtractPattern’

f cnt: 0.0

I am not sure what I need to do. I followed the jupyter notebook and downloaded the appropriate files.


@kardar did you find an ans to this ?

Check the path to your video file that you are trying to test the file processing the video is not finding the file. I had the same issue and it resolved once I had corrected the path to the file.