Traceback (most recent call last):

 "window.py", line 44, in <module>
loop.run()

 "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 274, in run
self.screen.run_wrapper(self._run)

 "/usr/lib/python3.4/site-packages/urwid/raw_display.py", line 268, in run_wrapper
return fn()

 "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 314, in _run
self.draw_screen()

 "/usr/lib/python3.4/site-packages/urwid/main_loop.py", line 565, in draw_screen
canvas = self._topmost_widget.render(self.screen_size, focus=True)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/decoration.py", line 816, in render
canv = self._original_widget.render((maxcol,), focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 1750, in render
canv = get_delegate(self).render(size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/container.py", line 1516, in render
canv = w.render((maxcol,), focus=focus and item_focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/decoration.py", line 403, in render
canv = self._original_widget.render((maxcol, self.height), focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/decoration.py", line 818, in render
canv = self._original_widget.render((maxcol,maxrow-top-bottom),focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/decoration.py", line 225, in render
canv = self._original_widget.render(size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 141, in cached_render
canv = fn(self, size, focus=focus)

 "/usr/lib/python3.4/site-packages/urwid/widget.py", line 1003, in render
(maxcol,) = sizeValueError: too many values to unpack (expected 1)
Traceback (most recent call last):


 "train.py", line 447, in <module>

results = train(hyp.copy())


 "train.py", line 47, in train

log_dir = tb_writer.log_dir
# run directory
AttributeError: 'NoneType' object has no attribute 'log_dir'