Closed ambarja closed 11 months ago
However, when I run the script in jupyter Lab, this is successful 🥳 , I just have a question, in raster.generate(2)
, why 2 ?
@ambarja Thank you for your interest in Tile2Net! Regarding the bash run, your code has run successfully! The message you are seeing is not an error, it is a warning and it does not stop the code execution. The reason you are not seeing any outputs being saved is that you did not provide any path for the outputs to be saved when you were prompted "Please enter the output directory:" and I guess you only pressed enter. The program will run in this case but the outputs will not be saved.
Regarding the interactive run, the input that generate takes, is called stitch_step, this is the number of tiles to stitch together to create larger tiles so the segmentation model has more context to work with. When stitch step is 1 (default when you construct the grid), no stitching will occur, 2, means we stitch every 2 tiles together, and If you want to stitch every 4 tiles together, you would pass 4. generally, if you are zoom level 20, and base tile size of 256, stitch step=4 works the best. if you use the default zoom level 19 with base size 256, 2 is a better choice, it gives enough context to the model and still preserves the details.
Hope these answers your questions! We will modify the notebook description for that cell to reflect this more clearly.
Since there was no error, I will close this issue. Feel free to re-open should you have any questions.
@Mary-h86 thanks you for you support
Hi @aecio @remram44 @julianafreire @fabio-miranda I recently tried this freeware, good job and contribution to the community. I have a little problem when I run the example in bash. I thought the error was because I didn't have geopandas or shapely installed, but I do have it installed. What could be the problem 👀 ? Thanks in advance, greetings from Peru.
Here some libraries when I run pip list 👇