MyGit

v0.2.0

microsoft/torchgeo

版本发布时间: 2022-01-02 11:58:13

microsoft/torchgeo最新发布版本:v0.6.1(2024-10-11 02:22:20)

TorchGeo 0.2.0 Release Notes

This release contains a number of new features. The biggest change in this release is a significant overhaul of GeoDataset. It is now possible to intelligently compose multiple GeoDatasets in a variety of ways. For example, users can now:

These combinations require that all queries are present in at least one dataset, and can be combined using a UnionDataset:

landsat7 = Landsat7(root="...")
landsat8 = Landsat8(root="...", bands=["B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9"])
landsat = landsat7 | landsat8

Users can now also:

These combinations require that all queries are present in both datasets, and can be combined using an IntersectionDataset:

cdl = CDL(root="...", download=True, checksum=True)
dataset = landsat & cdl

If files are in different coordinate systems or at different spatial resolutions, TorchGeo now automatically warps all tiles to a common CRS and resolution. As before, all GeoDatasets are compatible with PyTorch DataLoaders using GeoSamplers.

Backwards-incompatible changes

TorchGeo is still in the alpha development phase and our API continues to change as needed. If you are using any of the following features, be sure to update your code to use the new API:

Datamodules

This release adds a new torchgeo.datamodules namespace. All DataModules previously defined in torchgeo.datasets now live in torchgeo.datamodules.

In addition, the following datasets have new datamodules:

Many datamodules now have a plot method that wraps around the respective dataset plot method (#286)

Datasets

This release includes many improvements for geospatial datasets:

This release also includes the following new benchmark datasets:

Most existing datasets now have a plot method:

Losses

This release adds a new torchgeo.losses namespace for loss functions common in or exclusive to geospatial data.

Models

Samplers

Trainers

Transforms

Documentation

Tests

Contributors

This release is thanks to the following contributors:

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-01-02发行的版本