From fda2a15d1437d8a66cdf978e4bedb17652a6276c Mon Sep 17 00:00:00 2001 From: Prajwal Date: Mon, 26 Oct 2020 15:17:30 +0530 Subject: [PATCH] Bugfix Credit: https://github.com/Rudrabha/Wav2Lip/issues/109#issuecomment-716413308 --- evaluation/scores_LSE/calculate_scores_real_videos.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/evaluation/scores_LSE/calculate_scores_real_videos.sh b/evaluation/scores_LSE/calculate_scores_real_videos.sh index bd02c95..4a45cd5 100644 --- a/evaluation/scores_LSE/calculate_scores_real_videos.sh +++ b/evaluation/scores_LSE/calculate_scores_real_videos.sh @@ -1,7 +1,8 @@ rm all_scores.txt yourfilenames=`ls $1` + for eachfile in $yourfilenames do - python run_pipeline.py --videofile $eachfile --reference wav2lip --data_dir tmp_dir - python calculate_scores_real_videos.py --videofile $eachfile --reference wav2lip --data_dir /ssd_scratch/cvit/prajwalkr_rudra/tmp_dir >> all_scores.txt + python run_pipeline.py --videofile $1/$eachfile --reference wav2lip --data_dir tmp_dir + python calculate_scores_real_videos.py --videofile $1/$eachfile --reference wav2lip --data_dir tmp_dir >> all_scores.txt done