python -m caffe2.python.caffe_translator deploy.prototxt
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_pybind11_state_gpu
If you are using homebrew leveldb on a Mac OS, you might see an error warning you that malloc_zone_unregister() failed. This is not a caffe2 issue but is due to the homebrew leveldb having an incompatible memory allocator. It does not affect usage.
usage: caffe_translator.py [-h] [--init_net INIT_NET]
[--predict_net PREDICT_NET]
prototext caffemodel
caffe_translator.py: error: too few arguments
python -m caffe2.python.caffe_translator deploy.prototxt 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_pybind11_state_gpu If you are using homebrew leveldb on a Mac OS, you might see an error warning you that malloc_zone_unregister() failed. This is not a caffe2 issue but is due to the homebrew leveldb having an incompatible memory allocator. It does not affect usage. usage: caffe_translator.py [-h] [--init_net INIT_NET] [--predict_net PREDICT_NET] prototext caffemodel caffe_translator.py: error: too few arguments