Key ‘use_ema_weights_to_init_param' is not in struct
See original GitHub issueHi! Thanks for your amazing work. I’ m trying to run the train_vqa_distributed.sh
with the checkpoint vqa_base_best.pt
downloaded from your url, but I meet this error. How can I fix it? (I ’ m using the fairseq repo provided by you)
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
[Bug] config access errors in the code should include stack trace
When the user is making a config access error in the code the stack trace should include the offending file+line.
Read more >Create a new key in hydra DictConfig from python file
Essentially I want to run my code and check if a gpu is available or not. If it is, log the device as...
Read more >Deriving from structs with key fields - RTI Community
Hi there,. I have a basetype. struct Base {. ObjectId sourceID; //@key ... }; //@top-level false //@Extensibility FINAL_EXTENSIBILITY.
Read more >StructFindKey - Adobe Support
Returns. An array that contains structures with keys that match value. ... If the key is not found, an empty array is returned....
Read more >Defining and Instantiating Structs - The Rust Programming ...
We create an instance by stating the name of the struct and then add curly brackets containing key: value pairs, where the keys...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I have just tested to run this script on my environment, which ran successfully. Please make sure that you pull and use the latest OFA code and
ofa_base.pt
. After checking the OFA code is the latest, I would suggest to make a reinstall of fairseq. Please first runpip uninstall fairseq
to uninstall the old fairseq and then usepip install -r requirements.txt
.Hi, in the script you provided, I notice that the
restore_file
you specified isofa_base_bast.pt
rather than the finetunedvqa_base_best.pt
which you mentioned. I want to make sure which one are you using and finding this error? Typically we suggest to use the pretrainedofa_base.pt
checkpoint to perform VQA finetuning, which can reproduce our reported performance using the released script. The ckptvqa_base_best.pt
is already finetuned with the highest validation score on VQA and is expected to be directly used for inference and evaluation. Are you trying to perform continuous finetuning?