Giter Site home page Giter Site logo

deepbands / buildseg Goto Github PK

View Code? Open in Web Editor NEW
63.0 1.0 15.0 463 KB

buildseg is a building extraction plugin of QGIS based on ONNX『buildseg是一个基于ONNX的用于建筑提取的QGIS插件』

Home Page: https://plugins.qgis.org/plugins/buildseg/

License: GNU General Public License v3.0

Makefile 12.99% Python 78.57% Batchfile 4.20% QMake 0.16% Shell 2.49% QML 1.59%
python3 paddlepaddle paddleseg qgis3 pyqgis qgis3-plugin deep-learning onnx onnxruntime

buildseg's People

Contributors

geoyee avatar youssef-harby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

buildseg's Issues

QGIS crashes in startup of the plugin on Linux/Ubuntu

Bug with Linux/Debian/Ubuntu
image

and when installing raspberry bi deps
image

it just crashes when trying to import paddle (in QGIS Python script window) without trying to install the plugin

Tried on Ubuntu 18.04 and 20.04

Installation Bug Report: Plugin Error while installation

An error occurred during execution of following code:
pyplugin_installer.instance().installPlugin('buildseg', stable=False)

Traceback (most recent call last):
File "", line 1, in
File "/usr/share/qgis/python/pyplugin_installer/installer.py", line 333, in installPlugin
self.processDependencies(plugin["id"])
File "/usr/share/qgis/python/pyplugin_installer/installer.py", line 682, in processDependencies
dlg = QgsPluginDependenciesDialog(plugin_id, to_install, to_upgrade, not_found)
File "/usr/share/qgis/python/pyplugin_installer/qgsplugindependenciesdialog.py", line 92, in init
_make_row(data, i, name)
File "/usr/share/qgis/python/pyplugin_installer/qgsplugindependenciesdialog.py", line 63, in _make_row
widget.use_stable_version = data['use_stable_version']
KeyError: 'use_stable_version'

Python version:
3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0]

QGIS version:
3.22.3-Białowieża 'Białowieża', 1628765ec7

Python path:
['/usr/share/qgis/python', '/home/robotics/.local/share/QGIS/QGIS3/profiles/default/python', '/home/robotics/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/robotics/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages', '/home/robotics/.local/share/QGIS/QGIS3/profiles/default/python', '/home/robotics/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DeepLearningTools']

Installation: using QGIS "Manage and Install Plugins", or directions in the md file?

What is better for Installation: using QGIS "Manage and Install Plugins", or following directions in the md file?
Using the QGIS installer (3.24.0-Tisler) I get:
An error occurred during execution of following code:
pyplugin_installer.instance().installPlugin('buildseg', stable=True)

Traceback (most recent call last):
File "", line 1, in
File "/usr/share/qgis/python/pyplugin_installer/installer.py", line 333, in installPlugin
self.processDependencies(plugin["id"])
File "/usr/share/qgis/python/pyplugin_installer/installer.py", line 682, in processDependencies
dlg = QgsPluginDependenciesDialog(plugin_id, to_install, to_upgrade, not_found)
File "/usr/share/qgis/python/pyplugin_installer/qgsplugindependenciesdialog.py", line 92, in init
_make_row(data, i, name)
File "/usr/share/qgis/python/pyplugin_installer/qgsplugindependenciesdialog.py", line 63, in _make_row
widget.use_stable_version = data['use_stable_version']
KeyError: 'use_stable_version'

Python version:
3.9.5 (default, Nov 18 2021, 16:00:48)
[GCC 10.3.0]

QGIS version:
3.24.0-Tisler 'Tisler', 6b44a42058

Python path:
['/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/terminus_processing', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/LAStools', '/usr/share/qgis/python', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/home/alobo/OTB/OTB-7.3.0-Linux64/lib/python', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/home/alobo/.local/lib/python3.9/site-packages', '/usr/local/lib/python3.9/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.9/dist-packages', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python', '.', '/home/alobo/.local/lib/python3.9/site-packages/IPython/extensions', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/site-packages', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/qgispluginsupport/qps/pyqtgraph', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/site-packages', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/apps', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps']

Create plugin with trained YOLOv8 segmentation model

Hello;

I trained YOLOv8 segmentation model on custom dataset. I converted it to onnx file to create a custom buildseg plugin. My onnx file can load perfectly using python codes but it can not return any result in QGIS environment. Can you guide me how can I solve this problem?

Thank you for your guidance
Have a good time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.