mlfoundations / mlfoundations/datacomp

About update metadata with the corresponding image sample in shards

Open
#77 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
792
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Hi all, thanks for your great work!! I want to ask some relevant technical questions: I have used dataset2metadata to generate the metadata set from the 'shards' and store some 'post_process_feature' like a mask in the metadata. However, I want to update the metadata with some new values which will need to calculate the clip score after masking the image data, and thus I need to get the image/text data from shards that exactly align with the uid of corresponding metadata so that I can choose the right mask. I wonder if there is any relevant function in datacomp/dataset2metadata has achieve similar function or provide some insights? Or I need to do something like align the uids of metadata and raw data?

Contributor guide

No contributing guide indexed for this repository

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

Start with datacomp/dataset2metadata and inspect how metadata is generated from shards, including how UIDs and post_process_feature values are handled. Determine whether the existing path aligns image/text samples by UID for masked clip-score calculation, then define and validate the required metadata update workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.