MCPcopy Create free account
hub / github.com/JunlinHan/DCLGAN / get_current_visuals

Method get_current_visuals

models/base_model.py:148–154  ·  view source on GitHub ↗

Return visualization images. train.py will display these images with visdom, and save the images to a HTML

(self)

Source from the content-addressed store, hash-verified

146 print('learning rate = %.7f' % lr)
147
148 def get_current_visuals(self):
149 """Return visualization images. train.py will display these images with visdom, and save the images to a HTML"""
150 visual_ret = OrderedDict()
151 for name in self.visual_names:
152 if isinstance(name, str):
153 visual_ret[name] = getattr(self, name)
154 return visual_ret
155
156 def get_current_losses(self):
157 """Return traning losses / errors. train.py will print out these errors on console, and save them to a file"""

Callers 2

train.pyFile · 0.80
test.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected