(self, data, need_GT=True)
| 205 | |
| 206 | ################# test function and it helpers |
| 207 | def feed_val_data(self, data, need_GT=True): |
| 208 | LQ_IMG = data['LQ'] |
| 209 | GT_IMG = data['GT'] |
| 210 | # LQright_IMG = data['LQright'] |
| 211 | self.var_L = LQ_IMG.to(self.device) |
| 212 | self.de_path = data['LQ_path'] |
| 213 | # self.varright_L = LQright_IMG.to(self.device) |
| 214 | if need_GT: |
| 215 | self.real_H = GT_IMG.to(self.device) |
| 216 | |
| 217 | def split2(self,dataset,size,h,w): |
| 218 | newdataset=[] |