User Tools

Site Tools


cs501r_f2018:lab6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cs501r_f2018:lab6 [2018/10/09 19:11]
sadler [Description:]
cs501r_f2018:lab6 [2018/10/09 19:26]
sadler [Description:]
Line 147: Line 147:
  
     if epoch % print_every == 0:     if epoch % print_every == 0:
-        print('​[%s (%d %d%%) %.4f]' % (time_since(start), epoch, epoch / n_epochs * 100, loss_))+        print('​[%s (%d %d%%) %.4f]' % (time.time() - start, epoch, epoch / n_epochs * 100, loss_))
         print(evaluate('​Wh',​ 100), '​\n'​)         print(evaluate('​Wh',​ 100), '​\n'​)
  
cs501r_f2018/lab6.txt ยท Last modified: 2021/06/30 23:42 (external edit)