[GRASS-SVN] r73202 - grass-addons/grass7/imagery/i.ann.maskrcnn/maskrcnnlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 28 08:41:19 PDT 2018


Author: pesekon2
Date: 2018-08-28 08:41:19 -0700 (Tue, 28 Aug 2018)
New Revision: 73202

Modified:
   grass-addons/grass7/imagery/i.ann.maskrcnn/maskrcnnlib/model.py
Log:
fix uncatched errors in data_generator

Modified: grass-addons/grass7/imagery/i.ann.maskrcnn/maskrcnnlib/model.py
===================================================================
--- grass-addons/grass7/imagery/i.ann.maskrcnn/maskrcnnlib/model.py	2018-08-28 13:02:06 UTC (rev 73201)
+++ grass-addons/grass7/imagery/i.ann.maskrcnn/maskrcnnlib/model.py	2018-08-28 15:41:19 UTC (rev 73202)
@@ -1718,7 +1718,7 @@
                               augmentation=None,
                               use_mini_mask=config.USE_MINI_MASK)
             else:
-                image, image_meta, gt_class_ids, gt_boxes, gt_masks = \
+                image, image_meta, gt_class_ids, gt_boxes, gt_masks, error = \
                     load_image_gt(dataset, config, image_id, augment=augment,
                                 augmentation=augmentation,
                                 use_mini_mask=config.USE_MINI_MASK)



More information about the grass-commit mailing list