MCPcopy Create free account
hub / github.com/RylonW/DocNLC / get_current_visuals

Method get_current_visuals

models/SIEN_model.py:409–416  ·  view source on GitHub ↗
(self, need_GT=True)

Source from the content-addressed store, hash-verified

407 return self.log_dict
408
409 def get_current_visuals(self, need_GT=True):
410 out_dict = OrderedDict()
411 out_dict['LQ'] = self.var_L.detach()[0].float().cpu()
412 # out_dict['rlt'] = self.fake_H.detach()[0].float().cpu()
413 out_dict['rlt'] = self.fake_H
414 if need_GT:
415 out_dict['GT'] = self.real_H.detach()[0].float().cpu()
416 return out_dict
417
418 def print_network(self):
419 s, n = self.get_network_description(self.netG)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected