Skip to content

'Segmentation fault (core dumped)' when moving a tensor to a device #21

@qihao067

Description

@qihao067

Hi! Thanks for your work.

I have run python setup.py install in chamfer2D with no error.
However, when I am using this package in Python 3.6, I got the following problem:

>>> import torch
>>> import chamfer_2D
>>> torch.tensor(1,device='cuda')
Segmentation fault (core dumped)

If I don't import chamfer_2D, everything works fine.

I am using CUDA 10.1 and PyTorch 1.4.0

Do you have any idea on how to solve this problem?

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions