|
Algorithm 1 TASC-SwinMT Forward Propagation |
Require: Input frames
Ensure: Interpolated frame , segmentation masks
-
1:
Concatenate input frames:
-
2:
Patch embedding:
-
3:
Extract shared features and record skip connections :
-
4:
for to 4 do
-
5:
-
6:
-
7:
-
8:
if then
-
9:
-
10:
end if
-
11:
end for
-
12:
Initialize dual decoders:
-
13:
-
14:
-
15:
for to 3 do
-
16:
-
17:
-
18:
-
19:
-
20:
-
21:
-
22:
-
23:
end for
-
24:
Generate final outputs: ,
-
25:
Split multi-frame segmentation masks:
-
26:
return
|