Traceback (most recent call last):


 "det_on_tx2.py", line 41, in <module>

model.load_state_dict(torch.load(trt_model_fn))


 "/home/jario/.local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 824, in load_state_dict

load(self)


 "/home/jario/.local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 819, in load

state_dict, prefix, local_metadata, True, missing_keys, unexpected_keys, error_msgs)


 "/usr/local/lib/python2.7/dist-packages/torch2trt/torch2trt.py", line 308, in _load_from_state_dict

self.context = self.engine.create_execution_context()
AttributeError: 'NoneType' object has no attribute 'create_execution_context'

Traceback (most recent call last):


 "/home/varac/.local/lib/python3.6/site-packages/alot-0.7-py3.6.egg/alot/ui.py", line 268, in apply_commandline

await apply_this_command(c)


 "/home/varac/.local/lib/python3.6/site-packages/alot-0.7-py3.6.egg/alot/ui.py", line 713, in apply_command

self._error_handler(e)


 "/home/varac/.local/lib/python3.6/site-packages/alot-0.7-py3.6.egg/alot/ui.py", line 151, in _error_handler

self.notify(msg, priority='error')


 "/home/varac/.local/lib/python3.6/site-packages/alot-0.7-py3.6.egg/alot/ui.py", line 612, in notify

self.update()


 "/home/varac/.local/lib/python3.6/site-packages/alot-0.7-py3.6.egg/alot/ui.py", line 656, in update

self.mainloop.draw_screen()


 "/home/varac/.local/lib/python3.6/site-packages/urwid/main_loop.py", line 586, in draw_screen

canvas = self._topmost_widget.render(self.screen_size, focus=True)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/widget.py", line 144, in cached_render

canv = fn(self, size, focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/decoration.py", line 226, in render

canv = self._original_widget.render(size, focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/widget.py", line 144, in cached_render

canv = fn(self, size, focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/container.py", line 1086, in render

focus and self.focus_part == 'body')


 "/home/varac/.local/lib/python3.6/site-packages/alot-0.7-py3.6.egg/alot/buffers/thread.py", line 128, in render

return self.body.render(size, focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/widget.py", line 144, in cached_render

canv = fn(self, size, focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/widget.py", line 1765, in render

canv = get_delegate(self).render(size, focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/widget.py", line 144, in cached_render

canv = fn(self, size, focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/listbox.py", line 471, in render

(maxcol, maxrow), focus=focus)


 "/home/varac/.local/lib/python3.6/site-packages/urwid/listbox.py", line 416, in calculate_visible

next, pos = self._body.get_next( pos )


 "/home/varac/.local/lib/python3.6/site-packages/urwidtrees/widgets.py", line 82, in get_next

return self._get(self._tree.next_position(pos))


 "/home/varac/.local/lib/python3.6/site-packages/urwidtrees/widgets.py", line 68, in _get

res = self[pos], pos


 "/home/varac/.local/lib/python3.6/site-packages/urwidtrees/widgets.py", line 54, in __getitem__

entry = self._tree.get_decorated(pos)


 "/home/varac/.local/lib/python3.6/site-packages/urwidtrees/nested.py", line 88, in get_decorated

return self._get_decorated_entry(self._tree, pos)


 "/home/varac/.local/lib/python3.6/site-packages/urwidtrees/nested.py", line 84, in _get_decorated_entry

entry = tree.decorate(pos[0], entry, is_first=isf)


 "/home/varac/.local/lib/python3.6/site-packages/urwidtrees/decoration.py", line 472, in decorate

line = urwid.Columns(cols, box_columns=range(len(cols))[:-1])


 "/home/varac/.local/lib/python3.6/site-packages/urwid/container.py", line 1768, in __init__

if focus_column is None and w.selectable():
AttributeError: 'NoneType' object has no attribute 'selectable'
