-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
109 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,7 @@ __pycache__ | |
*.gz | ||
*.json | ||
|
||
results/ | ||
results* | ||
temp/ | ||
sample* | ||
|
||
app.sh | ||
data/lrs3_v0.4_txt/lrs3_v0.4/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export LRS_ORIGINAL_URL=https://netspresso-huggingface-demo-checkpoint.s3.us-east-2.amazonaws.com/compressed-wav2lip/lrs3-wav2lip.pth && \ | ||
export LRS_COMPRESSED_URL=https://netspresso-huggingface-demo-checkpoint.s3.us-east-2.amazonaws.com/compressed-wav2lip/lrs3-nota-wav2lip.pth && \ | ||
export LRS_INFERENCE_SAMPLE=https://netspresso-huggingface-demo-checkpoint.s3.us-east-2.amazonaws.com/data/compressed-wav2lip-inference/sample.tar.gz && \ | ||
python app.py |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
version: "3.9" | ||
|
||
# docker compose run --service-ports --name compressed-wav2lip-hksong compressed-wav2lip bash | ||
|
||
services: | ||
compressed-wav2lip: | ||
image: compressed-wav2lip:dev | ||
image: nota-compressed-wav2lip:dev | ||
build: ./ | ||
container_name: efficient-wav2lip-hksong | ||
container_name: nota-compressed-wav2lip | ||
ipc: host | ||
ports: | ||
- "7860:7860" | ||
volumes: | ||
- /data2/hksong/compressed-wav2lip:/workspace | ||
- /data2/hksong/DATA:/DATA | ||
- /data2/hksong/LOG:/LOG | ||
- ./:/workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# example for audio source | ||
python download.py\ | ||
-i 00003.txt | ||
-i data/lrs3_v0.4_txt/lrs3_v0.4/test/sxnlvwprfSc/00007.txt | ||
|
||
# example for video source | ||
python download.py\ | ||
-i data/lrs3_v0.4_txt/lrs3_v0.4/test/Li4S1yyrsTI/00010.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
# Original Wav2Lip | ||
python inference.py\ | ||
-a "sample/1673_orig.wav"\ | ||
-v "sample_video_lrs3/EV3OmxrowWE-00003"\ | ||
-a "sample_video_lrs3/sxnlvwprf_c-00007.wav"\ | ||
-v "sample_video_lrs3/Li4-1yyrsTI-00010"\ | ||
-m "wav2lip"\ | ||
-o "result_original"\ | ||
--device cpu | ||
|
||
# Nota's Wav2Lip (28× Compressed) | ||
python inference.py\ | ||
-a "sample_video_lrs3/sxnlvwprf_c-00007.wav"\ | ||
-v "sample_video_lrs3/Li4-1yyrsTI-00010"\ | ||
-m "nota_wav2lip"\ | ||
-o "result"\ | ||
--device cpu | ||
-o "result_nota"\ | ||
--device cpu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# example for audio source | ||
python preprocess.py\ | ||
-i sample_video_lrs3/EV3OmxrowWE-00003.mp4 | ||
-i sample_video_lrs3/sxnlvwprf_c-00007.mp4 | ||
|
||
# example for video source | ||
python preprocess.py\ | ||
-i sample_video_lrs3/Li4-1yyrsTI-00010.mp4 |