From c3d6a1c37e303074162d3b8a5d6197b6c254215d Mon Sep 17 00:00:00 2001 From: 103yiran <1039105206@qq.com> Date: Thu, 5 Sep 2019 10:28:41 +0800 Subject: [PATCH] use the aliased name --- distiller/apputils/image_classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distiller/apputils/image_classifier.py b/distiller/apputils/image_classifier.py index a6a8591..f2f2a57 100755 --- a/distiller/apputils/image_classifier.py +++ b/distiller/apputils/image_classifier.py @@ -225,7 +225,7 @@ def init_classifier_compression_arg_parser(): help='collect activation statistics on phases: train, valid, and/or test' ' (WARNING: this slows down training)') parser.add_argument('--activation-histograms', '--act-hist', - type=distiller.utils.float_range_argparse_checker(exc_min=True), + type=float_range(exc_min=True), metavar='PORTION_OF_TEST_SET', help='Run the model in evaluation mode on the specified portion of the test dataset and ' 'generate activation histograms. NOTE: This slows down evaluation significantly') -- GitLab