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

undefined symbol: cudaLaunchKernel #17

Open
pudumagico opened this issue May 3, 2022 · 1 comment
Open

undefined symbol: cudaLaunchKernel #17

pudumagico opened this issue May 3, 2022 · 1 comment

Comments

@pudumagico
Copy link

pudumagico commented May 3, 2022

Hello!

I have a problem running the pretrained models.
Everything has compiled and been downloaded successfully, but when I try to run
python tools/test_net.py \ --dataset clevr_original_val \ --cfg configs/baselines/e2e_mask_rcnn_R-50-FPN_1x.yaml \ --load_ckpt ../../data/pretrained/object_detector.pt \ --output_dir ../../data/mask_rcnn/results/clevr_val_pretrained
it gives the following error:

Traceback (most recent call last):
File "tools/train_net_step.py", line 27, in
from modeling.model_builder import Generalized_RCNN
File "/home/pudu/PhD/NeSy/ns-vqa/scene_parse/mask_rcnn/lib/modeling/model_builder.py", line 11, in
from model.roi_pooling.functions.roi_pool import RoIPoolFunction
File "/home/pudu/PhD/NeSy/ns-vqa/scene_parse/mask_rcnn/lib/model/roi_pooling/functions/roi_pool.py", line 3, in
from .._ext import roi_pooling
File "/home/pudu/PhD/NeSy/ns-vqa/scene_parse/mask_rcnn/lib/model/roi_pooling/_ext/roi_pooling/init.py", line 3, in
from ._roi_pooling import lib as _lib, ffi as _ffi
ImportError: /home/pudu/PhD/NeSy/ns-vqa/scene_parse/mask_rcnn/lib/model/roi_pooling/_ext/roi_pooling/_roi_pooling.so: undefined symbol: cudaLaunchKernel

Please could somebody lend me a hand?

@Lulo187
Copy link

Lulo187 commented Apr 7, 2024

"I encountered the same issue while reproducing this program. Could you please tell me how you solved it?"

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

2 participants