mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-mxnet] szha commented on a change in pull request #15106: NER example: fix metrics computation
Date Sat, 01 Jun 2019 21:20:30 GMT
szha commented on a change in pull request #15106: NER example: fix metrics computation
URL: https://github.com/apache/incubator-mxnet/pull/15106#discussion_r289618664
 
 

 ##########
 File path: example/named_entity_recognition/src/ner.py
 ##########
 @@ -225,6 +231,8 @@ def train(train_iter, val_iter):
     train_iter, val_iter, word_to_index, char_to_index, entity_to_index = build_iters(args.data_dir,
args.max_records,
                                                                      args.train_fraction,
args.batch_size, args.buckets)
 
+    logging.getLogger().info("validation iterator: %s" % (val_iter))
 
 Review comment:
   ```suggestion
       logging.info("validation iterator: %s, val_iter)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message