trimap: Illegal instruction error

Hi, I just installed TriMap and its dependencies (from conda). I ran the NIST demo script:

import trimap
from sklearn.datasets import load_digits
digits = load_digits()
embedding = trimap.TRIMAP().fit_transform(digits.data)
  • but on running the trimap command, I get the following error:
TRIMAP(n_inliers=10, n_outliers=5, n_random=5, distance=euclidean,lr=1000.0, n_iters=400, weight_adj=500.0, apply_pca=True, opt_method=dbd, verbose=True, return_seq=False)
running TriMap on 1797 points with dimension 64
pre-processing
Illegal instruction (core dumped)

Can you give me some advice on how to debug this? I attached my conda environment (conda_env.txt), if that helps. I’m excited to give this a go!

Many thanks and kind regards, Tim

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (10 by maintainers)

Most upvoted comments

Hi Tim,

No problem, glad that I could help 😃

Thank you, Ehsan

Dear Ehsan,

Thank you very much! It has clicked in place now. Sorry, that was a daft question - I didn’t realise that the labels were stored separately as an nx1 matrix in a different attribute and that the embedding would not rearrange the order of points.

Thanks again for your help! Take care, Tim

Hi Tim,

Thank you for the update! Hope you find TriMap useful 😃

Thanks, Ehsan