Comments (14)
Sorry for the late reply, I was on vacation.
Can you show the output of:
ldconfig -p | grep onnx
and:
ldd libavfilter/libavfilter.so
Thanks
from gmat.
Thank for the reply.
I have solved that issue, however, there is another issue which I couldn't solve yet.
/usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char collect2: error: ld returned 1 exit status
const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:124: ffprobe_g] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:124: ffmpeg_g] Error 1
Do you have any idea why this is happening? I have rebuilt the torchvision with different versions and adding
-D_GLIBCXX_USE_CXX11_ABI=0
as suggested as a solution, however, it doesn't help here.
from gmat.
Is your libtorch built with -D_GLIBCXX_USE_CXX11_ABI=0
?
from gmat.
Yes, I have built it as you suggested.
It also shows that the flag is not set (as I have configured it during the built)
>>> import torch
>>> print(torch._C._GLIBCXX_USE_CXX11_ABI)
False
from gmat.
Yes, I have built it as you suggested. It also shows that the flag is not set (as I have configured it during the built)
>>> import torch >>> print(torch._C._GLIBCXX_USE_CXX11_ABI) False
My suggestion in the readme is use libtorch/torchvision with cxx11 ABI, which means using libtorch/torchvision built with -D_GLIBCXX_USE_CXX11_ABI=1
, that's why I didn't add this flag to the config script. Sorry for the misunderstanding. If you do not want to use cxx11 ABI, you will also need to pass -D_GLIBCXX_USE_CXX11_ABI=0
to ffmpeg during configuration.
from gmat.
It will very much help if you can provide me with a docker file so that it builds all dependencies and the libraries you specified. It can be based on a generic x86 CUDA 11+ desktop configuration.
from gmat.
It will very much help if you can provide me with a docker file so that it builds all dependencies and the libraries you specified. It can be based on a generic x86 CUDA 11+ desktop configuration.
Thanks for your suggestion. We are preparing a docker image which contains all the dependencies. It will be ready this week.
from gmat.
The Dockerfile has been uploaded to the repo, can you give it a try? docker build
instructions are provided in the new README and documentations.
from gmat.
Thanks for the Docker file.
It seems that one dependency is still missing since I get this error:
MAN doc/ffmpeg-filters.1
MAN doc/libavutil.3
MAN doc/libswscale.3
MAN doc/libswresample.3
MAN doc/libavcodec.3
MAN doc/libavformat.3
MAN doc/libavdevice.3
MAN doc/libavfilter.3
LD libswscale/libswscale.so.5
LD libswresample/libswresample.so.3
STRIP libavcodec/x86/vp9itxfm.o
GEN libavcodec/libavcodec.ver
LD libavcodec/libavcodec.so.58
LD libavformat/libavformat.so.58
LD libavfilter/libavfilter.so.7
gcc: error: libavfilter/cnpy.o: No such file or directory
make: *** [ffbuild/library.mak:103: libavfilter/libavfilter.so.7] Error 1
PS: On line 31 of the Dockerfile there is "&&" missing.
from gmat.
Thanks for the heads up. Can you try
git submodule update --init
Looks like the cnpy submodule is missing.
from gmat.
Thanks.
The build was successful.
from gmat.
Hi @hmdtb ,
We found that onnxruntime 1.11 may cause segfault, so we changed onnxruntime back to 1.8.1, the Dockerfile has been updated. You can download the onnxruntime 1.8.1 and manually install it if you do not want to rebuild the docker image.
If you do not have further questions, I will close this issue. Thanks!
from gmat.
Thanks for informing me regarding this update.
I will rebuild the image and in case of any new problem, I will open a new issue ticket.
from gmat.
Thanks. Closing the issue
Thanks for informing me regarding this update.
I will rebuild the image and in case of any new problem, I will open a new issue ticket.
from gmat.
Related Issues (9)
- Compile issues in the libavfilter/vf_pose.cpp HOT 1
- libavfilter/format_cuda_kernel.cu:22:10: fatal error: libavutil/pixfmt.h: No such file or directory HOT 2
- It seems didn't have supported on jetson device HOT 1
- The format_cuda filter does not work well HOT 1
- tensorrt filter cannot run?
- link is wrong
- TensorRT image No such filter: 'scale_npp' and more HOT 2
- How to scale and convert frame which pix_fmt is AV_PIX_FMT_CUDA
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 gmat.