We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I downloaded the pre-trained OFA-large checkpoint here: https://ofa-beijing.oss-cn-beijing.aliyuncs.com/checkpoints/ofa_large.pt
OFA-large
And try to load the model by
task = tasks.setup_task(cfg.task) models, cfg = checkpoint_utils.load_model_ensemble( pre_trained_model_path, task=task )
But it doesn't work and it shows didn't find the corresponding model name.
Then I check the checkpoint , found the name is m6_unify_large
m6_unify_large
Then I modify this line https://github.com/OFA-Sys/OFA/blob/main/models/ofa/ofa.py#L320 to replace ofa_large to m6_unify_large then everything works fine.
ofa_large
I guess maybe need to update a bit the checkpoint state and upload again
The text was updated successfully, but these errors were encountered:
Thank you so much for pointing this out! We have updated and uploaded the OFA-large checkpoint.
Sorry, something went wrong.
No branches or pull requests
I downloaded the pre-trained
OFA-large
checkpoint here: https://ofa-beijing.oss-cn-beijing.aliyuncs.com/checkpoints/ofa_large.ptAnd try to load the model by
But it doesn't work and it shows didn't find the corresponding model name.
Then I check the checkpoint , found the name is
m6_unify_large
Then I modify this line https://github.com/OFA-Sys/OFA/blob/main/models/ofa/ofa.py#L320 to replace
ofa_large
tom6_unify_large
then everything works fine.I guess maybe need to update a bit the checkpoint state and upload again
The text was updated successfully, but these errors were encountered: