Comments (1)
Problem
The reason for these artifacts is that we need to tile the image, in order to fit it into memory and classify it. For a good pixel classification, the model rely on the context of the pixel. At the border of the tile, the model doesn't have any context to classify the pixel, giving results as shown above.
Solution
The idea is to find the number of pixel needed for context and write only the pixels with enough context, in the tile. To ensure that each pixel i correctly classified, each tile will overlap it's neighbors by the number of pixel required for context.
The number of pixel required for context is depending on the depth of the model. Every time there is a resampling in the model, we add more context to the classification. Given that resampling are kernel of size 2x2, the number of pixels used for context can be obtained by 2**n where n is the depth of the model (number of times resample is done).
from geo-deep-learning.
Related Issues (20)
- Empty Dataloader HOT 2
- Dataset split. HOT 1
- inference: add "total=" arg to tqdm to provide ETA during inference
- get_key_def(): unnecessary logging polutes stderr
- add PR template HOT 2
- Create Github issue template
- Resolve naming convention for duplicate image filename
- Add configurable parent directory for patches
- BUG: GDL cannot write TIFFs larger than 4 GB
- BUG: broken CI pipeline HOT 1
- FEATURE: low contrast check for images
- BUG: broken docker image potentially due to memory leak
- BUG: ValueError: can't extend empty axis 0 using modes other than 'constant' or 'empty'
- FEATURE: read only valid portion of imagery HOT 1
- BUG: AOIs out-of-memory error
- BUG: Docker image creation fails due to missing "libarchive" HOT 1
- FEATURE: add HRNet + OCR model architecture
- "[BUG]: aoi.raster called before assignment in tilling_segmentation.py, on error logging."
- DOCS: add documentation for verify script HOT 1
- BUG: Version Issue HOT 3
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 geo-deep-learning.