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 during test time #6

Open
LukasH77 opened this issue Nov 5, 2024 · 1 comment
Open

Segfault during test time #6

LukasH77 opened this issue Nov 5, 2024 · 1 comment

Comments

@LukasH77
Copy link

LukasH77 commented Nov 5, 2024

python -m run.test_sdm data/protext/proxd_test/
--load_model training/sdm/model_ckpt/best_model_cfd.pt
--model_name sdm
--fix_ori
--test_on_valid_set
--output_dir training/sdm/output

running this as advised in the readme gives me a segfault error
this is the output I get

PolyMeshT::add_face: patch re-linking failed
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
~/miniconda3/envs/external_lsdm/lib/python3.11/site-packages/scipy/sparse/_index.py:108: SparseEfficiencyWarning: Changing the sparsity structure of a csr_matrix is expensive. lil and dok are more efficient.
self._set_intXint(row, col, x.flat[0])
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
PolyMeshT::add_face: complex edge
0%| | 0/20 [00:00<?, ?it/s]
Segmentation fault (core dumped)

Originally there also were some deprecation warnings that I fixed on the off chance of it helping.
Any experiences with this?

@andvg3
Copy link
Owner

andvg3 commented Nov 9, 2024

Hi, thanks for reporting this bug. I highly suspect that the problem was because of the system. Can you provide me more details about your installed packages version and systems?

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