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

Run evaluation only? #37

Open
taylorwwebb opened this issue Oct 22, 2023 · 4 comments
Open

Run evaluation only? #37

taylorwwebb opened this issue Oct 22, 2023 · 4 comments

Comments

@taylorwwebb
Copy link

Is there a way to run the model in evaluation mode only using the meta-trained model provided in the 'Model Zoo' section? The instructions in the readme only describe how to train the model from scratch. I am specifically interested in performing the evaluation for the VOC dataset.

@GuangxingHan
Copy link
Owner

Please refer to this issue for the evaluation script #2.
Thanks!

@taylorwwebb
Copy link
Author

Thank you very much for your response. I am having some difficulty determining which data were used for the query/test images during meta-learning and meta-testing on the VOC dataset (i.e., the results reported in the top part of table 5 in the paper). I have performed the data preparation steps as instructed in the README file. I see files in ./dataset/pascal_voc/ that seem to contain the necessary information about the few-shot training examples for meta-learning (e.g., ./dataset/pascal_voc/voc_2007_trainval_all1_10shot.pkl), but I am unable to determine which data were used as query images. The config file for the third and final step of meta-training seems to refer to a test dataset named 'voc_2007_test_all1', but I am not able to find any files with this name. Is there any way to determine which data were used as query images for meta-testing?

@taylorwwebb taylorwwebb reopened this May 31, 2024
@GuangxingHan
Copy link
Owner

Thank you for your interest in our work.

You can find the dataset 'voc_2007_test_all1' here (https://github.com/GuangxingHan/Meta-Faster-R-CNN/blob/main/meta_faster_rcnn/data/datasets/builtin.py#L79)

@taylorwwebb
Copy link
Author

Thank you very much for your response. After preparing the data following the instructions, there seem to be files that contain the necessary information about the few-shot training examples. For example, the file voc_2007_trainval_all1_5shot.pkl contains information for 5 examples for each class. But I do not see any file with a name that contains the text 'voc_2007_test_all1' in the ./datasets/pascal_voc/ directory, and I cannot determine which data were used as query images (either during meta-training or meta-testing). Is there any way to determine the content of the datasets used for meta-training and meta-testing (i.e. to access these datasets without actually running the entire metalearning pipeline)?

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