Yong Liu, Xinxing Xu, Xiuchao Sui, Xiangde Luo, Shaohua Li, Rick Goh
We lifted 20 functions out of this paper's own repositories and ran 13 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| askerlee/segtran | — | 13 of 20 |
| Function | Status | Where it lives |
|---|---|---|
| LearnedSinuPosEmbedder | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("8631456f20d9c1b9") |
| LearnedSoftAggregate | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("ce585f7154f9dc0c") |
| MMPrivateMid | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("060455705ae47d70") |
| MMSharedMid | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("4af27a1b2e04f6f6") |
| MultiHeadFeatTrans | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("6f29f1ac1dd4e5ae") |
| NoneEmbedder | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("86e01c2857885263") |
| RandPosEmbedder | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("4ad6430b01c09cb6") |
| SinuPosEmbedder | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("f0592e287a093c48") |
| SlidingPosBiases2D | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("9519a9bc56a4dc51") |
| SlidingPosBiases3D | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("3287ec7b8fd0c808") |
| fracs_to_indices | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("3fa83a75e1d882d9") |
| multi_resize_shape | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("46cc07a5b47f925b") |
| positionalencoding2d | Ran | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("8835d90bb9dd73b8") |
| CrossAttFeatTrans | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("af5fb5367ebfbfb3") |
| CrossMinceAttFeatTrans | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("5c226db1ced864bd") |
| ExpandedFeatTrans | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("06117d01318bffe8") |
| SegtranFusionEncoder | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("acabdd901645b3e6") |
| SegtranPosEncoder | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("a5f46c66fa54514b") |
| SqueezedAttFeatTrans | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("efcfd592a205f3eb") |
| resize_flat_features | Not yet run | askerlee/segtran/code/networks/segtran_shared.py pointer only (licence: NONE) · get_code("556f05e13b45cdee") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Medical image segmentation is important for computer-aided diagnosis. Good segmentation demands the model to see the big picture and fine details simultaneously, i.e., to learn image features that incorporate large context while keep high spatial resolutions. To approach this goal, the most widely used methods -U-Net and variants, extract and fuse multi-scale features. However, the fused features still have small effective receptive fields with a focus on local image cues, limiting their performance. In this work, we propose Segtran, an alternative segmentation framework based on transformers, which have unlimited effective receptive fields even at high feature resolutions. The core of Segtran is a novel Squeeze-and-Expansion transformer: a squeezed attention block regularizes the self attention of transformers, and an expansion block learns diversified representations. Additionally, we propose a new positional encoding scheme for transformers, imposing a continuity inductive bias for images. Experiments were performed on 2D and 3D medical image segmentation tasks: optic disc/cup segmentation in fundus images (REFUGE'20 challenge), polyp segmentation in colonoscopy images, and brain tumor segmentation in MRI scans (BraTS'19 challenge). Compared with representative existing methods, Segtran consistently achieved the highest segmentation accuracy, and exhibited good cross-domain generalization capabilities. The source code of Segtran is released at https://github.com/askerlee/segtran.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2105.09511")
get_code_for_paper("2105.09511")
have("2105.09511")
Connect an agent — have() is free.