Crop bug fix
This commit is contained in:
parent
8c6d1d3947
commit
9a28e5e125
2 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -9,4 +9,5 @@ __pycache__
|
|||
*.wav
|
||||
filelists/*.txt
|
||||
evaluation/test_filelists/lr*.txt
|
||||
*.pyc
|
||||
*.pyc
|
||||
*.mkv
|
||||
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue