pystiche / papers

Reference implementation and replication of prominent NST papers
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

add data augmentation to sanakoyeu_et_al_2018 #183

Closed pmeier closed 4 years ago

pmeier commented 4 years ago

This adds the image augmentation pipeline that was split off from #162 (and later #177 ). For the augmentation transforms we pull kornia as dependency. Given that pystiche has already started to replace the custom transforms with kornia and it will be a dependency in the future anyway, this should be fine.

ToDo:

codecov[bot] commented 4 years ago

Codecov Report

Merging #183 into sanakoyeu-2018 will decrease coverage by 1.0%. The diff coverage is 89.4%.

Impacted file tree graph

@@               Coverage Diff                @@
##           sanakoyeu-2018    #183     +/-   ##
================================================
- Coverage            98.7%   97.6%   -1.1%     
================================================
  Files                  42      44      +2     
  Lines                1624    1897    +273     
================================================
+ Hits                 1603    1852    +249     
- Misses                 21      45     +24     
Impacted Files Coverage Δ
...tiche_papers/sanakoyeu_et_al_2018/_augmentation.py 88.6% <88.6%> (ø)
pystiche_papers/sanakoyeu_et_al_2018/__init__.py 100.0% <100.0%> (ø)
pystiche_papers/sanakoyeu_et_al_2018/_data.py 100.0% <100.0%> (ø)
pystiche_papers/utils/misc.py 97.2% <100.0%> (+0.1%) :arrow_up:
pystiche_papers/utils/modules.py 98.1% <100.0%> (-0.1%) :arrow_down:
pystiche_papers/sanakoyeu_et_al_2018/_loss.py 100.0% <0.0%> (ø)
pystiche_papers/sanakoyeu_et_al_2018/_modules.py 94.5% <0.0%> (+0.6%) :arrow_up:
pystiche_papers/johnson_alahi_li_2016/_modules.py 100.0% <0.0%> (+4.1%) :arrow_up:

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 5d1b16e...1cae4df. Read the comment docs.