Neooolee / WHUS2-CD

This is a cloud detection validation dataset for Sentinel-2A images
13 stars 5 forks source link

Dataset creation code still not working on Linux #4

Open system123 opened 1 year ago

system123 commented 1 year ago

The dataset creation code fuseimg.py does not work on Ubuntu. There are numerous errors in the fuseimg.py and the gdaldiy.py files, mainly related to file path handling.

Neooolee commented 1 year ago

GDAL python version should be installed first. Then just replace the file path in Autoprocess.py and run Autoprocess.py. The dataset will be created.

system123 commented 1 year ago

I have GDAL installed, and after replacing the filepaths in Autoprocess.py and fuseimg.py there are still errors.

I will submit a PR later to fix them.

zhumorui commented 1 year ago

Hi! I wrote an autopreprocess script for it, the link is here: https://github.com/zhumorui/Sentinel2_L1C_Preprocessing_Tools Hope it will be helpful for you.

Neooolee commented 1 year ago

I have GDAL installed, and after replacing the filepaths in Autoprocess.py and fuseimg.py there are still errors.

I will submit a PR later to fix them.

Maybe you should replace "\" with '/' in the code.