用pycharm打开openpose所遇到的问题

用pycharm打开openpose所遇到的问题

1.无法导入openpose库
打开pycharm的File——setting——project——project structure 然后点击Resource Folders即可,具体如下图所示
用pycharm打开openpose所遇到的问题_第1张图片
2.运行时候出现了这个错误
emplaceAndPop(): incompatible function arguments. The following argument types are supported:
1. (self: openpose.pyopenpose.WrapperPython, arg0: std::vector >) -> bool

Invoked with: , []

Did you forget to #include ? Or ,
, , etc. Some automatic
conversions are optional and require extra headers to be included
when compiling your pybind11 module.
解决办法:只需要将代码中的opWrapper.emplaceAndPop([datum])换成opWrapper.emplaceAndPop(op.VectorDatum([datum]))即可

你可能感兴趣的:(问题,深度学习,caffe,tensorflow,神经网络,机器学习)