Skip to content

RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS #493

@kuacboss

Description

@kuacboss

I installed it with this code
conda create -n monodepth2 python=3.6.6
conda install pytorch=0.4.1 torchvision=0.2.1 -c pytorch
pip install tensorboardX==1.4
conda install opencv=3.3.1 # just needed for evaluation

python test_simple.py --image_path assets/test_image.jpg --model_name mono+stereo_640x192 --pred_metric_depth
-> Loading model from models/mono+stereo_640x192
Loading pretrained encoder
Loading pretrained decoder
-> Predicting on 1 test images
Traceback (most recent call last):
File "test_simple.py", line 171, in
test_simple(args)
File "test_simple.py", line 132, in test_simple
features = encoder(input_image)
File "/home/sm99/anaconda3/envs/monodepth2/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self. forward(*input, **kwargs)
File "/home/sm99/monodepth2/networks/resnet_encoder.py", line 90, in forward
x = self.encoder.conv1(x)
File "/home/sm99/anaconda3/envs/monodepth2/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self. forward(*input, **kwargs)
File "/home/sm99/anaconda3/envs/monodepth2/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 301, in forward
self.padding, self.dilation, self.groups)
RuntimeError: CuDNN error: CUDNN_STATUS_SUCCESS

This error occurs:
But when I run it with -no_cuda it runs fine.

please help me....

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