diff --git a/.gitignore b/.gitignore index 7c03f1d..f47e938 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ __pycache__ *.wav filelists/*.txt evaluation/test_filelists/lr*.txt -*.pyc \ No newline at end of file +*.pyc +*.mkv \ No newline at end of file diff --git a/inference.py b/inference.py index 833ddb6..541cea5 100644 --- a/inference.py +++ b/inference.py @@ -34,7 +34,7 @@ parser.add_argument('--wav2lip_batch_size', type=int, help='Batch size for Wav2L parser.add_argument('--resize_factor', default=1, type=int, help='Reduce the resolution by this factor. Sometimes, best results are obtained at 480p or 720p') -parser.add_argument('--crop', nargs='+', type=int, default=[0, 0, -1, -1], +parser.add_argument('--crop', nargs='+', type=int, default=[0, -1, 0, -1], help='Crop video to a smaller region (top, bottom, left, right). Applied after resize_factor arg. ' 'Useful if multiple face present. -1 implies the value will be auto-inferred based on height, width')