FrancescoSaverioZuppichini / glasses

High-quality Neural Networks for Computer Vision 😎
https://francescosaveriozuppichini.github.io/glasses-webapp/
MIT License
436 stars 37 forks source link

Attention refactor #284

Closed FrancescoSaverioZuppichini closed 3 years ago

FrancescoSaverioZuppichini commented 3 years ago

Fixed Spatial and Channel attention + replace the correct block in different models

codecov-commenter commented 3 years ago

Codecov Report

Merging #284 (06e5dee) into develop (789f965) will decrease coverage by 0.05%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #284      +/-   ##
===========================================
- Coverage    97.37%   97.32%   -0.06%     
===========================================
  Files           86       86              
  Lines         3164     3137      -27     
===========================================
- Hits          3081     3053      -28     
- Misses          83       84       +1     
Impacted Files Coverage Δ
glasses/models/AutoModel.py 78.72% <ø> (ø)
glasses/models/classification/senet/__init__.py 100.00% <ø> (ø)
...ses/models/classification/efficientnet/__init__.py 98.69% <100.00%> (-0.66%) :arrow_down:
glasses/nn/att/__init__.py 100.00% <100.00%> (ø)
glasses/nn/att/se.py 100.00% <100.00%> (ø)
test/test_SENet.py 100.00% <100.00%> (ø)
test/test_att.py 100.00% <100.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 789f965...06e5dee. Read the comment docs.