lsa1997 / POP

Code for "Learning Orthogonal Prototypes for Generalized Few-shot Semantic Segmentation" [CVPR2023]
MIT License
20 stars 3 forks source link

Missing file './dataset/list/voc/fold0/fold0_1shot_seed123.txt' when restating the training #10

Open luizamarnet opened 4 months ago

luizamarnet commented 4 months ago

Hi, thank you again for your very nice work.

I am getting an error when using this repository, which I would be very grateful if you could help me understand.

When I stop the training and try to start from the last saved model, I get into the issue that the code attempts to read the file "'./dataset/list/voc/fold0/fold0_1shot_seed123.txt'". However, this file was not generated.

I was trying to understand the code, and I think that this file should be created by 'gen_list' in 'gen_fs_list.py,' but this function is never called when using 'train_voc_fold0_base.sh' for training (at least not when interrupting the training before the maximum epochs).

Could you please help me solve this problem?

Thank you very much in advance, \Luiza

lsa1997 commented 4 months ago

You can manually use utils/gen_fs_list.py to generate this file. Note that you should change dataset to 'voc'.

luizamarnet commented 4 months ago

Thank you very much. It solved my problem! Sorry, I didn't understand previously that I should run that manually 🙂