Comments (7)
I have add
# boost set(Boost_NO_SYSTEM_PATHS ON) set(BOOST_ROOT "/harddrives/epsilon/linli/libraries/boost") set(BOOST_INCLUDEDIR "/harddrives/epsilon/linli/libraries/boost/include/boost") set(BOOST_LIBRARYDIR "/harddrives/epsilon/linli/libraries/boost/lib")
before
# ---[ Dependencies include(cmake/Dependencies.cmake)
of ROOT/lib/caffe-action/CMakeLists.txt
to solve this problem.
This problem is because I use personal python and boost library. And cmake can not find the specific ones. The above solution is perfect for pycaffe.
from temporal-segment-networks.
I guess you may have another version of Caffe installed on the machine. And you may either be using the Python interfaces from that version or have had your Python interfaces linked to that version. Please have a look on LD_LIBRARY_PATH or the ldd
the _caffe.so
under the python/
directory of the bundled Caffe.
from temporal-segment-networks.
Yes. I have another version of caffe installed. And the python I used is not the default one in the system path. And I found that I have set the compiled pycaffe for that version in PYTHONPATH
.
I have not seen any setting for python path from your README rather than standard caffe. And I did not find _caffe.so
file under the python/
path. So I thought it must because the Python interface is not compiled. And I have no idea of how to solve that for TSN. Your interface is not very clear about this.
from temporal-segment-networks.
If the Python wrapper is not compiled, please try to compile it. In general, using a wrapper from another version of codebase won't help.
To compile it, you need to have boost version higher than 1.54. Usually, you can get that with apt-get
. Then please go into the build directory of Caffe. Run the cmake ..
command and check the output. If the output contains something like
python interface is disabled
this means CMake cannot build the Python interfaces, due to either missing Python libraries in the paths or earlier Boost version. Please make sure the Python interface is compiled before using the provided scripts.
from temporal-segment-networks.
Good to know. And thank you for posting the solutions!
from temporal-segment-networks.
I have the same quesion and solved by following your solution,thank you!
from temporal-segment-networks.
Hello, @KnightOfTheMoonlight @cc786537662
I have the same question like you! Can you help me.
I have added these commands in ROOT/lib/caffe-action/CMakeLists.txt
Like this....
................
caffe_option(USE_MPI "whether to include MPI parallelization" OFF) #Used to switch on and off MPI
boost set(Boost_NO_SYSTEM_PATHS ON) set(BOOST_ROOT
"/boost root/boost") set(BOOST_INCLUDEDIR
"/boost root/boost/include/boost") set(BOOST_LIBRARYDIR
"/boost root/boost/lib")
---[ Dependencies
include(cmake/Dependencies.cmake)
..........
But, when i compile caffe-action again, this problem stiill exist!
Can you give me some advice, thanks in advance!
from temporal-segment-networks.
Related Issues (20)
- Use other method instead dense_flow HOT 3
- What should I do if I want to change the main structure of the network to InceptionV3?
- how to change nem_segments?
- error when building dense_flow HOT 3
- could you supply the kinetics/labels/val_videofolder.txt ?
- calcDenseFlowGPU params
- extract_optical_flow.sh with single GPU HOT 1
- how to run build_all.sh on windows_10 system
- No registered converter was able to extract a C++ pointer to type char from this Python object of type bytes HOT 1
- how to dump_frames ?
- STOA vs SOTA
- Use RWF-2000 to train TSN
- Extract Frames and Optical Flow Images
- Docker extract flow: Only a part of videoes could be done, and the others were empty folders.
- cross modality gist
- For the problem 'Failed to build Caffe. '
- Failed to build OpenCV. Please check the logs above.
- How to use HMDB_ 51 data training
- how to detect? HOT 1
- Let me be clear: the code is non-functional, and video classification is not achievable with it.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from temporal-segment-networks.