-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md with more examples and results
Results are computed on luminance channels with EDSR/DIV2K method, instead of RGB before
- Loading branch information
Gabriel Gouvine
authored and
Gabriel Gouvine
committed
May 15, 2021
1 parent
92e2dfd
commit c94b246
Showing
2 changed files
with
94 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
#!/bin/sh | ||
# Evaluate on luminance channels, removing the border pixel; this is the convention used by most publications | ||
|
||
for scale in 2 3 4 | ||
do | ||
for arch in edsr_baseline edsr ninasr_b0 ninasr_b1 ninasr_b2 rcan rdn carn carn_m | ||
for dataset in div2k_bicubic | ||
do | ||
echo -n "${arch} x${scale}: " | ||
python main.py --validation-only --arch $arch --scale $scale --chop-size 400 --download-pretrained | ||
for arch in carn carn_m edsr_baseline edsr ninasr_b0 ninasr_b1 ninasr_b2 rcan rdn | ||
do | ||
echo -n "${dataset} ${arch} x${scale}: " | ||
python main.py --validation-only --arch $arch --scale $scale --dataset-val $dataset --chop-size 400 --download-pretrained --shave-border $scale --eval-luminance | ||
done | ||
done | ||
done | ||
|
||
for scale in 8 | ||
do | ||
for dataset in div2k_bicubic | ||
do | ||
for arch in ninasr_b0 ninasr_b1 ninasr_b2 rcan | ||
do | ||
echo -n "${dataset} ${arch} x${scale}: " | ||
python main.py --validation-only --arch $arch --scale $scale --dataset-val $dataset --chop-size 400 --download-pretrained --shave-border $scale --eval-luminance | ||
done | ||
done | ||
done |