Skip to content

The two branches of ENet are same #7

Description

@aeinrw

# 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions