question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reproducing with pretrained.pth

See original GitHub issue

HI @ajabri

Thanks for sharing the code and model.

However, I am having trouble reproducing your results with the provided pretrained.pth. It only yields J&F-Mean 0.407953.

Could you please have a check on that?

Thx!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ajabricommented, Nov 15, 2020

It looks like the model was not loaded. If --resume receives a path that does not exist, it is ignored and no model is reloaded. Maybe you need --resume ../pretrained.pth?

0reactions
ajabricommented, Jan 21, 2021

@vadimkantorov Yes, I guess so! Indeed, a useful baseline 😃

Sorry for the confusion, will clarify this in the README.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't reproduce Acc with pretrain model for ... - GitHub
Hello, I get the pretrained model of vit_base_patch16_224 from ... -models/releases/download/v0.1-vitjx/jx_vit_base_p16_224-80ecf9dd.pth, ...
Read more >
pretrained-models.pytorch - Model Zoo
The goal of this repo is to help to reproduce research papers results. PyTorch. Pretrained models for Pytorch (Work in progress). The goal...
Read more >
PyTorch Transfer Learning (taking a pretrained model and ...
Live exercises and solutions for section 06 of the Learn PyTorch for Deep Learning course by Zero to Mastery.Get the code on GitHub ......
Read more >
How can I load a pretrained model on Kaggle using fastai?
pth file into the torch model directory using the same filename it's looking for. One way to do this is to try to...
Read more >
How can I load a partial pretrained pytorch model?
Naively trying to load the weights from the pretrained ClinicalBert weights I get the following error: size mismatch for classifier.weight: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found