shenfalong / styletransfer

Real-time neural style transfer via meta networks
https://github.com/FalongShen/styletransfer
BSD 2-Clause "Simplified" License
127 stars 31 forks source link

Build errors #3

Open Yagun opened 6 years ago

Yagun commented 6 years ago

Please explain how to build this project.

When I run python demo.py it writes: Import error: No module named '_pycaffe'

There is _pycaffe.cpp file, but it is a C++ file, not a Python one. If I need to build some C++ DLL first, please explain how. Yes, there is Makefile file, but it has hardcoded paths inside, like: -I/home/i-shenfalong/.local/lib/python2.7/site-packages/numpy/core/include/

Please explain how (and what) to build.

Thanks.

huihuangzhao commented 6 years ago

Hi, I faced the same problem.

Did you solve it?

chentiao commented 2 years ago

I faced the same problem,why use _pycaffe?

chentiao commented 2 years ago

I faced the same problem,why use _pycaffe? Traceback (most recent call last): File "demo.py", line 3, in import _pycaffe as caffe ImportError: libboost_python-py27.so.1.54.0: cannot open shared object file: No such file or directory

R4x7651 commented 2 years ago

I faced the same problem. Did anyone fix it?