Skip to content

Commit adcfa6e

Browse files
committedJul 7, 2024·
remove some debug codes
1 parent 7fd9746 commit adcfa6e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed
 

‎examples/cli/main.cpp

+1-9
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void print_usage(int argc, const char* argv[]) {
170170
printf(" --stacked-id-embd-dir [DIR] path to PHOTOMAKER stacked id embeddings.\n");
171171
printf(" --input-id-images-dir [DIR] path to PHOTOMAKER input id images dir.\n");
172172
printf(" --normalize-input normalize PHOTOMAKER input id images\n");
173-
printf(" --upscale-model [ESRGAN_PATH] path to t5 model. Upscale images after generate, just RealESRGAN_x4plus_anime_6B supported by now.\n");
173+
printf(" --upscale-model [ESRGAN_PATH] path to esrgan model. Upscale images after generate, just RealESRGAN_x4plus_anime_6B supported by now.\n");
174174
printf(" --upscale-repeats Run the ESRGAN upscaler this many times (default 1)\n");
175175
printf(" --type [TYPE] weight type (f32, f16, q4_0, q4_1, q5_0, q5_1, q8_0)\n");
176176
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) {
628628

629629
int main(int argc, const char* argv[]) {
630630
SDParams params;
631-
// params.verbose = true;
632-
// sd_set_log_callback(sd_log_cb, (void*)&params);
633-
// T5Embedder::load_from_file_and_test(argv[1]);
634-
// return 1;
635-
// params.verbose = true;
636-
// sd_set_log_callback(sd_log_cb, (void*)&params);
637-
// MMDiTRunner::load_from_file_and_test(argv[1]);
638-
// return 1;
639631

640632
parse_args(argc, argv, params);
641633

0 commit comments

Comments
 (0)
Please sign in to comment.