Traceback (most recent call last):


 "balloon.py", line 4, in <module>

from detectron2.structures import BoxMode


 "/Users/firetiti/Downloads/detectron2-master/detectron2/structures/__init__.py", line 2, in <module>

from .boxes import Boxes, BoxMode, pairwise_iou


 "/Users/firetiti/Downloads/detectron2-master/detectron2/structures/boxes.py", line 8, in <module>

from detectron2.layers import cat


 "/Users/firetiti/Downloads/detectron2-master/detectron2/layers/__init__.py", line 5, in <module>

from .nms import batched_nms, batched_nms_rotated, nms, nms_rotated


 "/Users/firetiti/Downloads/detectron2-master/detectron2/layers/nms.py", line 5, in <module>

from torchvision.ops import boxes as box_ops


 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/__init__.py", line 1, in <module>

from torchvision import models


 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/models/__init__.py", line 11, in <module>

from . import detection


 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/models/detection/__init__.py", line 1, in <module>

from .faster_rcnn import *


 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/models/detection/faster_rcnn.py", line 7, in <module>

from torchvision.ops import misc as misc_nn_ops


 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/ops/__init__.py", line 1, in <module>

from .boxes import nms, box_iou


 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/ops/boxes.py", line 2, in <module>

from torchvision import _C
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torchvision/_C.cpython-36m-darwin.so, 2): Symbol not found: __ZN6caffe26detail36_typeMetaDataInstance_preallocated_0E

Traceback (most recent call last):

 "script.py", line 169, in <module>
copy_files()

 "script.py", line 151, in copy_files
cairosvg.svg2png(bytestring=bytes(svg,'UTF-8'),write_to=fout)

 "/usr/lib/python3/dist-packages/cairosvg/**init**.py", line 43, in <lambda>
surface_type.convert(_args, *_kwargs))(_surface_type)

 "/usr/lib/python3/dist-packages/cairosvg/surface/__init__.py", line 84, in convert
cls(tree, output, dpi).finish()

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 138, in **init**
self.draw_root(tree)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 191, in draw_root
self.draw(node)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 344, in draw
self.draw(child)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 344, in draw
self.draw(child)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 344, in draw
self.draw(child)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 344, in draw
self.draw(child)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 344, in draw
self.draw(child)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 344, in draw
self.draw(child)

 "/usr/lib/python3/dist-packages/cairosvg/surface/**init**.py", line 300, in draw
TAGS[node.tag](self, node)

 "/usr/lib/python3/dist-packages/cairosvg/surface/path.py", line 324, in path
draw_marker(surface, node, "end")

 "/usr/lib/python3/dist-packages/cairosvg/surface/defs.py", line 279, in draw_marker
angle1 = node.tangents.pop(0)IndexError: pop from empty list