-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After adding a custom image and extracting its features, clicking on the image resulted in the following error message #39
Comments
Hi @BigBigOranges, Please first ensure that the output shapefile of Geo-SAM is correct. It is recommended to directly click on |
Replacing the main program code has solved the problem. Thank you for your answer. |
I have a similar message
I created a new output shapefile. Note I just installed the plugin this week. Thanks in advance |
Which version of Geo-SAM are you using? The latest version v1.3-rc should not have this issue. |
Thanks, that's works, not completly but it's the segmantation |
2024-03-12T17:29:22 WARNING Traceback (most recent call last):
File "C:\Users/njchy1303/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 387, in execute_segmentation
self.ensure_polygon_sam_exist()
File "C:\Users/njchy1303/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 369, in ensure_polygon_sam_exist
self.load_shp_file()
File "C:\Users/njchy1303/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\geo_sam_tool.py", line 458, in load_shp_file
self.polygon = SAM_PolygonFeature(
File "C:\Users/njchy1303/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\canvasTool.py", line 398, in init
self.init_layer()
File "C:\Users/njchy1303/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\canvasTool.py", line 402, in init_layer
self._load_shapefile(self.shapefile)
File "C:\Users/njchy1303/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Geo-SAM\tools\canvasTool.py", line 430, in _load_shapefile
fields.extend(
TypeError: QgsFields.extend(): argument 1 has unexpected type 'list'
The text was updated successfully, but these errors were encountered: