From f7ecd312c5a56c48eeafd63fb168f106ad973e66 Mon Sep 17 00:00:00 2001 From: liaogang Date: Wed, 1 Mar 2017 12:49:35 +0800 Subject: [PATCH] update event handler --- demo/image_classification/train_v2_vgg.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/demo/image_classification/train_v2_vgg.py b/demo/image_classification/train_v2_vgg.py index 33b53b27daf..25bfd798ebf 100644 --- a/demo/image_classification/train_v2_vgg.py +++ b/demo/image_classification/train_v2_vgg.py @@ -6,8 +6,6 @@ def event_handler(event): if event.batch_id % 100 == 0: print "Pass %d, Batch %d, Cost %f" % (event.pass_id, event.batch_id, event.cost) - else: - pass def vgg_bn_drop(input): -- GitLab