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

Few-shot learning error #27

Open
KisAaki opened this issue Nov 14, 2024 · 2 comments
Open

Few-shot learning error #27

KisAaki opened this issue Nov 14, 2024 · 2 comments

Comments

@KisAaki
Copy link

KisAaki commented Nov 14, 2024

Hi, when I'm doing the CUDA_VISIBLE_DEVICES= python main.py --config cfgs/<MODEL_NAME>/fewshot.yaml --finetune_model
--ckpts <path/to/pre-trained/model> --exp_name <output_file_name> --way <5 or 10> --shot <10 or 20> --fold <0-9>.
It shows error:TypeError: init() got an unexpected keyword argument 'cycle decay'.
How to solve this problem?Is it caused by versions?

@KisAaki
Copy link
Author

KisAaki commented Nov 14, 2024

@CGuangyan-BIT

@CGuangyan-BIT
Copy link
Owner

Hi
This looks like it's caused by inconsistent versions of dependency libraries.

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