mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
fix SampleProcessor
This commit is contained in:
parent
4581d48ff0
commit
c8e6f23a31
1 changed files with 4 additions and 3 deletions
|
@ -89,6 +89,7 @@ class SampleProcessor(object):
|
||||||
resolution = opts.get('resolution', None)
|
resolution = opts.get('resolution', None)
|
||||||
if resolution is None:
|
if resolution is None:
|
||||||
continue
|
continue
|
||||||
|
if resolution not in params_per_resolution:
|
||||||
params_per_resolution[resolution] = imagelib.gen_warp_params(resolution,
|
params_per_resolution[resolution] = imagelib.gen_warp_params(resolution,
|
||||||
sample_process_options.random_flip,
|
sample_process_options.random_flip,
|
||||||
rotation_range=sample_process_options.rotation_range,
|
rotation_range=sample_process_options.rotation_range,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue