[GRASS-PSC] Contribution in AddOns

Stefan Blumentrath Stefan.Blumentrath at nina.no
Tue Nov 10 23:58:17 PST 2020


Hi Allan,

There are definitely more developers on Linux/UNIX, but developing on windows should work and not be an issue, esp. when working with Python.

The reason that there are no precompiled versions (and manual) for i.ann.maskrcnn.detect is due to the import of skimage (see below). Using lazy importing for skimage should fix this…

Cheers,
Stefan

grass783/x86_64/addons/mswindows/osgeo4w/lib:/c/Users/landa/grass_packager/grass783/x86_64/addons/mswindows/osgeo4w:/c/windows32/system32:/c/windows:/c/windows32/system32:/c/windows" LC_ALL=C LANG=C LANGUAGE=C /c/Users/landa/grass_packager/grass784/x86_64/addons/i.ann.maskrcnn/scripts/i.ann.maskrcnn.detect.py --html-description < /dev/null | grep -v '</body>\|</html>' > i.ann.maskrcnn.detect.tmp.html ; fi
Traceback (most recent call last):
  File "C:/Users/landa/grass_packager/grass784/x86_64/addons/i.ann.maskrcnn/scripts/i.ann.maskrcnn.detect.py", line 87, in <module>
    from skimage.measure import find_contours
ModuleNotFoundError: No module named 'skimage'
make[1]: *** [/c/msys64/usr/src/grass784/include/Make/Html.make:14: i.ann.maskrcnn.detect.tmp.html] Error 1
rm i.ann.maskrcnn.detect.tmp.html


From: grass-psc <grass-psc-bounces at lists.osgeo.org> On Behalf Of Allan Sims
Sent: onsdag 11. november 2020 08:35
To: Ondřej Pešek <pesej.ondrek at gmail.com>
Cc: GRASS-PSC <grass-psc at lists.osgeo.org>
Subject: Re: [GRASS-PSC] Contribution in AddOns

Hi,

I'm using GRASS in Windows; however, I have some trouble to install addons via g.extension. And i.ann.maskrcnn is one of those I have trouble with. Precompile module in http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.4/<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwingrass.fsv.cvut.cz%2Fgrass78%2Fx86_64%2Faddons%2Fgrass-7.8.4%2F&data=04%7C01%7Cstefan.blumentrath%40nina.no%7Cd45c8d1dc541400082d808d886144ba2%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637406769027107913%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rczgMKVSq%2BEPty8OrStqTS3WzjJgY04vWKvqXXKLtFM%3D&reserved=0> do not contain file "i.ann.maskrcnn.detect.html" and this interrupts the installation. Also g.extension expects a html file for every .py file in folder maskrcnnlib.

How many GRASS developers use Windows?

Regards,
Allan

On Wed, 11 Nov 2020 at 08:59, Ondřej Pešek <pesej.ondrek at gmail.com<mailto:pesej.ondrek at gmail.com>> wrote:
Hi Allan,

po 9. 11. 2020 v 9:41 odesílatel Allan Sims <sims.allan at gmail.com<mailto:sims.allan at gmail.com>> napsal:
I need and therefore going to develop frontend for python modules "keras" and "tensorflow" to analyze raster images in GRASS.

Thus, I'd like to have write access for grass-addons repository and develop addons r.keras.*

This is just great! I'm very happy to hear that.

As Stefan mentioned, there are the i.ann.maskrcnn.* AddOns. However, these are still written in TF 1.x and therefore anything more modern and flexible would be highly appreciated.
As these modules were part of my work, feel free to contact me if having any question or willing to discuss something. I'm looking forward to seeing more ANN modules up there.

Regards,
Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-psc/attachments/20201111/65fab01e/attachment-0001.html>


More information about the grass-psc mailing list