modelscope / modelscope/ms-swift
怎样为不同的数据集设置不同的 max_pixels 参数?
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 1.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 136
Description
由于不同的数据集需要的图片尺寸不一样,对于一些需要非常精细分析的图片,希望max_pixels可以设置为 2048x2048,而对于一些简单的图片QA或者Caption,只需要 640x640。所以怎么为不同的数据设置不同的 max_pixels 呢?
Contributor 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.
Research direction
No files, tests, or entry points are named. Trace where max_pixels is parsed and applied to dataset image processing, then determine how dataset-specific values should be represented and verified; done means different datasets reliably use their intended limits without changing existing defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100