Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjun2hao committed Jun 10, 2021
1 parent 79e13e5 commit bc0e193
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion experiments/cityscapes/ddrnet23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ TEST:
FLIP_TEST: true
MULTI_SCALE: false
MODEL_FILE: "pretrained_models/best_val.pth"
OUTPUT_INDEX: 0
OUTPUT_INDEX: 1
2 changes: 1 addition & 1 deletion experiments/cityscapes/ddrnet23_slim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ TEST:
SCALE_LIST: [1]
#0.5,0.75,1.0,1.25,1.5,1.75
# MODEL_FILE: "pretrained_models/best_val_smaller.pth"
OUTPUT_INDEX: 0
OUTPUT_INDEX: 1
2 changes: 1 addition & 1 deletion experiments/cityscapes/ddrnet39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ TEST:
FLIP_TEST: true
MULTI_SCALE: false
MODEL_FILE:
OUTPUT_INDEX: 0
OUTPUT_INDEX: 1
2 changes: 1 addition & 1 deletion lib/models/ddrnet_23.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def forward(self, x):

if self.augment:
x_extra = self.seghead_extra(temp)
return [x_, x_extra]
return [x_extra, x_]
else:
return x_

Expand Down
2 changes: 1 addition & 1 deletion lib/models/ddrnet_23_slim.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def forward(self, x):

if self.augment:
x_extra = self.seghead_extra(temp)
return [x_, x_extra]
return [x_extra, x_]
else:
return x_

Expand Down
2 changes: 1 addition & 1 deletion lib/models/ddrnet_39.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def forward(self, x):

if self.augment:
x_extra = self.seghead_extra(temp)
return [x_, x_extra]
return [x_extra, x_]
else:
return x_

Expand Down

0 comments on commit bc0e193

Please sign in to comment.