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

数据集制作 #14

Open
Galaxy-yyyyy opened this issue Jan 2, 2020 · 1 comment
Open

数据集制作 #14

Galaxy-yyyyy opened this issue Jan 2, 2020 · 1 comment

Comments

@Galaxy-yyyyy
Copy link

请问如果用自己的数据训练大佬写的程序,数据集怎么制作了,1,不用再另外制作label,文件夹就是标签,有多少个文件夹就有多少类别;2,需要另外制作标签;

@AishuaiYao
Copy link

请问如果用自己的数据训练大佬写的程序,数据集怎么制作了,1,不用再另外制作label,文件夹就是标签,有多少个文件夹就有多少类别;2,需要另外制作标签;

from torchvision import datasets,transforms

datasets的ImageFolder库自己百度下

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