Traceback (most recent call last):


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

train(args)


 "train.py", line 48, in train

legend=['Loss']))


 "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 206, in result

return fn(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 769, in line

update=update, name=name)


 "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 206, in result

return fn(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 635, in scatter

assert Y.ndim == 1, 'Y should be one-dimensional'
AssertionError: Y should be one-dimensional

Traceback (most recent call last):


 "x.py", line 21, in <module>

numbaFailure(x, y)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/dispatcher.py", line 360, in _compile_for_args

raise e


 "/home/lumin/.local/lib/python3.6/site-packages/numba/dispatcher.py", line 311, in _compile_for_args

return self.compile(tuple(argtypes))


 "/home/lumin/.local/lib/python3.6/site-packages/numba/dispatcher.py", line 618, in compile

cres = self._compiler.compile(args, return_type)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/dispatcher.py", line 83, in compile

pipeline_class=self.pipeline_class)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 871, in compile_extra

return pipeline.compile_extra(func)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 365, in compile_extra

return self._compile_bytecode()


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 802, in _compile_bytecode

return self._compile_core()


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 789, in _compile_core

res = pm.run(self.status)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 251, in run

raise patched_exception


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 243, in run

stage()


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 436, in stage_objectmode_frontend

cres = self.frontend_looplift()


 "/home/lumin/.local/lib/python3.6/site-packages/numba/compiler.py", line 416, in frontend_looplift

flags=loop_flags)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/transforms.py", line 211, in loop_lifting

cfg = compute_cfg_from_blocks(blocks)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/analysis.py", line 213, in compute_cfg_from_blocks

cfg.add_edge(k, target)


 "/home/lumin/.local/lib/python3.6/site-packages/numba/controlflow.py", line 83, in add_edge

assert dest in self._nodes
AssertionError: Failed at object (object mode frontend)
