Store intermediate results as pickle
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- numpy, python
- Domain
- data-engineering
Research direction
No files or tests are named. Start by tracing the label-maker images command to where np.save/np.load writes and reads intermediate results; done means the intermediate data uses pickle and tile downloading can begin without the reported long wait.
Written by the indexing model from the issue text.
Description
I was wondering what the thinking was behind choosing np.save/np.load instead of pickle. I was preparing data for a fairly small region and ended up with 156250 tiles in total. Of which about 50000 are in one of my classes. Running label-maker images took a long time so I started investigating and switching from .npz to a pickle means it starts downloading tiles more or less immediately. Before I had to wait a very long time (minutes or more?) to get to the bit when it starts downloading.
If this sounds like something you'd be open to I'd contribute a PR.
- Dominant language
- Python
- Stars
- 471
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/label-maker
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
developmentseed/label-maker#195 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
developmentseed/label-maker#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
developmentseed/label-maker#185 ·
-
Generalize Final data.npz outputMay be free again @martham93 claimed this 2281 days ago, and no pull request is open. Openenhancement
developmentseed/label-maker#181 · 1 comment · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
developmentseed/label-maker#180 · 1 comment ·
All issues in developmentseed/label-maker
Similar issues
-
00 - Bug component: numpy.linalg
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
521xueweihan/HelloGitHub#4543 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
emeryberger/CSrankings#15700 ·
Maintainers usually reply within 2 days
-
Bug | 工作不正常 Triage | 待检查
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
OneDragon-Anything/ZenlessZoneZero-OneDragon#3084 ·
Maintainers usually reply within 1 day
-
Task select patterns with uppercase letters never matchPossibly taken @manobhisriram claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day