Error in segmentation notebook rsgislib

41 views
Skip to first unread message

Thaisa Correia

unread,
Jun 17, 2023, 8:28:41 AM6/17/23
to RSGISLib Support
Hello, I'm conducting a test with the notebooks in this path: https://github.com/remotesensinginfo/rsgislib-tutorials/tree/main/04_image_segmentation. However, I'm encountering the following error, even when using the provided data from the example. I followed all the installation procedures in Python. I'm using the Windows operating system and the Anaconda environment. Does anyone know what could be the issue?

 ---------------------------------------------------------------------------
error                                     Traceback (most recent call last)
Cell In[3], line 6
      3 gdaltype = rsgislib.TYPE_16UINT
      4 bands_list = [1,2,3,8,9,10]
----> 6 rsgislib.imageutils.select_img_bands(input_img, input_img_bands, gdalformat, gdaltype, bands_list)

error: Images do not overlap in the X axis

Thanks, best regards!

Nathan Thomas

unread,
Jun 17, 2023, 11:23:28 AM6/17/23
to RSGISLib Support
This may be due to a path error. Have you checked that the location of the data is correct?
Reply all
Reply to author
Forward
0 new messages