Skip to content

Commit

Permalink
Update ISR.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ss8319 authored Apr 7, 2022
1 parent 9169a79 commit f5dcb1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ISR.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
model = RDN(weights='psnr-large')

#Create Baseline
# img.size[0]*2 : int here tells us zoom factor
# resample: allows us to choose other mathematicl functions
bicubic_img=img.resize(size=(img.size[0]*2, img.size[1]*2), resample=Image.BICUBIC)

#Save
Expand Down

0 comments on commit f5dcb1f

Please sign in to comment.