Skip to content

import cv2 fails with CUDA 8.0 #5

Description

@ProgramItUp

So, I updated tensorflow to r0.11, which required upgrading to CUDA 8.0 to be able to use the prebuilt Tensorflow binary for Ubuntu/Linux 64-bit, GPU enabled, Python 2.7.

Tensorflow runs correctly but
python ./suiron/train.py
import cv2
fails with
Traceback (most recent call last): File "./train.py", line 5, in <module> from suiron.utils.datasets import get_servo_dataset File "/data/home/me/my_tensorflow/suiron/suiron/suiron/utils/datasets.py", line 9, in <module> from suiron.utils.img_serializer import deserialize_image File "/data/home/mer/my_tensorflow/suiron/suiron/suiron/utils/img_serializer.py", line 5, in <module> import cv2 ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory

I spent a lot of time looking for a version of cv built against CUDA 8 but did not find anything.
Any thoughts on the best way to resolve?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions