anhaidgroup / deepmatcher

Python package for performing Entity and Text Matching using Deep Learning.
BSD 3-Clause "New" or "Revised" License
555 stars 129 forks source link

Getting 'segmentation fault' on CPU mode #75

Open ksrinivas007 opened 3 years ago

ksrinivas007 commented 3 years ago

Hi Guys

Tried to run this code in CPU mode settings present in data/dataset.py file Getting 'Segmentation Fault'

pc = {} for name in self.all_text_fields: concatenated = torch.cat(attr_embeddings[name]) svd = TruncatedSVD(n_components=1, niter=7) svd.fit(concatenated.numpy()) pc[name] = svd.components[0] self.metadata['pc'] = pc

sidharthms commented 3 years ago

Pleas share your code in a Colab notebook so I can reproduce it on my end.