Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于训练中数据采样的问题? #12

Open
Baboom-l opened this issue Mar 20, 2024 · 1 comment
Open

关于训练中数据采样的问题? #12

Baboom-l opened this issue Mar 20, 2024 · 1 comment

Comments

@Baboom-l
Copy link

GLEE在训练过程中,每个iter采样的数据都是来自相同数据集的吗?我发现task总是取batched_inputs[0],

@wjf5203
Copy link
Collaborator

wjf5203 commented Mar 21, 2024

Yes, since all the images on the same GPU come from the same dataset, taking [0] allows model to know what task the data on this card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants