This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 08c15fc  Fix a mistake in example/ssd/demo.py (#8022)
08c15fc is described below

commit 08c15fc4bfd75ff35e208e05525b7cbc38b5338b
Author: Kenta Kubo <[email protected]>
AuthorDate: Wed Sep 27 05:42:24 2017 +0900

    Fix a mistake in example/ssd/demo.py (#8022)
---
 example/ssd/demo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/ssd/demo.py b/example/ssd/demo.py
index db826c3..965f2ec 100644
--- a/example/ssd/demo.py
+++ b/example/ssd/demo.py
@@ -143,7 +143,7 @@ if __name__ == '__main__':
     class_names = parse_class_names(args.class_names)
     data_shape = parse_data_shape(args.data_shape)
     if args.prefix.endswith('_'):
-        prefix = args.prefix + args.network + '_' + str(args.data_shape[0])
+        prefix = args.prefix + args.network + '_' + str(data_shape[0])
     else:
         prefix = args.prefix
     detector = get_detector(network, prefix, args.epoch,

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to