Segmentation fault
See original GitHub issue1.When I install caffe2 and onnx with conda
conda install -c caffe2 caffe2
conda install -c conda-forge onnx
conda install -c conda-forge protobuf numpy
python -c "import onnx"
this error occurs
Segmentation fault
and
python
(1)import caffe2.python.onnx.frontend
this error occurs
WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.
WARNING:root:Debug message: No module named 'caffe2.python.caffe2_pybind11_state_gpu'
Segmentation fault
(2)import caffe2.python.onnx.backend
this error occurs
WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode
WARNING:root:Debug message: No module named 'caffe2.python.caffe2_pybind11_state_gpu'
Segmentation fault
My Python Environment
python 3.6.3 onnx 1.1.1
Could you please advice to solve out this error Thank you
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Segmentation fault - Wikipedia
Segmentation faults are a common class of error in programs written in languages like C that provide low-level memory access and few to...
Read more >c++ - What is a segmentation fault? - Stack Overflow
A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to...
Read more >Identify what's causing segmentation faults (segfaults)
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >Core Dump (Segmentation fault) in C/C++ - GeeksforGeeks
When a piece of code tries to do read and write operation in a read only location in memory or freed block of...
Read more >What is a segmentation fault in C/C++? - Tutorialspoint
A segmentation fault occurs when your program attempts to access an area of memory that it is not allowed to access.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You can do: from caffe2.python import onnx from onnx import backend
@sgarcia22 It works, but there is no prepare module:
AttributeError: 'module' object has no attribute 'prepare'