Skip to content

Update file index retrieval logic in simple_dataset.py - #18223

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

XiaokangLei wants to merge 3 commits 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.

@paddle-bot

paddle-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

Thanks for your contribution!

@XiaokangLei XiaokangLei left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update file index retrieval logic in simple_dataset.py

This branch has not been deployed

No deployments
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