nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/main.cpp b/main.cpp
2index 9d44c3d..40d2b27 100644
3--- a/main.cpp
4+++ b/main.cpp
5@@ -207,7 +207,7 @@ static void print_usage()
6 fprintf(stderr, " -w width resize output to a width (default=W:default), use '-r help' for more details\n");
7 fprintf(stderr, " -c compress compression of the output image, default 0 and varies to 100\n");
8 fprintf(stderr, " -t tile-size tile size (>=32/0=auto, default=0) can be 0,0,0 for multi-gpu\n");
9- fprintf(stderr, " -m model-path folder path to the pre-trained models. default=models\n");
10+ fprintf(stderr, " -m model-path folder path to the pre-trained models. default=REPLACE_MODELS\n");
11 fprintf(stderr, " -n model-name model name (default=realesrgan-x4plus, can be realesr-animevideov3 | realesrgan-x4plus-anime | realesrnet-x4plus or any other model)\n");
12 fprintf(stderr, " -g gpu-id gpu device to use (default=auto) can be 0,1,2 for multi-gpu\n");
13 fprintf(stderr, " -j load:proc:save thread count for load/proc/save (default=1:2:2) can be 1:2,2,2:2 for multi-gpu\n");
14@@ -688,7 +688,7 @@ int main(int argc, char **argv)
15 bool resizeProvided = false;
16 bool hasCustomWidth = false;
17 std::vector<int> tilesize;
18- path_t model = PATHSTR("models");
19+ path_t model = PATHSTR("REPLACE_MODELS");
20 path_t modelname = PATHSTR("realesrgan-x4plus");
21 std::vector<int> gpuid;
22 int jobs_load = 1;