Comments (9)
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.
I found an error in the RPATH updating in bundle-wheel.sh that likely accounts for this. I have a fix pending.
from dali.
(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.
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:
from dali.
@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.
@xxradon
Could you also:
ls /home/shining/ProgramFiles/miniconda/envs/pytorch/lib/python3.6/site-packages/nvidia/dali/.libs/ ?
from dali.
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.
I have test recent release editon,this problem has been fixed.Thank you.
from dali.
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)
- Video Reader sequence start and end HOT 3
- Is it possible to modify the labels according to the random rotation of images? HOT 5
- Create a pytorch dataloader with 2 data sources HOT 5
- Resize on CPU with output shape coming from an external source operator HOT 3
- webdataset error HOT 2
- AWS DALI video_loader error HOT 3
- why multi-gpu training slower than single gpu HOT 1
- How to manage empty items in a batch? HOT 5
- nvidia.dali.fn.python_function() failed with TypeError HOT 5
- Can I install DALI on CPU node without GPU/CUDA HOT 3
- fn.lookup_table giving wrong result for gpu HOT 5
- Need argmax/argmin operator HOT 1
- How to destory a pipeline? HOT 1
- random crop function HOT 10
- cv2.resize(interpolation=cv2.INTER_LINEAR) different with fn.resize(img, antialias=True, subpixel_scale=True, interp_type=types.DALIInterpType.INTERP_LINEAR, resize_y=target_img_height, max_size=max_width) HOT 2
- got error "no CUDA-capable device is detected" even though device parameter is CPU. HOT 6
- Can we add image distortion removal operations HOT 7
- Runtime error using Numpy readers: Unknown Numpy type c8 HOT 4
- Install DALI from source got error "file format not recognized" and "syntax error" HOT 3
- Why Decoder consumes 24 CPU cores even if using "mixed" device HOT 4
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 dali.