Comments (2)
You're correct in that the masks
field is not to be used with the segmentation trainer; you need to use the mask
field for that. Currently, within torchgeo there is a distinction between masks
and mask
.
mask
is used to denote semantic segmentation masks. These are tensors that encode class values.masks
are used to denote instance segmentation masks. These are (N, H, W) tensors where N is the number of unique objects/instances detected.
This distinction is present because kornia
did not support instance masks, so there was no way to distinguish between the two. So, this was introduced in our custom AugmentationSequential
to ensure both keys were handled appropriately.
This support is being added to kornia
, and with it's next release, we should hopefully be able to finally remove the masks
field and our custom AugmentationSequential
.
from torchgeo.
Awaiting #1978
from torchgeo.
Related Issues (20)
- VHR10 plot fails for negative split HOT 1
- Support classwise metrics HOT 3
- Support logging figures to multiple loggers HOT 10
- Figure plotting with Eurosat & classification trainer gives blank images HOT 3
- What values are being "clipped to the interval [0, 98]" HOT 4
- Adding custom dataset for multiclassification HOT 17
- VectorDataset has always the same time range from 0 to sys.maxsize and how to deal with multiple image and mask pairs for training. HOT 7
- BigEarthNet download links are broken HOT 3
- Normalization in Datamodules does not use correct statistics HOT 1
- RasterDataset: res does not change when crs changes HOT 12
- Multiclass Classification: assert num_classes >=2 HOT 4
- GridGeoSampler resamples same image repeatedly with separate_files and multiple dates HOT 5
- check Rwanda Fields dataset and tests HOT 1
- Arg for monitor in ObjectDetectionTask HOT 1
- CD
- Chesapeake RasterDatasets will not be able to be used "as is" in modeling HOT 4
- Support model in_chans not equal to pre-trained weights in_chans HOT 1
- AugmentationSequential modifies the batch in place
- Support FLAIR Datamodule for semantic segmentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchgeo.