Wav2Lip icon indicating copy to clipboard operation
Wav2Lip copied to clipboard

Outputs of evaluation(LSE-C, LSE-D) consist of four values for each, not one for each?

Open justin4ai opened this issue 1 year ago • 8 comments

Fellas, as you can see in the image below, it seems the evaluation code(sh calculate_scores_real_videos.sh PATH/TO/DATASET) outputs 8 values(4 x 2), which is different from what I expected - 2 values(one for LSE-C and another for LSE-D).

image

Can anyone let me know how I should interpret these numbers?

Thanks, Junyeong Ahn

justin4ai avatar Nov 03 '23 06:11 justin4ai

Hi, I am also working on the project, but cannot find an evaluation code. Do you implement the calculate_scores_real_videos.sh by yourself?

Crestina2001 avatar Nov 08 '23 04:11 Crestina2001

Hi, I am also working on the project, but cannot find an evaluation code. Do you implement the calculate_scores_real_videos.sh by yourself?

No I didn't. Please just follow the instruction line by line, then the file will be there. It is from SyncNet official repository.

justin4ai avatar Nov 08 '23 04:11 justin4ai

Hi, I am also working on the project, but cannot find an evaluation code. Do you implement the calculate_scores_real_videos.sh by yourself?

No I didn't. Please just follow the instruction line by line, then the file will be there. It is from SyncNet official repository.

I have found the evaluation script specified in the evaluation folder. Now looking into how to use it.

Crestina2001 avatar Nov 08 '23 07:11 Crestina2001

Hi, I am also working on the project, but cannot find an evaluation code. Do you implement the calculate_scores_real_videos.sh by yourself?

No I didn't. Please just follow the instruction line by line, then the file will be there. It is from SyncNet official repository.

I have found the evaluation script specified in the evaluation folder. Now looking into how to use it.

All good! And please also let me know if you get to know what the resulting 8 numbers mean now and then!

justin4ai avatar Nov 08 '23 07:11 justin4ai

Hi, I am also working on the project, but cannot find an evaluation code. Do you implement the calculate_scores_real_videos.sh by yourself?

No I didn't. Please just follow the instruction line by line, then the file will be there. It is from SyncNet official repository.

I have found the evaluation script specified in the evaluation folder. Now looking into how to use it.

All good! And please also let me know if you get to know what the resulting 8 numbers mean now and then!

Hi. You may change the 38th line in the calculate_scores_real_videos.py into:

for idx, fname in enumerate(flist): offset, conf, dist = s.evaluate(opt,videofile=fname) print(f"File: {fname}, Sync Error: {dist}, Confidence: {conf}, Offset: {offset}")

In this way, the result will be more understandable.

Crestina2001 avatar Nov 08 '23 08:11 Crestina2001

Hi, I am also working on the project, but cannot find an evaluation code. Do you implement the calculate_scores_real_videos.sh by yourself?

No I didn't. Please just follow the instruction line by line, then the file will be there. It is from SyncNet official repository.

I have found the evaluation script specified in the evaluation folder. Now looking into how to use it.

All good! And please also let me know if you get to know what the resulting 8 numbers mean now and then!

Hi. You may change the 38th line in the calculate_scores_real_videos.py into:

for idx, fname in enumerate(flist): offset, conf, dist = s.evaluate(opt,videofile=fname) print(f"File: {fname}, Sync Error: {dist}, Confidence: {conf}, Offset: {offset}")

In this way, the result will be more understandable.

Thanks mate! Still I don't get why I have four rows tho.

justin4ai avatar Nov 08 '23 16:11 justin4ai

@Crestina2001 Mate, do you have any idea about why there are four numbers for each score? I still don't get why it is that.

justin4ai avatar Nov 20 '23 00:11 justin4ai