atelili / 2BiVQA

2BiVQA is a no-reference deep learning based video quality assessment metric.
MIT License
31 stars 6 forks source link

extract_feaures #5

Closed Nirvana-feng closed 1 year ago

Nirvana-feng commented 1 year ago

Hello, I want to ask if you want to extract and save video frames locally in advance. I tried to extract and save the video frame to the local, but the following error occurred when running imageIt should be that I didn't read the image, so first ask me what I should do to extract features. This is the video frame I extracted imageThe underlined part is the name of the video

atelili commented 1 year ago

Hello, can you send me arguments used with features_extraction.py ?

Nirvana-feng commented 1 year ago

image The underlined part is the file path of the video

atelili commented 1 year ago

The problem in the path of videos that's why the script can't read them, can you please send me your csv file konvid.csv ?

Nirvana-feng commented 1 year ago

imageThis is a csv file

atelili commented 1 year ago

you have to add the extension for all videos (.mp4) in the csv file.

Nirvana-feng commented 1 year ago

Okay, thank you I'll try

atelili commented 1 year ago

You're welcome, please close this issue if that works.

Nirvana-feng commented 1 year ago

It's still not possible. Is it my file address

atelili commented 1 year ago

The problem in your csv file, or in your folder path, the script cannot read the path of your videos, in fact, it takes the path, in your case: F:\data\koNViD_1k and add '/' + the name of the video, so it has to be like this: F:\data\koNViD_1k\16515618.mp4.

Nirvana-feng commented 1 year ago

When I set flag=0, the program starts running. When flag=1, the same error as before will be reported. Is it because the file path should be changed to the video frame saving path when flag=1 image

atelili commented 1 year ago

Ok, if you use it on videos, the flag should remain 0. This is mentioned in the help when you type extract_features.py -h . I will close this issue, don't hesitate to contact me if you have any problems. Kind regards,

Nirvana-feng commented 1 year ago

Okay Thank you