<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="drawio" compressed="false">
  <diagram id="p1" name="SegFormer">
<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="g" value="" style="group;" vertex="1" connectable="0" parent="1"><mxGeometry width="830" height="331" as="geometry"/></mxCell><mxCell id="n1" value="Image H x W x 3" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#F8CECC;strokeColor=#B85450;fontSize=12;" vertex="1" parent="g"><mxGeometry x="10" y="10" width="170" height="30" as="geometry"/></mxCell><mxCell id="n2" value="Stage 1: Overlap PE +&lt;br&gt;Transformer Block × N&lt;sub&gt;1&lt;/sub&gt;" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#E1D5E7;strokeColor=#9673A6;fontSize=12;" vertex="1" parent="g"><mxGeometry x="10" y="70" width="170" height="40" as="geometry"/></mxCell><mxCell id="n3" value="Stage 2: Overlap PE +&lt;br&gt;Transformer Block × N&lt;sub&gt;2&lt;/sub&gt;" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#E1D5E7;strokeColor=#9673A6;fontSize=12;" vertex="1" parent="g"><mxGeometry x="10" y="130" width="170" height="40" as="geometry"/></mxCell><mxCell id="n4" value="Stage 3: Overlap PE +&lt;br&gt;Transformer Block × N&lt;sub&gt;3&lt;/sub&gt;" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#E1D5E7;strokeColor=#9673A6;fontSize=12;" vertex="1" parent="g"><mxGeometry x="10" y="190" width="170" height="40" as="geometry"/></mxCell><mxCell id="n5" value="Stage 4: Overlap PE +&lt;br&gt;Transformer Block × N&lt;sub&gt;4&lt;/sub&gt;" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#E1D5E7;strokeColor=#9673A6;fontSize=12;" vertex="1" parent="g"><mxGeometry x="10" y="250" width="170" height="40" as="geometry"/></mxCell><mxCell id="n6" value="C" style="shape=ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontColor=#333333;strokeWidth=1.5;fontStyle=1;fontFamily=Times New Roman;fillColor=#FFFFFF;strokeColor=#666666;fontSize=16;" vertex="1" parent="g"><mxGeometry x="425" y="165" width="30" height="30" as="geometry"/></mxCell><mxCell id="n7" value="MLP" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFE6CC;strokeColor=#D79B00;fontSize=12;" vertex="1" parent="g"><mxGeometry x="220" y="77" width="70" height="26" as="geometry"/></mxCell><mxCell id="n8" value="Up x1" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#DCEEF8;strokeColor=#56A5C9;fontSize=12;" vertex="1" parent="g"><mxGeometry x="315" y="77" width="70" height="26" as="geometry"/></mxCell><mxCell id="n9" value="H/4" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontColor=#999999;fontFamily=Times New Roman;" vertex="1" connectable="0" parent="g"><mxGeometry x="183" y="73" width="34" height="14" as="geometry"/></mxCell><mxCell id="n10" value="MLP" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFE6CC;strokeColor=#D79B00;fontSize=12;" vertex="1" parent="g"><mxGeometry x="220" y="137" width="70" height="26" as="geometry"/></mxCell><mxCell id="n11" value="Up x2" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#DCEEF8;strokeColor=#56A5C9;fontSize=12;" vertex="1" parent="g"><mxGeometry x="315" y="137" width="70" height="26" as="geometry"/></mxCell><mxCell id="n12" value="H/8" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontColor=#999999;fontFamily=Times New Roman;" vertex="1" connectable="0" parent="g"><mxGeometry x="183" y="133" width="34" height="14" as="geometry"/></mxCell><mxCell id="n13" value="MLP" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFE6CC;strokeColor=#D79B00;fontSize=12;" vertex="1" parent="g"><mxGeometry x="220" y="197" width="70" height="26" as="geometry"/></mxCell><mxCell id="n14" value="Up x4" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#DCEEF8;strokeColor=#56A5C9;fontSize=12;" vertex="1" parent="g"><mxGeometry x="315" y="197" width="70" height="26" as="geometry"/></mxCell><mxCell id="n15" value="H/16" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontColor=#999999;fontFamily=Times New Roman;" vertex="1" connectable="0" parent="g"><mxGeometry x="183" y="193" width="34" height="14" as="geometry"/></mxCell><mxCell id="n16" value="MLP" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFE6CC;strokeColor=#D79B00;fontSize=12;" vertex="1" parent="g"><mxGeometry x="220" y="257" width="70" height="26" as="geometry"/></mxCell><mxCell id="n17" value="Up x8" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#DCEEF8;strokeColor=#56A5C9;fontSize=12;" vertex="1" parent="g"><mxGeometry x="315" y="257" width="70" height="26" as="geometry"/></mxCell><mxCell id="n18" value="H/32" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontColor=#999999;fontFamily=Times New Roman;" vertex="1" connectable="0" parent="g"><mxGeometry x="183" y="253" width="34" height="14" as="geometry"/></mxCell><mxCell id="n19" value="MLP (fuse)" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFE6CC;strokeColor=#D79B00;fontSize=12;" vertex="1" parent="g"><mxGeometry x="480" y="167" width="90" height="26" as="geometry"/></mxCell><mxCell id="n20" value="MLP" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFE6CC;strokeColor=#D79B00;fontSize=12;" vertex="1" parent="g"><mxGeometry x="600" y="167" width="70" height="26" as="geometry"/></mxCell><mxCell id="n21" value="Mask&lt;br&gt;H/4 x W/4 x N&lt;sub&gt;cls&lt;/sub&gt;" style="rounded=1;arcSize=8;whiteSpace=wrap;html=1;fontColor=#333333;strokeWidth=1.5;fontFamily=Times New Roman;fillColor=#FFF2CC;strokeColor=#D6B656;fontSize=12;" vertex="1" parent="g"><mxGeometry x="700" y="160" width="120" height="40" as="geometry"/></mxCell><mxCell id="n22" value="Hierarchical Encoder (MiT)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=2;fontColor=#333333;fontFamily=Times New Roman;" vertex="1" connectable="0" parent="g"><mxGeometry x="10" y="305" width="170" height="16" as="geometry"/></mxCell><mxCell id="n23" value="All-MLP Decoder" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=2;fontColor=#333333;fontFamily=Times New Roman;" vertex="1" connectable="0" parent="g"><mxGeometry x="220" y="305" width="280" height="16" as="geometry"/></mxCell><mxCell id="e1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n1" target="n2" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n2" target="n3" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n3" target="n4" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n4" target="n5" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n2" target="n7" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n7" target="n8" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n8" target="n6" parent="g"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="410" y="90"/><mxPoint x="410" y="180"/></Array></mxGeometry></mxCell><mxCell id="e8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n3" target="n10" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n10" target="n11" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n11" target="n6" parent="g"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="410" y="150"/><mxPoint x="410" y="180"/></Array></mxGeometry></mxCell><mxCell id="e11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n4" target="n13" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n13" target="n14" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n14" target="n6" parent="g"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="410" y="210"/><mxPoint x="410" y="180"/></Array></mxGeometry></mxCell><mxCell id="e14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n5" target="n16" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n16" target="n17" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n17" target="n6" parent="g"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="410" y="270"/><mxPoint x="410" y="180"/></Array></mxGeometry></mxCell><mxCell id="e17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n6" target="n19" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n19" target="n20" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell><mxCell id="e19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;strokeColor=#333333;strokeWidth=1.5;fontSize=11;fontColor=#333333;labelBackgroundColor=#FFFFFF;fontFamily=Times New Roman;endArrow=block;endFill=1;endSize=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" source="n20" target="n21" parent="g"><mxGeometry relative="1" as="geometry"></mxGeometry></mxCell></root></mxGraphModel>
  </diagram>
</mxfile>
