Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a sync of our repo. Here's the summary of the changes:
Added 🎉
farm_ai/segmentation/auto_segment_s2
) and BingMaps basemaps (farm_ai/segmentation/auto_segment_basemap
) without requiring the user to explictly define a set of prompts (i.e., points and/or bounding box).Changed ↪️
vibe_notebook
with all utility methods that are shared by the example notebooks in FarmVibes.AI. Previously these methods were organized in thenotebooks/shared_nb_lib
directory, which was imported by the notebooks using them. Because of this, most notebook environmentswill need to be updated.
scripts/export_sam_models.py
so the exported ONNX models can process multiple prompts in a batch. Because of this change, the segmentation workflows (both prompt-based and automatic segmentation) will not work with ONNX models exported prior to this release. Please, make sure to delete the old ONNX models in theonnx_resources
folder in your storage, and re-run the exportation script.scripts/export_sam_models.py
to support adding the ONNX models to remote clusters. The script now has a new--cluster
parameter to specify the cluster type (local or remote) to which the script will export the model to.data_processing/clip/clip
now allows hard clip (explicitly clipping the raster to the input geometry) in addition to soft clip (which would only update the geometry metadata of the raster, without actually cropping the raster).to reflect the need for a Planetary Computer API key.
Fixed ⚒️
Co-authored-by: Bruno Silva brunosilva@microsoft.com
Co-authored-by: Eduardo Rodrigues edrodrigues@microsoft.com
Co-authored-by: Naga Bilwanth Gangarapu Naga@zensa.co
Co-authored-by: Rafael Padilha rpadilha@microsoft.com
Co-authored-by: Renato Luiz de Freitas Cunha renato.cunha@microsoft.com
Co-authored-by: Roberto de Moura Estevão Filho robertode@microsoft.com