Closed abreuwallace closed 1 year ago
Hi,
In visualize.py the method tsne.fit_transform(embs) should receive a numpy array, not a list.
If embs is a list it calls def _fit(self, embs, skip_num_points=0): and the line emb.shape[0] throws the error cited in the PR title.
This PR solves it.
Wallace
Hi,
In visualize.py the method tsne.fit_transform(embs) should receive a numpy array, not a list.
If embs is a list it calls def _fit(self, embs, skip_num_points=0): and the line emb.shape[0] throws the error cited in the PR title.
This PR solves it.
Wallace