Skip to content

Commit

Permalink
add bmp
Browse files Browse the repository at this point in the history
  • Loading branch information
yippp committed Mar 7, 2018
1 parent 88f6d82 commit 723a730
Show file tree
Hide file tree
Showing 17 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ ENV/
*.pth

*.yip-PC
*.bmp
*.h5
*.CR2
*.dng
Expand Down
2 changes: 1 addition & 1 deletion Report.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ For all images during testing, cut edges pixel according to the padding paramete

| Ground truth | Bicubic upsampling image |
| ------------------------------------------------- | -------------------------------------------------- |
| ![butterfly](./butterfly.bmp) | ![bicubic](./logs/bicubic.bmp) |
| ![butterfly](./bmp/butterfly.bmp) | ![bicubic](./logs/bicubic.bmp) |

#### Iteration

Expand Down
Binary file added bmp/bicubic.bmp
Binary file not shown.
Binary file added bmp/bicubic120.bmp
Binary file not shown.
Binary file added bmp/bicubic127.bmp
Binary file not shown.
Binary file added bmp/bicubic65.bmp
Binary file not shown.
Binary file added bmp/bicubic86.bmp
Binary file not shown.
Binary file added bmp/butterfly.bmp
Binary file not shown.
Binary file added bmp/butterfly120.bmp
Binary file not shown.
Binary file added bmp/butterfly127.bmp
Binary file not shown.
Binary file added bmp/butterfly65.bmp
Binary file not shown.
Binary file added bmp/butterfly86.bmp
Binary file not shown.
Binary file added bmp/butterfly90.bmp
Binary file not shown.
Binary file added bmp/butterfly_crop235.bmp
Binary file not shown.
Binary file added bmp/butterfly_crop244.bmp
Binary file not shown.
Binary file added bmp/butterfly_crop251.bmp
Binary file not shown.
2 changes: 1 addition & 1 deletion solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def predict(self, epoch):
:return:
'''
self.model.eval()
butterfly = load_img('./butterfly86.bmp')
butterfly = load_img('./bmp/butterfly86.bmp')
butterfly = torch.unsqueeze(self.to_tensor(butterfly), 0)
if self.GPU:
data = Variable(butterfly).cuda()
Expand Down

0 comments on commit 723a730

Please sign in to comment.