question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please remove caffe2 include

See original GitHub issue

I am using torch1.11 '1.11.0.dev20211125+cu111' since d2go need torch.ao.quantization imports.

But I got error:

from caffe2.proto import caffe2_pb2, metanet_pb2, torch_pb2
ImportError: cannot import name 'metanet_pb2' from 'caffe2.proto'

that’s a little embrassing. I need torch1.11 for torch.ao, but it doesn’t have caffe2… but I need caffe2 in d2go…

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ppwwyyxxcommented, Nov 29, 2021

Duplicate of #137

0reactions
zhanghang1989commented, Dec 1, 2021

That PR is already merged. If you still experiencing the issue. Try install pytorch nightly

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ / Troubleshooting Help - Caffe2
What operating systems are supported? What languages does Caffe2 support? How do I use Caffe2 with my GPU? What are all of these...
Read more >
Uninstall Caffe - Google Groups
Hello,. i have installed caffe in my ubuntu 16.06 without gpu support!!! now i want to install it wth gpu support, please how...
Read more >
torch.onnx — PyTorch 1.13 documentation
If you are experiencing issues exporting a model that does not include any of the unsupported patterns below, please double check that you...
Read more >
Ubuntu Installation - Caffe
Everything including caffe itself is packaged in 17.04 and higher versions. To install pre-compiled Caffe package, just do it by. sudo apt install...
Read more >
caffe: error with protobuf version - Stack Overflow
I suspect your problem is that you have multiple versions of protobuf in your include path. It may be picking up the headers...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found