TannerGilbert / Object-Detection-and-Image-Segmentation-with-Detectron2

Object Detection and Image Segmentation with Detectron2
https://gilberttanner.com/blog/detectron-2-object-detection-with-pytorch
MIT License
153 stars 40 forks source link

ImportError: cannot import name 'Caffe2Tracer' #13

Closed maiiabocharova closed 2 years ago

maiiabocharova commented 2 years ago

Hello, can you please help me and say which exactly versions you used. Because I am getting this error ImportError: cannot import name 'Caffe2Tracer' from 'detectron2.export' (/usr/local/lib/python3.7/dist-packages/detectron2/export/__init__.py)

I looked into the source code and the issue comes from the from torch.caffe2.proto import caffe2_pb2 which I am not able to import.

(I am trying to export the model following your tutorial in colab)

Please, please help!

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days