(self)
| 76 | self.img = F.pad(self.img, (0, self.mod_pad_w, 0, self.mod_pad_h), 'reflect') |
| 77 | |
| 78 | def process(self): |
| 79 | # model inference |
| 80 | self.output = self.model(self.img) |
| 81 | |
| 82 | def tile_process(self): |
| 83 | """It will first crop input images to tiles, and then process each tile. |