lmcinnes / lmcinnes/umap

TypeError: a bytes-like object is required, not 'list'

Open
#453 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.3k
Forks
871
Avg merge
1d 13h
Merged PRs (30d)
5

Description

I'm running UMAP on a matrix of size 4500 by 1800 (128GB RAM, Linux machine, Ubuntu18.04) and it crushes with the following error:

`TypeError: a bytes-like object is required, not 'list'`

If I reduce the number of rows below 4500, than it computes fine. Is there any possibility to handle large matrices?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the UMAP run on Linux/Ubuntu 18.04 using a 4500-by-1800 matrix, then compare it with a smaller matrix that completes successfully. Trace the source of the `TypeError: a bytes-like object is required, not 'list'`; done means large matrices no longer fail with this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.