Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got an error when running /apis/run.py #28

Open
L-ED opened this issue Sep 7, 2021 · 5 comments
Open

Got an error when running /apis/run.py #28

L-ED opened this issue Sep 7, 2021 · 5 comments

Comments

@L-ED
Copy link

L-ED commented Sep 7, 2021

Hi everyone, when i running "python apis/run.py -d options/examples/default_configuration.yml" a have such error:
My ubuntu, torch, cuda versions match with required.

File "apis/run.py", line 85, in
vo.main()
File "/workspace/DF-VO/libs/dfvo.py", line 373, in main
self.deep_model_inference()
File "/workspace/DF-VO/libs/dfvo.py", line 326, in deep_model_inference
forward_backward=self.cfg.deep_flow.forward_backward)
File "/workspace/DF-VO/libs/deep_models/deep_models.py", line 173, in forward_flow
dataset=self.cfg.dataset)
File "/workspace/DF-VO/libs/deep_models/flow/lite_flow_net/lite_flow.py", line 119, in inference_flow
combined_flow_data = self.inference_no_grad(input_img1, input_img2)
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 43, in decorate_no_grad
return func(*args, **kwargs)
File "/workspace/DF-VO/libs/deep_models/flow/deep_flow.py", line 169, in inference_no_grad
return self.inference(img1, img2)
File "/workspace/DF-VO/libs/deep_models/flow/lite_flow_net/lite_flow.py", line 77, in inference
output = self.model(resized_img_list)
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/workspace/DF-VO/libs/deep_models/flow/lite_flow_net/lite_flow_net.py", line 318, in forward
tensorFlow = self.moduleRegularization[intLevel](tensorFirst[intLevel], tensorSecond[intLevel], tensorFeaturesFirst[intLevel], tensorFeaturesSecond[intLevel], tensorFlow)
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/workspace/DF-VO/libs/deep_models/flow/lite_flow_net/lite_flow_net.py", line 255, in forward
tensorDist = self.moduleDist(self.moduleMain(torch.cat([ tensorDifference, tensorFlow - tensorFlow.view(tensorFlow.size(0), 2, -1).mean(2, True).view(tensorFlow.size(0), 2, 1, 1), self.moduleFeat(tensorFeaturesFirst) ], 1)))
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/workspace/DF-VO/envs/dfvo/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 338, in forward
self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM

@wenbinuser
Copy link

i also faced this problem. Have you solved it yet?

@arkinrc
Copy link

arkinrc commented Jul 22, 2022

same issue is here. @Huangying-Zhan any solution?

Thanks
Regards
arkin

@arkinrc
Copy link

arkinrc commented Jul 22, 2022

its because of different version of Cuda as i think. Latest Nvidia GPU model doesnt support cuda9.0 and got this issue.

@iamykkkk
Copy link

I also met this problem, it is because the size of the pictures in kitti_odom is 1226*370, but in options/examples/default_configuration.yml ,the size of pictures is not the same number. I changed the text and it can run.

image:
height: 370 # image height
width: 1226 # image width
ext: png # image file extension for data loading

@LinkWithMe
Copy link

I also met this problem, it is because the size of the pictures in kitti_odom is 1226*370, but in options/examples/default_configuration.yml ,the size of pictures is not the same number. I changed the text and it can run.

image: height: 370 # image height width: 1226 # image width ext: png # image file extension for data loading

Amazing and thanks!!!!!!!!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants