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
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