"Segmentation fault: 11" error when using pretrained dataset
@FrancescoCasalegno is already working on this.
Since Aug 15, 2022.
Assessment
This issue has not been assessed yet.
Description
Hello,
I am trying to use pre-trained models downloaded following this guide 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.
- Dominant language
- Python
- Stars
- 12
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BlueBrain/morphoclass
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
BlueBrain/morphoclass#87 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
BlueBrain/morphoclass#86 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
BlueBrain/morphoclass#56 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
BlueBrain/morphoclass#48 ·
-
📜 Paper
Difficulty 3/5 1-2 days Newbie friendliness 25/100
BlueBrain/morphoclass#47 ·
All issues in BlueBrain/morphoclass
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100