From 0f7b3b4461cd365ebee7070ef23f137c3db8e4e0 Mon Sep 17 00:00:00 2001 From: nihui Date: Fri, 25 Dec 2020 00:13:46 +0800 Subject: [PATCH] aborted is not error, use skipped instead --- tools/ncnnoptimize.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ncnnoptimize.cpp b/tools/ncnnoptimize.cpp index f135726aa..6223b7c9d 100644 --- a/tools/ncnnoptimize.cpp +++ b/tools/ncnnoptimize.cpp @@ -2761,7 +2761,7 @@ int NetOptimize::shape_inference() { if (custom_layer_index) { - fprintf(stderr, "model has %d custom layer, shape_inference aborted\n", custom_layer_index); + fprintf(stderr, "model has %d custom layer, shape_inference skipped\n", custom_layer_index); return -1; } @@ -2794,7 +2794,7 @@ int NetOptimize::shape_inference() if (dims == 0) { - fprintf(stderr, "Input layer %s without shape info, shape_inference aborted\n", layer->name.c_str()); + fprintf(stderr, "Input layer %s without shape info, shape_inference skipped\n", layer->name.c_str()); return -1; } @@ -2880,7 +2880,7 @@ int NetOptimize::estimate_memory_footprint() { if (custom_layer_index) { - fprintf(stderr, "model has %d custom layer, estimate_memory_footprint aborted\n", custom_layer_index); + fprintf(stderr, "model has %d custom layer, estimate_memory_footprint skipped\n", custom_layer_index); return -1; } @@ -2918,7 +2918,7 @@ int NetOptimize::estimate_memory_footprint() if (dims == 0) { - fprintf(stderr, "Input layer %s without shape info, estimate_memory_footprint aborted\n", layer->name.c_str()); + fprintf(stderr, "Input layer %s without shape info, estimate_memory_footprint skipped\n", layer->name.c_str()); return -1; }