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

train的时候在val_dataset设置多个数据集问题 #3779

Open
Sakura-not-sleep opened this issue Apr 7, 2025 · 1 comment
Open

train的时候在val_dataset设置多个数据集问题 #3779

Sakura-not-sleep opened this issue Apr 7, 2025 · 1 comment

Comments

@Sakura-not-sleep
Copy link

您好,我遇到了一个问题,我有自己的验证集和评估集,出于某些原因,我需要在train的时候,在val_dataset里面设置两个路径,类似这样--val_dataset \,我可以修改源码,使得在评估的时候,可以分别对两个数据集进行一次评估吗,之前的评估是输出一个整体的acc,我需要两个数据集分别的acc,但是我不确定val_dataset采样的时候是不是随机采用,导致我如果输出两个acc的话,实际用到的path1里面可能会混有path2的数据样本,导致实际的acc不准确。
感谢回复!

@Jintao-Huang
Copy link
Collaborator

可以infer两次 获得两个acc

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