Skip to content

Making ASPP-Layer in DeepLab more generic #2174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2020
Merged

Making ASPP-Layer in DeepLab more generic #2174

merged 1 commit into from
May 4, 2020

Conversation

ArashJavan
Copy link
Contributor

At the moment in the ASPP-Layer, the number of output channels is predefined as a constant,
which is good for DeepLab but not necessarily in other projects, where another out-channel Nr. is required.

Also the number of "atrous rates" is fixed to three, which also could be sometimes more or less depending on the network-arch.
Again these fixed values may make sense in DeepLab-Model but not necessarily in other types of models.

This pull-req. contains the needed changes to make ASPP-Layer generic.

See here.

At the moment in the ASPP-Layer the number of output channels are predefined as a constant,
which is good for DeepLab but not necessairly in other projects, where another out-channel Nr. is required.

Also the number of "atrous rates" is fixed to three, which also could be sometimes more or less depending on the notwork-arch.
Again these fixed values may make sense in DeepLab-Model but not necessarily in other type of models.

This pull-req. contains the needed changes to make ASPP-Layer generic.
@codecov-io
Copy link

codecov-io commented May 2, 2020

Codecov Report

Merging #2174 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #2174   +/-   ##
======================================
  Coverage    0.48%   0.48%           
======================================
  Files          92      92           
  Lines        7442    7440    -2     
  Branches     1135    1136    +1     
======================================
  Hits           36      36           
+ Misses       7393    7391    -2     
  Partials       13      13           
Impacted Files Coverage Δ
torchvision/models/segmentation/deeplabv3.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9ef235...00c3efe. Read the comment docs.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@fmassa fmassa merged commit bd27e94 into pytorch:master May 4, 2020
fmassa pushed a commit to fmassa/vision-1 that referenced this pull request Jul 8, 2020
At the moment in the ASPP-Layer the number of output channels are predefined as a constant,
which is good for DeepLab but not necessairly in other projects, where another out-channel Nr. is required.

Also the number of "atrous rates" is fixed to three, which also could be sometimes more or less depending on the notwork-arch.
Again these fixed values may make sense in DeepLab-Model but not necessarily in other type of models.

This pull-req. contains the needed changes to make ASPP-Layer generic.
facebook-github-bot pushed a commit that referenced this pull request Jul 8, 2020
Summary:
At the moment in the ASPP-Layer the number of output channels are predefined as a constant,
which is good for DeepLab but not necessairly in other projects, where another out-channel Nr. is required.

Also the number of "atrous rates" is fixed to three, which also could be sometimes more or less depending on the notwork-arch.
Again these fixed values may make sense in DeepLab-Model but not necessarily in other type of models.

This pull-req. contains the needed changes to make ASPP-Layer generic.

Pull Request resolved: #2427

Reviewed By: zhangguanheng66

Differential Revision: D22432655

Pulled By: fmassa

fbshipit-source-id: d8c135807ae35f2d7611898a130642afed101e8d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants