Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mboumahdi opened this issue Jul 17, 2023 · 2 comments
Open

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

mboumahdi opened this issue Jul 17, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@mboumahdi
Copy link

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
Copy link
Collaborator

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 remicres changed the title rasterization.py rasterization.py (documentation not up-to-date) Jul 17, 2023
@remicres remicres added the documentation Improvements or additions to documentation label Jul 21, 2023
remicres added a commit that referenced this issue Aug 2, 2023
Toward a better doc (#8)
@remicres
Copy link
Collaborator

remicres commented Aug 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants