embedding-propagation icon indicating copy to clipboard operation
embedding-propagation copied to clipboard

finetune problems

Open successhaha opened this issue 4 years ago • 1 comments

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 ?

successhaha avatar May 15 '21 05:05 successhaha

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?

prlz77 avatar May 16 '21 01:05 prlz77