Traceback (most recent call last):


 "train_extractor_ml.py", line 237, in <module>

main(args)


 "train_extractor_ml.py", line 179, in main

trainer.train()


 "/home/eddiewng/LCSTS/fast_abs_rl/training.py", line 211, in train

log_dict = self._pipeline.train_step()


 "/home/eddiewng/LCSTS/fast_abs_rl/training.py", line 96, in train_step

net_out = self._net(*fw_args)


 "/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__

result = self.forward(*input, **kwargs)


 "/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 276, in forward

enc_out = self._encode(article_sents, sent_nums)


 "/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 296, in _encode

for art_sent in article_sents]


 "/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 296, in <listcomp>

for art_sent in article_sents]


 "/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__

result = self.forward(*input, **kwargs)


 "/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 31, in forward

for conv in self._convs], dim=1)


 "/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 31, in <listcomp>

for conv in self._convs], dim=1)


 "/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__

result = self.forward(*input, **kwargs)


 "/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 176, in forward

self.padding, self.dilation, self.groups)
RuntimeError: Expected tensor for argument #1 'input' to have the same dimension as tensor for 'result'; but 4 does not equal 3 (while checking arguments for cudnn_convolution)

Traceback (most recent call last):


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/app/backends/_qt.py", line 825, in paintGL

self._vispy_canvas.events.draw(region=None)


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/util/event.py", line 455, in __call__

self._invoke_callback(cb, event)


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/util/event.py", line 473, in _invoke_callback

_handle_exception(self.ignore_callback_errors,


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/util/event.py", line 471, in _invoke_callback

cb(event)


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/context.py", line 175, in flush_commands

self.shared.parser.parse([('CURRENT', 0, fbo)])


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/glir.py", line 819, in parse

self._parse(command)


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/glir.py", line 743, in _parse

self._gl_initialize()


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/glir.py", line 836, in _gl_initialize

gl.glEnable(GL_VERTEX_PROGRAM_POINT_SIZE)


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/gl/_gl2.py", line 444, in glEnable

nativefunc = glEnable._native = _get_gl_func("glEnable", None, (ctypes.c_uint,))


 "/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/gl/gl2.py", line 69, in _get_gl_func

raise RuntimeError('Could not load OpenGL library, gl cannot be used')
RuntimeError: Could not load OpenGL library, gl cannot be used
