(self, data, need_GT=True)
| 145 | self.log_dict = OrderedDict() |
| 146 | |
| 147 | def feed_data(self, data, need_GT=True): |
| 148 | LQ_IMG = data['LQ'] |
| 149 | GT_IMG = data['GT'] |
| 150 | # LQright_IMG = data['LQright'] |
| 151 | self.var_L = LQ_IMG.to(self.device) |
| 152 | self.de_path = data['LQ_path'] |
| 153 | # self.varright_L = LQright_IMG.to(self.device) |
| 154 | if need_GT: |
| 155 | self.real_H = GT_IMG.to(self.device) |
| 156 | # print('max:',max(LQ_IMG), 'min:',min(LQ_IMG)) |
| 157 | |
| 158 | def set_params_lr_zero(self): |
| 159 | # fix normal module |
nothing calls this directly
no outgoing calls
no test coverage detected