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

How to train a new dataset? #20

Open
mohammad-saber opened this issue Jun 20, 2020 · 5 comments
Open

How to train a new dataset? #20

mohammad-saber opened this issue Jun 20, 2020 · 5 comments

Comments

@mohammad-saber
Copy link

Thank you very much for sharing your code.

I want to train models with a dataset other than miniImageNet and Omniglot. Could you guide me how to arrange dataset (main folder , sub-folder), and how to train models on a new dataset?

Thanks a lot.

@jakesnell
Copy link
Owner

Hi, one simple way may be to check out the Torchmeta package: https://github.com/tristandeleu/pytorch-meta. They support several datasets and have a prototypical networks implementation.

@zhang1hongliang
Copy link

@jakesnell , I am a student and a new hand of few-shot learning. thanks very much for sharing your code of prototypical networks.

When using your code I can only use the Omniglot dataset, but I want to use the miniImageNet dataset to test the improved prototypical networks, can you provide the miniImageNet dataset loading file or tell me how to embedd the Torchmeta package into your code framework.

Looking forward to your reply. Thank you very much.

@DaDaDa-FH
Copy link

@jakesnell,我是一名学生,也是少镜头学习的新手。非常感谢您分享原型网络的代码。

使用您的代码时,我只能使用 Omniglot 数据集,但我想使用 miniImageNet 数据集来测试改进的原型网络,您能否提供 miniImageNet 数据集加载文件或告诉我如何将 Torchmeta 包嵌入到您的代码框架中。

期待你的答复。非常感谢。

同学,你解决了吗?我也不会加载miniimagenet数据集

@zhang1hongliang
Copy link

zhang1hongliang commented Apr 23, 2024

@DaDaDa-FH 用这个全监督小样本学习库来实现吧,https://github.com/RL-VIG/LibFewShot
这个你只需要实现你的方法就可以了,数据集加载已经做好了。

@DaDaDa-FH
Copy link

@DaDaDa-FH用这个完整的小监督样本学习库来实现吧,https://github.com/RL-VIG/LibFewShot 这个你只需要实现你的方法就可以了,数据集加载已经完成了。

好滴,我试试谢谢了。搞了好久这个作者的miniimagenet就是搞不了一样的精度、

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

4 participants