Upgrade/torchgeo 0.9.0#4
Merged
Merged
Conversation
- Update pyproject.toml: torchgeo>=0.9.0, numpy>=1.26, requires-python>=3.12 - Remove allow-direct-references (no longer using git dependency) - Simplify CustomCacheRasterDataset.__getitem__ to delegate to parent (parent now handles GeoSlice indexing, _merge_or_stack, sample dict) - Update IntersectionDataset subclass to pass collate_fn as keyword arg (spatial_only is now 3rd positional parameter) - Replace BoundingBox usage in pixel count methods with GeoSlice tuples - Update splits.py to use new bounds format (tuple of slices) - Update torchgeo_bb_to_shapely to handle Tensor bounds (v0.9 format) - Fix test imports (LabelledRasterDataset -> ClassificationRasterDataset) - Add test for Tensor-based bounds conversion
- Extract 4 100x100 patches from 34VCK Sentinel-2 tile with diverse label classes - Extract sparse_raster.tif from real label data with 5 classes - Update expected pixel counts in test_pixel_counts.py - Update notebook class mapping to match real data - Remove unused test_img.tif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.