Giter VIP home page Giter VIP logo

Comments (9)

JanuszL avatar JanuszL commented on May 14, 2024

Hi,
Could you tell us which python version do you use?
Can you check status of following command:
pip show nvidia-dali
grab the path from Location:
ls LOCATION/nvidia/dali/.libs/

from dali.

cliffwoolley avatar cliffwoolley commented on May 14, 2024

I found an error in the RPATH updating in bundle-wheel.sh that likely accounts for this. I have a fix pending.

from dali.

cliffwoolley avatar cliffwoolley commented on May 14, 2024

(It would still help to know the answers to @JanuszL 's questions so that I can attempt to reproduce the problem. Further: are you using virtualenv or Conda environments or any similar setup?)

from dali.

JiangPQ avatar JiangPQ commented on May 14, 2024

Hi, I got a similar problem. Here is the traceback:

Traceback (most recent call last):
File "/home/xxxxx/PycharmProjects/torch90/111.py", line 500, in
from nvidia.dali.pipeline import Pipeline
File "/home/xxxxx/miniconda3/envs/torch90/lib/python3.6/site-packages/nvidia/dali/init.py", line 17, in
from . import ops
File "/home/xxxxx/miniconda3/envs/torch90/lib/python3.6/site-packages/nvidia/dali/ops.py", line 19, in
from nvidia.dali import backend as b
File "/home/xxxxx/miniconda3/envs/torch90/lib/python3.6/site-packages/nvidia/dali/backend.py", line 15, in
from nvidia.dali.backend_impl import *
ImportError: libnppicom.so.9.0: cannot open shared object file: No such file or directory

The lib64 has been added to LD_LIBRARY_PATH and everything goes fine when I run pytorch so i think CUDA9.0 is properly installed.

echo $LD_LIBRARY_PATH
/usr/local/cuda/lib64:/opt/intel/compilers_and_libraries_2018.2.199/linux/ipp/lib/intel64

I use conda environment BTW and this is what pip show nvidia-dali gives:

$ pip show nvidia-dali
Name: nvidia-dali
Version: 0.1.0
Summary: NVIDIA DALI
Home-page: https://github.com/NVIDIA/dali
Author: NVIDIA Corporation
Author-email: UNKNOWN
License: Apache License 2.0
Location: /home/xxxxx/miniconda3/envs/torch90/lib/python3.6/site-packages
Requires: future
Required-by:

@cliffwoolley

from dali.

xxradon avatar xxradon commented on May 14, 2024

@JanuszL @cliffwoolley
I also use conda environment and this is what pip show nvidia-dali gives:

Name: nvidia-dali
Version: 0.1.1
Summary: NVIDIA DALI
Home-page: https://github.com/NVIDIA/dali
Author: NVIDIA Corporation
Author-email: UNKNOWN
License: Apache License 2.0
Location: /home/shining/ProgramFiles/miniconda/envs/pytorch/lib/python3.6/site-packages
Requires: future

I have search libdali.so in my conda env ,I found nothing.But when I compiled from DALI source,I got the libdali.so.
And @JiangPQ,I think your cuda environment got something wrong,you can test your pytorch cuda to verify.

from dali.

JanuszL avatar JanuszL commented on May 14, 2024

@xxradon
Could you also:
ls /home/shining/ProgramFiles/miniconda/envs/pytorch/lib/python3.6/site-packages/nvidia/dali/.libs/ ?

from dali.

cliffwoolley avatar cliffwoolley commented on May 14, 2024

It's not called libdali.so in the installed binary package; it's libdali-*.so, where the * is a hash. Bundle-wheel.sh renames it when packaging the wheel. But because of some path errors, not all references to it are corrected properly. I have a fix for that, but the fix exposes another error that I'm still trying to sort out.

from dali.

xxradon avatar xxradon commented on May 14, 2024

I have test recent release editon,this problem has been fixed.Thank you.

from dali.

cliffwoolley avatar cliffwoolley commented on May 14, 2024

Actually this isn't fixed yet. :) Glad it worked for you regardless, but I'm reopening this until I push the proper fix.

from dali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.