mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-02-26 17:39:07 +00:00
fix(video2x): allow Real-ESRGAN noise to be -1
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
parent
3e987b9693
commit
8803cf10a4
@ -394,7 +394,7 @@ int parse_args(
|
|||||||
);
|
);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (proc_cfg.noise_level < 0 || proc_cfg.noise_level > 1) {
|
if (proc_cfg.noise_level < -1 || proc_cfg.noise_level > 1) {
|
||||||
video2x::logger()->critical("Noise level must be 0 or 1 for Real-ESRGAN.");
|
video2x::logger()->critical("Noise level must be 0 or 1 for Real-ESRGAN.");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user