Hey I am still having issues setting up the dataset correctly. When I try to execute the script to compile the images from xDB I am just getting thrown an error:
Traceback (most recent call last):
File "D:\open_earth_map-main\data\compile_xbd.py", line 36, in
idx = np.where(xbd_fullimgs[:, 0] == f1)[0]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
The readme says:
The "xbd_files.csv" contains information about how to prepare the xBD RGB images and add them to the corresponding folders.
But I see nothing there but pairs. No further explanation.
Hey I am still having issues setting up the dataset correctly. When I try to execute the script to compile the images from xDB I am just getting thrown an error:
(openearthmap) D:\open_earth_map-main>python data/compile_xbd.py --path_to_OpenEarthMap "D:/OpenEarthMap_wo_xBD" --path_to_xBD "D:/xview2_geotiff/xview2_geotiff"
Traceback (most recent call last): File "D:\open_earth_map-main\data\compile_xbd.py", line 36, in
idx = np.where(xbd_fullimgs[:, 0] == f1)[0]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
The readme says: The "xbd_files.csv" contains information about how to prepare the xBD RGB images and add them to the corresponding folders.
But I see nothing there but pairs. No further explanation.
@bao18 Can you help me please?