MCPcopy Create free account
hub / github.com/DragonisCV/RAM / get_current_visuals

Method get_current_visuals

ram/models/ram_base_model.py:130–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 self.net_g.train()
129
130 def get_current_visuals(self):
131 out_dict = OrderedDict()
132 out_dict['lq'] = self.lq.detach().cpu()
133 out_dict['result'] = self.output.detach().cpu()
134 if hasattr(self, 'gt'):
135 out_dict['gt'] = self.gt.detach().cpu()
136 return out_dict
137
138
139 @master_only

Callers 1

save_imageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected