MCPcopy
hub / github.com/jindongwang/transferlearning / log

Method log

code/deep/adarnn/utils/visualize.py:44–52  ·  view source on GitHub ↗

self.log({'loss':1, 'lr':0.0001})

(self, info, title='log_text')

Source from the content-addressed store, hash-verified

42 )
43
44 def log(self, info, title='log_text'):
45 """
46 self.log({'loss':1, 'lr':0.0001})
47 """
48
49 log_text = ('[{time}] {info} <br>'.format(
50 time=time.strftime('%m%d_%H%M%S'),\
51 info=info))
52 self.vis.text(log_text, title, append=True)
53
54
55if __name__ == '__main__':

Callers 15

fit_predictMethod · 0.80
test_ic_uniFunction · 0.80
forwardMethod · 0.80
logcoshFunction · 0.80
kl_divFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
_logpMethod · 0.80
elbo_z2xyFunction · 0.80
elbo_z2xy_twistFunction · 0.80
logpMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 1

test_ic_uniFunction · 0.64