BlueBrain / BlueBrain/morphoclass

"Segmentation fault: 11" error when using pretrained dataset

Open
#79 2 comments 0 reactions 1 assignee Claimed by @FrancescoCasalegno View on GitHub
bug
Dominant language
Python
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am trying to use pre-trained models downloaded following this [guide](https://bbpgitlab.epfl.ch/ml/user/casalegn/morphoclass-dvc-userguide) but I get the "Segmentation fault: 11" error even if I use a dummy dataset (i.e. a numpy array of the right shape filled with 0)

I use this script:
```
d = torch.load("morphoclass/dvc/training/checkpoints-alt-neurites/pc-L6-all-image-tmd-proj-xgb-stratified-k-fold/checkpoint.chk")
model = d["all"]["model"]

dummy = np.zeros((100, 10000))
model.predict(dummy)
```

I also tried with another model (pc-L5-all-image-tmd-rd-xgb-stratified-k-fold) and with an actual dataset of persistence images but get the same error.

Thank you for your help,

Yann Roussel.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.