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

训练自己的数据集 #111

Closed
Q-amazing opened this issue Dec 8, 2021 · 1 comment
Closed

训练自己的数据集 #111

Q-amazing opened this issue Dec 8, 2021 · 1 comment

Comments

@Q-amazing
Copy link

代码中说Dataset related classes and methods for ViT training and validation
Cifar10, Cifar100 and ImageNet2012 are supported。
我想问下,我想训练自己的数据集需要自己重新写datase类吗?

@xperzy
Copy link
Collaborator

xperzy commented Dec 9, 2021

是的,因为我们无法得知您数据集的具体信息和使用方法,所以需要您实现自己的 Dataset 类,然后在项目中(如果是分类任务)dataset.py的 get_dataset 方法中添加您的Dataset class。

@xperzy xperzy closed this as completed Dec 9, 2021
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