Missing `model.pth` causing tests to fail
See original GitHub issueDescribe the bug
When running the tests using the command:
python3 -m pytest
would result in the test case for test_model_predict
to fail. This is because the file mentioned in path static/model.pth
under the tests
folder doesn’t exist in the repository.
Code and Data Share the code that caused the error as well as an example image/label from your dataset.
Line resulting in test failure: https://github.com/alankbi/detecto/blob/f4e60968b052406194f47fc3d782913ce163f223/detecto/tests/test_core.py#L157
Folder missing the specified files: https://github.com/alankbi/detecto/tree/master/detecto/tests/static
Environment:
- OS: macOS Big Sur
- Python version: 3.7.9
- Detecto version: master branch
- torch version: 1.6.0
- torchvision version: 0.7.0
Additional context NA
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Physiology, Parathyroid Hormone - StatPearls - NCBI Bookshelf
The underproduction of PTH can be chronic or transient, depending on the etiology. More common causes of hypoparathyroidism are the autoimmune ...
Read more >pytorch transfer learning and model hosting failed to load ...
Pytorch transfer learning and model load failure. The model did not load successfully, see errors: Load model failed: transferlearningmodel, ...
Read more >Parathyroid Hormone (PTH) Test - Healthline
A parathyroid hormone (PTH) test is a blood test that measures the amount of PTH in your blood. ... Excess calcium in the...
Read more >Operative Failure in the Era of Focused Parathyroidectomy
Hypothesis Focused parathyroidectomy guided by intraoperative parathyroid hormone monitoring (IPM) may lead to higher failure rates because of missed ...
Read more >A missed parathyroid adenoma: A case from the endocrine ...
The patient's serum parathyroid hormone (PTH) levels were persistently ... scan — all of these imaging modalities failed to localize a parathyroid adenoma....
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
I’d like to work on that (if it’s not picked up yet). Will make a couple of PRs over the week for the same.
Yeah, it was removed from the master branch in a recent commit because the CircleCI always failed due to some kind of dependency issue that I wasn’t able to resolve.