Skip to content

Commit

Permalink
fix a bug in deeplabv3 (PaddlePaddle#541)
Browse files Browse the repository at this point in the history
* fix a shape typo

* replace F.droput with nn.Dropout

* add ann 80k configs

* add ann 80k configs

* add ann 80k

* add gcnet 80k

* add fastscnn 160k

* take align_corners as a configurable argument

* delete ann 160k

* delete ann 160k

* delete gcnet 160k

* fix a bug
  • Loading branch information
aigcliu authored Nov 2, 2020
1 parent 062cebf commit 9ec92a1
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 59 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion dygraph/paddleseg/models/deeplab.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __init__(self,

self.head = DeepLabV3Head(num_classes, backbone_indices,
backbone_channels, aspp_ratios,
aspp_out_channels)
aspp_out_channels, align_corners)
self.align_corners = align_corners
self.pretrained = pretrained
self.init_weight()
Expand Down

0 comments on commit 9ec92a1

Please sign in to comment.