|
# Binary Segmentation |
|
# Stage3 |
|
x1 = self.semBottleNeck3_0(x) |
|
x1 = self.semBottleNeck3_1(x1) |
|
x1 = self.semBottleNeck3_2(x1) |
|
x1 = self.semBottleNeck3_3(x1) |
|
x1 = self.semBottleNeck3_4(x1) |
|
x1 = self.semBottleNeck3_5(x1) |
|
x1 = self.semBottleNeck3_6(x1) |
|
x1 = self.semBottleNeck3_7(x1) |
|
|
|
# Stage4 |
|
x1 = self.semBottleNeck4_0(x1, ind_2) |
|
x1 = self.semBottleNeck4_1(x1) |
|
x1 = self.semBottleNeck4_2(x1) |
|
|
|
# Stage5 |
|
x1 = self.semBottleNeck5_0(x1, ind_1) |
|
x1 = self.semBottleNeck5_1(x1) |
|
|
|
# Instance Segmentation |
|
# Stage3 |
|
x2 = self.semBottleNeck3_0(x) |
|
x2 = self.semBottleNeck3_1(x2) |
|
x2 = self.semBottleNeck3_2(x2) |
|
x2 = self.semBottleNeck3_3(x2) |
|
x2 = self.semBottleNeck3_4(x2) |
|
x2 = self.semBottleNeck3_5(x2) |
|
x2 = self.semBottleNeck3_6(x2) |
|
x2 = self.semBottleNeck3_7(x2) |
|
|
|
# Stage4 |
|
x2 = self.semBottleNeck4_0(x2, ind_2) |
|
x2 = self.semBottleNeck4_1(x2) |
|
x2 = self.semBottleNeck4_2(x2) |
|
|
|
# Stage5 |
|
x2 = self.semBottleNeck5_0(x2, ind_1) |
|
x2 = self.semBottleNeck5_1(x2) |
Is this wrong?
# Binary Segmentation
# Stage3
x1 = self.semBottleNeck3_0(x)
x1 = self.semBottleNeck3_1(x1)
x1 = self.semBottleNeck3_2(x1)
x1 = self.semBottleNeck3_3(x1)
x1 = self.semBottleNeck3_4(x1)
x1 = self.semBottleNeck3_5(x1)
x1 = self.semBottleNeck3_6(x1)
x1 = self.semBottleNeck3_7(x1)
# Stage4
x1 = self.semBottleNeck4_0(x1, ind_2)
x1 = self.semBottleNeck4_1(x1)
x1 = self.semBottleNeck4_2(x1)
# Stage5
x1 = self.semBottleNeck5_0(x1, ind_1)
x1 = self.semBottleNeck5_1(x1)
# Instance Segmentation
# Stage3
x2 = self.insBottleNeck3_0(x)
x2 = self.insBottleNeck3_1(x2)
x2 = self.insBottleNeck3_2(x2)
x2 = self.insBottleNeck3_3(x2)
x2 = self.insBottleNeck3_4(x2)
x2 = self.insBottleNeck3_5(x2)
x2 = self.insBottleNeck3_6(x2)
x2 = self.insBottleNeck3_7(x2)
# Stage4
x2 = self.insBottleNeck4_0(x2, ind_2)
x2 = self.insBottleNeck4_1(x2)
x2 = self.insBottleNeck4_2(x2)
# Stage5
x2 = self.insBottleNeck5_0(x2, ind_1)
x2 = self.insBottleNeck5_1(x2)
Road-Lane-Instance-Segmentation-PyTorch/enet.py
Lines 378 to 416 in ddf2a19
Is this wrong?