-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to run the model in a N-way K-shot manner? #6
Comments
Hello,did you sove the problem? I trained the model step by step:
but I get the result: |
How to do the last step? python tools/run_train.py --config-file path_to_config_file --method pure-metric-averaged |
Hi, do you solve this problem? I have the same problem with you. |
Hi,
Thank you so much for an amazing paper and for publishing this code!
I have a question regarding the way to use one of your trained models in a N-way K-shot manner. I can see the repository closely follows
detectron2
. This means that I can load the model's weights and get predictions viaDefaultPredictor
. That class's__call__
only takes an input image though. I'm struggling to see the way to incorporate the N*K embeddings (and ways to get them in the first place) of the support set, and then to use the predictor to get the results. (I've downloaded the weights for themask_rcnn_R_50_FPN_ft_fullclsag_cos_bh_all_5shot_manyiters_V2_correct
config).I'm very likely not seeing something very obvious, apologies for asking naive questions in this case. I'll appreciate any pointers on ways to use it in the N-way K-shot manner though!
Thank you so much again
The text was updated successfully, but these errors were encountered: