Open VincentL5201 opened 1 year ago
This is right for eval-only.
The error is because the program does not find the 1shot training data. Please run this script 3_gen_support_pool_any_shot.py first.
thanks a lot,it works.
And how to execute multiple runs?
could you provide the single_branch_pretraining_pascalvoc_split1\2\3 model?
This repo does not include the evaluation code for multiple runs now. To do this, you need to first generate multiple few-shot training sets following TFA. After that, we can get one evaluation result using one of the few-shot training sets, and then take the average of them for the final result.
The VOC split1/2/3 single branch pre-trained models are available at here
when I run "python3 fsod_train_net.py --num-gpus 1 --config-file configs/fsod/two_branch_1shot_finetuning_pascalvoc_split1_pvt_v2_b2_li.yaml --eval-only", it occurs error: "FileNotFoundError: [Errno 2] No such file or directory: './datasets/pascal_voc/voc_2007_trainval_all1_1shot.pkl'"
how to fix this, thank u.