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

finetune problems #20

Open
successhaha opened this issue May 15, 2021 · 1 comment
Open

finetune problems #20

successhaha opened this issue May 15, 2021 · 1 comment

Comments

@successhaha
Copy link

when I finetune the pretrain model,there is an error.
AssertionError
File"trainval.py",line112, in trainval savedir_base=savedir_base
/src/models/finetuning.py,line 66 in __init__assert(best_accuracy >0.1)
can you help me ?

@prlz77
Copy link
Contributor

prlz77 commented May 16, 2021

Hi, thanks for the interest in our code :)

This error means that the finetuner didn't find any pretrained model to load. Make sure you are pointing to the correct place in here: https://github.com/ElementAI/embedding-propagation/blob/master/exp_configs/finetune_exps.py#L86

If this does not resolve your problem, could you provide more information on what command you run, which exp_config, and what is the directory tree where you have the pre-trained weights?

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