# A Peek at Semantic Segmentation

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPY7zkqFfphnRPrbFfK%2FScreen%20Shot%202018-10-23%20at%203.55.13%20PM.png?alt=media\&token=dd4e4567-24a0-46c5-94cc-ac11dd31ae11)

## Traditional Methods

#### Graph Cut

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPXev1n8uriOa5d0yYg%2F-LPXkLwN8o-EflHdcfzI%2FgraphCut.jpg?alt=media\&token=32996e49-10a9-4383-b340-4c669c1a85bc)

#### Grab Cut

Interactive optimization version of Graph Cut.

#### CRF

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPXev1n8uriOa5d0yYg%2F-LPY3021ohk1fHkHk_Z9%2FScreen%20Shot%202018-10-23%20at%203.33.34%20PM.png?alt=media\&token=3a36a98f-2688-4554-ae06-d955144d75bd)

## Basic Components for Deep Learning Methods

In brief, we can see segmentation as a pixel wise classification task. Since we need to do it in pixel level, a large and representative final feature map is needed.

### Two Choices for Backbone

To have good and large final feature map, we want it contains three elements: **large size**, **plenty of high level abstract information** (go deep) and also **rich low level details** (skips from small stride layers).&#x20;

There are two choices to ensure the requirements:

* Reuse and modify pre-trained SOTA classification networks.
* [Design a segmentation specific backbone](https://sisyphus.gitbook.io/project/deep-learning-basics/semantic-segmentation/design-choices-for-mobile-friendly-deep-learning-models-semantic-segmentation#fast-and-accurate-backbone) and train on ImageNet from scratch. (Check the link for further analysis on this topic)

As for **reusing existed classification models**, we need to enlarge the backbone late stage feature maps as most networks having 1/32 or 1/64 FMs in the end, which are far too small for segmentation.

### Enlarge Feature Map

There are two ways to make it large:

* Transposed Convolution / Bilinear Interpolation to do upsampling from small feature map.
* Dilated Convolution to keep the size of early stage large FM and never do downsampling after target strides, like keeping stride 8 in DRN / PSPNet / DeepLab V3 or stride 16 in DeepLab V3+.

#### **Transposed Convolution** (Deconv):

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYEyLuLmqJ0fWQsjI7%2Fv2-9dc2771833074921b050079ae2cf6a65_hd.jpg?alt=media\&token=3d3ebe47-dd2b-42cf-a4f1-8e4b83b36601)

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYFJI-hRaOUSGi6cGl%2FScreen%20Shot%202018-10-23%20at%204.27.19%20PM.png?alt=media\&token=53a2c708-de84-46d8-ac81-6af2577f2729)

#### Upsampling via Interpolation:

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYEF5K_LGstiOT6pJD%2FComparison_of_1D_and_2D_interpolation.svg.png?alt=media\&token=586b4632-de80-40b3-a7a9-cfdf78b8be35)

#### **Transposed Convolution as Bilinear InterpolatIon:**

With carefully chosen initial weighs, Deconv can work as Bilinear Interpolation. Below is MxNet Bilinear filler for Deconv.

```python
class Bilinear(Initializer)
"""Initialize weight for upsampling layers."""
def __init__(self):
    super(Bilinear, self).__init__()
def _init_weight(self, _, arr):
    weight = np.zeros(np.prod(arr.shape), dtype='float32')
    shape = arr.shape
    f = np.ceil(shape[3] / 2.)
    c = (2 * f - 1 - f % 2) / (2. * f)
    for i in range(np.prod(shape)):
        x = i % shape[3]
        y = (i / shape[3]) % shape[2]
        weight[i] = (1 - abs(x / f - c)) * (1 - abs(y / f - c))
    arr[:] = weight.reshape(shape)
```

#### **Dilated Convolution** (Atrous Convolution):

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPbd4rXdwa1BU0MS_E2%2FScreen%20Shot%202018-10-24%20at%2012.53.49%20PM.png?alt=media\&token=8eb992e1-47a8-43b7-8c9b-ac3f2b7f20af)

Stop doing downsampling after **the last target stride (St, e.g. St = 8) layer** in the middle of the backbone network, and use dilated rate = 2, 4 ... on the following original stride St \* 2 (stride 16) , St \* 4 (stride 32)... layers to keep the pre-trained backbone parameters still having its original receptive fields.&#x20;

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPbBSnnPr9fPV5MgUdd%2FScreen%20Shot%202018-10-24%20at%2010.48.57%20AM.png?alt=media\&token=b0a21fd0-f106-48b5-9360-a548f9c13caf)

For the layers that are changed to stride 16 but had stride 32 in original backbone, to keep its receptive field unchanged, a 5 x 5 receptive field is needed. By using dilated convolution, a convolution with a dilated 2, 3 x 3 filter would make it able to cover an area equivalent to a 5 x 5.

### Affinity Field

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYe8z_nQX3Nckdafp5%2FScreen%20Shot%202018-10-23%20at%206.20.10%20PM.png?alt=media\&token=847bdc99-ec30-497c-8e70-89663fbe4b79)

An affinity matrix is a generic matrix that determines how close, or similar, two points are in a space. In computer vision tasks, it is a weighted graph that regards each pixel as a node, and connects each pair of pixels by an edge. The weight on that edge should reflect the pairwise similarity with respect to different tasks.

Some papers propose to estimate / learn the affinity field and use it to improve the boundary performance.&#x20;

### Attention Module

Some of recent segmentation papers use attention module to improve the performance. Here are two attention module design choices: channel and spatial attention. For more efficiency discussion, please check [here](https://sisyphus.gitbook.io/project/~/edit/drafts/-LPY6PaFYGv-JLYGPwez/deep-learning-basics/classification/further-attention-utilization-classification-and-segmentation).

#### Channel Attention

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYUe6v31VPcKIF8CM_%2FScreen%20Shot%202018-10-23%20at%205.34.00%20PM.png?alt=media\&token=2639b932-5425-49cc-a623-5f102316a50d)

[**Squeeze and Excitation**](https://sisyphus.gitbook.io/project/~/edit/drafts/-LNDRlf25_eHFI7-6Vkm/deep-learning-basics/classification/squeeze-and-excitation-networks) method uses **fully connected layer** to estimate / calculate the channel-wise attention weights.

#### Spatial Attention

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYUh8OO1biVAZS3a80%2FScreen%20Shot%202018-10-23%20at%205.34.17%20PM.png?alt=media\&token=831212eb-3144-46a2-93c5-0e979c0da8dd)

[**Non-local**](https://sisyphus.gitbook.io/project/~/edit/drafts/-LNDRlf25_eHFI7-6Vkm/deep-learning-basics/classification/non-local-neural-networks) method exploits **Self-Attention (like covariance matrix)** to enhance and suppress targeted spatial information.

## Network Evolutions

### FCN

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYi3CbC5YZ375MisJz%2FScreen%20Shot%202018-10-23%20at%206.37.15%20PM.png?alt=media\&token=ce2efa28-3c06-4282-897c-276bbad7c973)

* It upsamples only once. i.e. it has only one layer in the decoder.
* The original implementation [github repo](https://github.com/shelhamer/fcn.berkeleyvision.org) uses bilinear interpolation for upsampling the convoloved image. That is there is no learnable filter here.
* Variants of FCN-\[FCN 16s and FCN 8s] add the skip connections from lower layers to make the output robust to scale changes.

### UNet

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYiZVZ6Kul0u1gwJeh%2FScreen%20Shot%202018-10-23%20at%206.39.31%20PM.png?alt=media\&token=014944e8-7292-431a-bc3b-c8b30dcfc56c)

* Multiple upsampling layers
* Uses skip connections and concatenates instead of adding up
* Uses learnable weight filters instead of fixed interpolation technique

### DRN

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYNjJQWg4IAOGaiB1T%2FScreen%20Shot%202018-10-23%20at%205.04.05%20PM.png?alt=media\&token=e1446e74-d503-4c59-a9aa-31bb6d3ee690)

Stop doing downsampling after **the last target stride (St, e.g. St = 8) layer** in the middle of the backbone network, and use dilated rate = 2, 4 ... at original stride St \* 2 (stride 16) , St \* 4 (stride 32)... layers to keep the pre-trained backbone parameters still having its original receptive fields.

### PSPNet

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPY6PcvgoUKwT82E3ab%2F-LPYjO6Rr6SR-1S-57rC%2FScreen%20Shot%202018-10-23%20at%206.43.07%20PM.png?alt=media\&token=6b57bc24-4fd3-4440-9c8d-5dc4eb8c6cb2)

* DRN as backbone
* Auxiliary loss between the end of backbone and SPP
* **Synchronized BN** for training with small batch size
* Dropout before classifier&#x20;
* Hard to reimplement, rumors said the ResNet-101 backbone was pre-trained on SenseTime internal classification dataset.

### DeepLab Series

#### DeepLab 2014

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPbQlKAFCFa8sx_qBQT%2FScreen%20Shot%202018-10-24%20at%2011.55.49%20AM.png?alt=media\&token=0d19e39e-2f81-4a61-9463-3231bc6192f2)

* Dilated convolution in VGG16
* CRF as post-processing

#### DeepLab V2 2016

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPbKIcx3khIyn817pjg%2FScreen%20Shot%202018-10-24%20at%2011.27.38%20AM.png?alt=media\&token=332fcbcf-1d68-433a-8be2-e5fa39f39e4c)

* DRN backbone
* ASPP for multi-scale context fusion
* Dense CRF as post-processing&#x20;
* Stride 8 backbone output

#### DeepLab V3 2017

![Stride 16 version DeepLab V3](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPbdmmhWo48j7xR_YmC%2FScreen%20Shot%202018-10-24%20at%2012.56.28%20PM.png?alt=media\&token=8d2d4e68-2695-4e4e-a1fc-565301e4b15c)

* Revisited ASPP
  * Abandon the branch with dilation rate 24, since large dilation rate kernel will degrade to a 1 x 1 filter at last.
  * Add global average pooling branch with bilinear interpolation upsampling, just like the SPP 1 x 1 branch in PSPNet.
* Train on stride 16 final output first, freeze all BN and then continue training on stride 8 final output. **An alternative plan to synchronized BN**.
* After trained on VOC augmented, do fine-tuning on VOC 2012 official trainval set only.
* Double the hard classes images in one epoch
* No CRF
* Use backbone trained on Google internal classification dateset wilL boost the segmentation performance.

#### DeepLab V3+ 2018

![(a) DeepLab V3 / PSPNet                      (b) UNet                                      (c) DeepLab V3+](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPc1k5MNOe-JFe9wPbo%2FScreen%20Shot%202018-10-24%20at%202.46.11%20PM.png?alt=media\&token=013d8b73-f6ca-4d5e-9552-461ab6197127)

![Detailed DeepLab V3+](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPc6CzhX5hRahfsnT-7%2FScreen%20Shot%202018-10-24%20at%203.05.43%20PM.png?alt=media\&token=86ad3d30-1529-4219-9401-09fb45a8654f)

* An efficient combination of SPP series and Encoder-decoder
* ASPP is same
* Dilated Xception backbone, with stride 16 final backbone output. Xception itself is an high performance and also efficient backbone. Computation complexity of stride 16 also is 4 times smaller than the stride 8 version. Backbone (encoder) part is quite fast compared to predecessors.
* Use bilinear interpolation as internal upsampling method
* Lowe level FM channels are reduct to a small amount (48) and then concatenated after high level upsampled FM.&#x20;
* Training tricks are same to DeepLab V3
* SOTA performance&#x20;

### With Attention

#### Dual Attention Network

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPc7YyjQx_ZvGGxEroh%2FScreen%20Shot%202018-10-24%20at%203.11.21%20PM.png?alt=media\&token=1db7929a-47c6-444e-a432-0e6bed2c6c38)

* Feature map dot product Attention for both channel wise and spatial wise
* The visualization of two attention maps are quite interesting. Check [here](https://sisyphus.gitbook.io/project/~/edit/drafts/-LPb7dk3rCrOBQor11gC/deep-learning-basics/classification/further-attention-utilization-classification-and-segmentation) for further pics.

#### BiSeNet

A fast segmentation structure built on Xception 39, very shallow spatial branch sub-net and channel wise attention.

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPc8etbb8P5lvjQ1FM9%2FScreen%20Shot%202018-10-24%20at%203.16.07%20PM.png?alt=media\&token=b0aa3759-4716-4680-b587-4c4ede889c18)

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPc9Gv5hEMzZizdE1zS%2FScreen%20Shot%202018-10-24%20at%203.16.19%20PM.png?alt=media\&token=5728a61e-ce62-4b21-87be-2b400b2f1237)

* Main idea contains two parts: a thin and deep part for extracting context info, as well as a wide and shallow part for extracting spatial info.
* ARM / FFM here are both channel-wise attention module
* FM + FM \* Attention (skip version in FFM) outperforms the dot production only version (in ARM). But because element wise addition costs extra computation, FFM is only used at the most critical part -- feature fusion.

### With Affinity Field

#### SPN

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPcBNQqanOpNXHmnPpl%2FScreen%20Shot%202018-10-24%20at%203.27.01%20PM.png?alt=media\&token=1ec176da-9e82-4553-ac38-35bbe1a398f9)

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPcBQbY2aPh7qGW6oXH%2FScreen%20Shot%202018-10-24%20at%203.28.15%20PM.png?alt=media\&token=d6469038-353e-46cd-a77d-1e23f293df05)

* Use propagation idea to accumulate affinity field
* The learning of a large affinity matrix for diffusion is converted to learning a local linear spatial propagation, yielding a simple while effective approach for output enhancement.

#### Adaptive Affinity Fields

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPcD3GMT5PAVcyqyGBF%2FScreen%20Shot%202018-10-24%20at%203.33.31%20PM.png?alt=media\&token=2e496c6c-f031-4f49-96ee-d37f49420315)

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPcD5ns_PWf3PLQscjm%2FScreen%20Shot%202018-10-24%20at%203.33.44%20PM.png?alt=media\&token=e2f49c44-baef-47bb-983f-194854da992a)

* Treat affinity field optimization as a separate loss for segmentation

**CSPN for Depth Estimation**

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPcI_lcfBX9D83GjJjj%2FScreen%20Shot%202018-10-24%20at%203.59.33%20PM.png?alt=media\&token=be1b5f34-0233-4880-8a6e-474fb3998540)

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPb7doUim7p6olXhPYO%2F-LPcIcVI_LoSuD8UAfL3%2FScreen%20Shot%202018-10-24%20at%203.59.44%20PM.png?alt=media\&token=79d2eeb3-823d-429b-9ad4-09cb0464a610)

* Replace three way propagation with convolution
* Use CSPN aggregating sparse Lidar depth info to refine the final results (Depth Estimation).

## Counter Specific Problems

### &#x20;Deconv -- Check-board pattern

![Check-board Pattern](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPchQ1ts_Yy-0fEc9qh%2FScreen%20Shot%202018-10-24%20at%205.52.31%20PM.png?alt=media\&token=3e36cff2-53f3-4b0d-83a7-385796e29a65)

In order to enlarge the feature map, we often have to use Deconv, which allow the model to use every point in the input small feature map to "paint" a square in the output larger one. However, If Deconv kernel size cannot be divided by its stride, it can easily have "uneven overlap" and well-known check-board pattern in the output.

![Kernel Size 3, Stride 2](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPcaLw-5Q4hI2_Kferl%2FScreen%20Shot%202018-10-24%20at%205.21.26%20PM.png?alt=media\&token=09a24cec-12a1-4ffd-8930-56b1a2478649)

![Kernel Size 4, Stride 2](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPcaQVD-EYQ1u7aTLRs%2FScreen%20Shot%202018-10-24%20at%205.21.46%20PM.png?alt=media\&token=7c62ef21-04d4-4bb5-b2e3-45e8e860a32c)

![Check-board Pattern](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPcR94EvcVX3BIKzhM1%2FScreen%20Shot%202018-10-24%20at%204.37.02%20PM.png?alt=media\&token=8f8dd494-72e7-4570-8207-0647d77a1a3b)

In theory, our models could learn to have optimal weights distribution according to the unevenly position and make the output balanced. But in practical, neural networks struggle to achieve that.

![Optimal Kernel](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPcbE70B6Z_TctIfGk-%2FScreen%20Shot%202018-10-24%20at%205.25.38%20PM.png?alt=media\&token=b2e96d92-3d11-4600-adcc-664b222dc268)

In fact, the real situation is far from the optimal and even worse than we thought. Not only do models with uneven overlap not learn to avoid this, but models with even overlap often learn kernels that cause similar artifacts.

![Evenly overlap but still have check-board pattern](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPccL7uuTZrSI7P1AG3%2FScreen%20Shot%202018-10-24%20at%205.30.27%20PM.png?alt=media\&token=4c0aa1f4-968d-44a5-9768-f34c819b68b3)

An alternative way to eliminate check-board pattern is to do interpolation on the input small feature map and then use the regular Convolution.

### Dilated Convolution -- Grid Pattern &#x20;

![Grid Pattern](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPciUBDlhWoNl0W3QXd%2FScreen%20Shot%202018-10-24%20at%205.57.04%20PM.png?alt=media\&token=b6ebaabc-027d-408e-bc3c-f9aece2b001c)

![](https://443921002-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LGHUhl6VYqrZm4Re77O%2F-LPcPQp1UA3vSRpz5_SY%2F-LPcfrS68xa-p-m5iiG4%2FScreen%20Shot%202018-10-24%20at%205.45.39%20PM.png?alt=media\&token=d41a971a-bbe8-4b65-82b5-921276eba5d7)

* If stacking dilation rate = 2 blocks, there will be only some sparse grid pixels from input contributing to the output.
* The paper claims that using HDC (hybrid dense convolution) could eliminate grid pattern.

{% embed url="http://vision.stanford.edu/teaching/cs231b_spring1415/slides/lecture2_segmentation.pdf" %}

{% embed url="http://blog.qure.ai/notes/semantic-segmentation-deep-learning-review" %}

{% embed url="https://sthalles.github.io/deep_segmentation_network/" %}

{% embed url="https://distill.pub/2016/deconv-checkerboard/" %}

