From adcfa6e03ef5d731ae96bc47107fd306958a2479 Mon Sep 17 00:00:00 2001 From: leejet Date: Sun, 7 Jul 2024 17:59:08 +0800 Subject: [PATCH] remove some debug codes --- examples/cli/main.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/cli/main.cpp b/examples/cli/main.cpp index 29fea7b..6675095 100644 --- a/examples/cli/main.cpp +++ b/examples/cli/main.cpp @@ -170,7 +170,7 @@ void print_usage(int argc, const char* argv[]) { printf(" --stacked-id-embd-dir [DIR] path to PHOTOMAKER stacked id embeddings.\n"); printf(" --input-id-images-dir [DIR] path to PHOTOMAKER input id images dir.\n"); printf(" --normalize-input normalize PHOTOMAKER input id images\n"); - printf(" --upscale-model [ESRGAN_PATH] path to t5 model. Upscale images after generate, just RealESRGAN_x4plus_anime_6B supported by now.\n"); + printf(" --upscale-model [ESRGAN_PATH] path to esrgan model. Upscale images after generate, just RealESRGAN_x4plus_anime_6B supported by now.\n"); printf(" --upscale-repeats Run the ESRGAN upscaler this many times (default 1)\n"); printf(" --type [TYPE] weight type (f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0)\n"); printf(" If not specified, the default is the type of the weight file.\n"); @@ -628,14 +628,6 @@ void sd_log_cb(enum sd_log_level_t level, const char* log, void* data) { int main(int argc, const char* argv[]) { SDParams params; - // params.verbose = true; - // sd_set_log_callback(sd_log_cb, (void*)¶ms); - // T5Embedder::load_from_file_and_test(argv[1]); - // return 1; - // params.verbose = true; - // sd_set_log_callback(sd_log_cb, (void*)¶ms); - // MMDiTRunner::load_from_file_and_test(argv[1]); - // return 1; parse_args(argc, argv, params);