bao18 / open_earth_map

Quick start in OpenEarthMap
MIT License
51 stars 10 forks source link

Still not sure how to setup the dataset #6

Open nicolasfischoeder opened 1 year ago

nicolasfischoeder commented 1 year ago

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?

yecy749 commented 10 months ago

It seems that the author used the compressed version of xBD. Use the "Datasets from the Challenge" in xBD download page might work.