Skip to content

Update file index retrieval logic in simple_dataset.py#18223

Open
XiaokangLei wants to merge 1 commit into
PaddlePaddle:mainfrom
XiaokangLei:patch-1
Open

Update file index retrieval logic in simple_dataset.py#18223
XiaokangLei wants to merge 1 commit into
PaddlePaddle:mainfrom
XiaokangLei:patch-1

Conversation

@XiaokangLei

Copy link
Copy Markdown

Refactor index retrieval to use _index_map if available. Fix bug: When using MultiScaleDataSet, the data index is not updated for each epoch, resulting in each epoch using the same data (when ratio_list is less than 1).

Refactor index retrieval to use _index_map if available. Fix bug: When using MultiScaleDataSet, the data index is not updated for each epoch, resulting in each epoch using the same data (when ratio_list is less than 1).
@CLAassistant

CLAassistant commented Jun 29, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants