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

segfault (core dumped):段错误 (核心已转储) #21

Open
Huotianci opened this issue May 25, 2024 · 3 comments
Open

segfault (core dumped):段错误 (核心已转储) #21

Huotianci opened this issue May 25, 2024 · 3 comments

Comments

@Huotianci
Copy link

Dear author, I am very interested in your work.
But some problems occurred while reproducing your code. My hardware and software parameters are: 3090, cuda12.1, python=3.8, pytorch=2.1.2. The deployment of the environment has been completed, but an error occurred during inference: 段错误 (核心已转储)

Here's what I do:
Step 1: Enter the command in the terminal: python infer.py --config config.yaml data.image_list=[test.jpg,] --image_preprocess, but an error is reported: 段错误 (核心已转储), as shown in the figure:
img_v3_02b7_2cf2ed05-a379-479a-b8ca-984e9bd93c3g
Step 2: Print where there may be problems, trying to find which line of code has the problem. Finally, it is found that the error caused by this line of code : self.point_encoder = tgs.find(self.cfg.pointcloud_encoder_cls)(self.cfg.pointcloud_encoder) . Further exploration revealed that it was a problem with the module = importlib.import_module(module_string, package=None) code in tgs.find.
The code is located as follows:
img_v3_02b7_7704fe0f-bbc6-4a24-a680-99b260f77b7g
img_v3_02b7_3640c44e-d51e-4e85-948a-1735788f1f8g

Could you give me some advice on this issue?

I would be very grateful if I could receive any help from you! ! !
Thank you again for such a great job! ! !

@zouzx
Copy link
Collaborator

zouzx commented May 29, 2024

Could you provide more information? E.g., could you locate the specific line in __init__ function of LocalPoolPointnet that causes this?

@LucioC
Copy link

LucioC commented May 30, 2024

I had the same issue. It seems it got fixed after I have installed pytorch-scatter using conda.

conda install pytorch-scatter -c pyg

@Huotianci
Copy link
Author

I had the same issue. It seems it got fixed after I have installed pytorch-scatter using conda.

conda install pytorch-scatter -c pyg

Thank you for your reply, I have solved it successfully!

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

3 participants