Skip to content

module 'cupy.cudnn' has no attribute 'cudnn' #9

@Carreraa

Description

@Carreraa

Hello Brad

when I tried to run alex.py, I run into this 'AttributeError:module 'cupy.cudnn' has no attribute 'cudnn''

The detail is as following:

/usr/bin/python3.5 /home/carrera/WebAR/ebnn/examples/alex.py
/usr/local/lib/python3.5/dist-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "/home/carrera/WebAR/ebnn/examples/alex.py", line 4, in
import net
File "/home/carrera/WebAR/ebnn/examples/net.py", line 10, in
import ebnn.links as BL
File "/home/carrera/WebAR/ebnn/ebnn/links/init.py", line 77, in
from .link_binary_convolution import BinaryConvolution2D
File "/home/carrera/WebAR/ebnn/ebnn/links/link_binary_convolution.py", line 12, in
from ..functions.function_binary_convolution_2d import binary_convolution_2d
File "/home/carrera/WebAR/ebnn/ebnn/functions/function_binary_convolution_2d.py", line 11, in
libcudnn = cuda.cudnn.cudnn
AttributeError: module 'cupy.cudnn' has no attribute 'cudnn'

This is my environment : pycharm , chainer4.2.0 , cupy4.2.0 , cuda9.0 , cudnn7.0.5

Do you know how to solve this problem?

Thank you
Carrera

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions