<div dir="ltr"><div><br><br>On Mon, Jun 12, 2017 at 4:57 PM, Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br>><br>><br>><br>> Le 12 juin 2017 15:25:36 GMT+02:00, James Duffy <<a href="mailto:james.philip.duffy@gmail.com">james.philip.duffy@gmail.com</a>> a écrit :<br>> >On 12 June 2017 at 12:09, Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>><br>> >wrote:<br>> ><br>> >> On 12/06/17 12:11, James Duffy wrote:<br>> >><br>> >>><br>> >>><br>> >>> On 12 June 2017 at 11:00, Moritz Lennert<br>> ><<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a><br>> >>> <mailto:<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>>> wrote:<br>> >>><br>> >>>     On 12/06/17 11:38, James Duffy wrote:<br>> >>><br>> >>>         On 12 June 2017 at 10:36, Moritz Lennert<br>> >>>         <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a> <mailto:<a href="mailto:mlennert@club.worldonl">mlennert@club.worldonl</a><br>> >>> <a href="http://ine.be">ine.be</a>><br>> >>>         <mailto:<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a><br>> >>><br>> >>>         <mailto:<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>>>> wrote:<br>> >>><br>> >>>             On 12/06/17 11:25, James Duffy wrote:<br>> >>><br>> >>>                 Hello,<br>> >>><br>> >>>                 I'm trying to run the following:<br>> >>><br>> >>>                 *i.superpixels.slic -n group=mod1@PERMANENT<br>> >output=test<br>> >>>                 num_pixels=5000<br>> >>>                 memory=10000<br>> >>><br>> >>>                 *<br>> >>>                 The output gives me the following:<br>> >>><br>> >>>                 (Mon Jun 12 10:17:40<br>> >>>                 2017)<br>> >>>                 i.superpixels.slic -n group=mod1@PERMANENT<br>> >output=test<br>> >>>                 num_pixels=5000<br>> >>>                 memory=10000<br>> >>>                 Cache data in memory mode<br>> >>>                 Loading input...<br>> >>>                 WARNING: Initialized 5036 of 5070 seeds<br>> >>>                 Performing k mean segmentation...<br>> >>><br>> >>>                 And then I get a 'GRASS 7 has stopped working' box<br>> >pop up.<br>> >>><br>> >>>                 I tried again with the default settings for the<br>> >module:<br>> >>><br>> >>>                 *i.superpixels.slic group=mod1@PERMANENT output=test<br>> >>><br>> >>>                 *<br>> >>>                 And got the same error.<br>> >>><br>> >>>                 I am using windows 10 professional and GRASS 7.3.svn<br>> >>> (2017).<br>> >>><br>> >>>                 Has anyone else got this module working, or had the<br>> >same<br>> >>>         problem<br>> >>>                 on Windows?<br>> >>><br>> >>><br>> >>>             I haven't had any problems running it on Linux, and some<br>> >>>         colleagues<br>> >>>             have run it on Windows.<br>> >>><br>> >>>             Just for our info: What are your region settings ?<br>> >>><br>> >>><br>> >>>         projection: 1 (UTM)<br>> >>>         zone:       43<br>> >>>         datum:      wgs84<br>> >>>         ellipsoid:  wgs84<br>> >>>         north:      25183.22184529<br>> >>>         south:      25157.71783908<br>> >>>         west:       301463.66480893<br>> >>>         east:       301494.2431551<br>> >>>         nsres:      0.07775612<br>> >>>         ewres:      0.0778075<br>> >>>         rows:       328<br>> >>>         cols:       393<br>> >>>         cells:      128904<br>> >>><br>> >>>         Just to add, I am running i.segment.uspo without problems<br>> >using<br>> >>>         the same<br>> >>>         imagery group and the same region.<br>> >>><br>> >>><br>> >>>     Yes, the region is actually very small, so no problem from<br>> >there. It<br>> >>>     might be an issue with the memory handling. Could you try<br>> >without<br>> >>>     setting the memory parameter, i.e. using its default value of<br>> >300<br>> >>>     and tell us what happens ?<br>> >>><br>> >>><br>> >>> *#default memory*<br>> >>> *i.superpixels.slic -n group=mod1@PERMANENT output=test<br>> >>><br>> >>> *<br>> >>> Produced the same problem.<br>> >>><br>> >><br>> >> Can you reproduce using the NC demo data set ?<br>> >><br>> >> I.e.<br>> >><br>> >><br>> >Running:<br>> ><br>> ><br>> >><br>> >><br>> >> *g.region rast=ortho_2001_t792_1m i.group ortho<br>> >input=ortho_2001_t792_1m<br>> >> i.superpixels.slic group=ortho out=slic_test*<br>> >><br>> ><br>> >Worked for me.<br>> ><br>> ><br>> ><br>> >*i.superpixels.slic -n group=ortho out=slic_test*<br>> >Also works.<br>> ><br>> ><br>> ><br>> >*i.superpixels.slic group=ortho out=slic_test memory=10000 *<br>> >Crashed.<br>> ><br>><br>> The issue arises when the module uses memory mode, i.e. when it reads the entire map into memory.<br>><br>> The issue is way above my pointer foo, so you'll have to wait for a fix<br><br></div>Fixed in r71177. The windows add-on should be available by tomorrow.<br><div><br></div><div>Markus M<br><br></div><div><br>> and use only disk mode (by setting memory low enough) or download the previous version of the add-on from <a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7/imagery/i.superpixels.slic?rev=70478&format=zip">https://trac.osgeo.org/grass/browser/grass-addons/grass7/imagery/i.superpixels.slic?rev=70478&format=zip</a> and install from the zip using g.extension ... url=.<br>><br>> Moritz<br>><br>><br>> ><br>> ><br>> >*i.superpixels.slic -n group=ortho out=slic_test memory=10000  *<br>> >Crashed.<br>> ><br>> ><br>> >> And tying with and without the '-n' flag and the memory parameter.<br>> >><br>> >> Moritz<br>> >><br>> >><br>> >><br>> >James<br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div></div>