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

我该如何训练自己的数据集? #5

Open
Enuang opened this issue Mar 17, 2024 · 1 comment
Open

我该如何训练自己的数据集? #5

Enuang opened this issue Mar 17, 2024 · 1 comment

Comments

@Enuang
Copy link

Enuang commented Mar 17, 2024

感谢你做出的工作,我是一个初学者,我需要如何进行对比学习预训练,如何用在我自己的细粒度视觉分类数据集上呢?是修改main.py中的参数is_pretrain吗?

@Markin-Wang
Copy link
Owner

Hi, 感谢你的兴趣,首先你需要参考data/dataset.py文件里数据集的定义来写一个自己的数据集的类来读取,处理,返回数据集。之后需要参考在scripts文件夹里的脚本写一个自己数据集的运行脚本,特别要更改dataset这个参数为你自己定义的数据集的名字。可能还需要一些小调整的地方,希望这能帮助你在你自己数据集上运行。

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