We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f3e1f commit 8fc694eCopy full SHA for 8fc694e
src/visp/arch/esrgan.cpp
@@ -86,7 +86,7 @@ esrgan_params esrgan_detect_params(model_file const& f) {
86
p.scale = f.get_int("esrgan.scale");
87
p.n_blocks = f.get_int("esrgan.block_count");
88
89
- if (p.scale < 2 || p.scale > 4) {
+ if (p.scale < 1 || p.scale > 8) {
90
throw except("ESRGAN: unsupported scale: {}", p.scale);
91
}
92
if (p.n_blocks < 1 || p.n_blocks > 23) {
@@ -100,4 +100,4 @@ int esrgan_estimate_graph_size(esrgan_params const& p) {
100
return 512 + p.n_blocks * 192;
101
102
103
-} // namespace visp
+} // namespace visp
0 commit comments