CNES / decloud

Apache License 2.0
37 stars 3 forks source link

rasterization.py (documentation not up-to-date) #8

Open mboumahdi opened 1 year ago

mboumahdi commented 1 year ago

Im trying to train the model for other region, but I have a problem preparing the ROIs.

python3 utils/rasterization.py \ --vector /home/user/ROI/vectors/T31TEJ.shp \ --ref /data/decloud/bucket/S2_PREPARE/T31TEJ/SENTINEL2B_20180225-105018-458_L2A_T31TEJ_C_V2-2/SENTINEL2B_20180225-105018-458_L2A_T31TEJ_C_V2-2_EDG_R1_stats.tif \ --output /home/user/ROI

the file rasterisation doesn't exist how I can generate it thank you

remicres commented 1 year ago

hello @meryeme-25 ,

The documentation is not up-to-date, you should use the preprocessing/generate_roi_rasters.py application to generate the ROIs masks. We will update it ASAP

remicres commented 1 year ago

Hi @meryeme-25 ,

Apologies for the delay. I tried to improve the doc a bit, at least I updated the section about the generation of ROI binary images. Let me know if it is more readable and user-friendly.

I believe the doc have flaws so do not hesitate to point errors or propose a PR.

Thanks