Traceback (most recent call last):


 "/tmp/nix-build-python3.6-bpython-0.17.drv-0/bpython-0.17/bpython/test/test_curtsies_repl.py", line 407, in setUp

self.repl = create_repl()


 "/tmp/nix-build-python3.6-bpython-0.17.drv-0/bpython-0.17/bpython/test/test_curtsies_repl.py", line 235, in create_repl

repl = curtsiesrepl.BaseRepl(config=config, **kwargs)


 "/tmp/nix-build-python3.6-bpython-0.17.drv-0/bpython-0.17/bpython/curtsiesfrontend/repl.py", line 405, in __init__

fileno=sys.__stdout__.fileno())
ValueError: underlying buffer has been detached

Traceback (most recent call last):


 "demo/demo.py", line 24, in <module>

text_color=(72, 101, 241))


 "/Users/yiqi/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/models/detectors/base.py", line 352, in show_result

out_file=out_file)


 "/Users/yiqi/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/core/visualization/image.py", line 166, in imshow_det_bboxes

img_rgba = buffer.reshape(height, width, 4)
ValueError: cannot reshape array of size 1090560 into shape (427,640,4)
