Skip to content
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

Change checkpoint_latest to checkpoint_best in inference script #81

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yw7
Copy link
Collaborator

@yw7 yw7 commented Nov 15, 2024

Fixes #78

Change checkpoint_latest.pth to checkpoint_best.pth in the inference script to match the priority in SCT:.

  • Update line 301 in totalspineseg/inference.py to use checkpoint_best.pth instead of checkpoint_latest.pth.
  • Update line 552 in totalspineseg/inference.py to use checkpoint_best.pth instead of checkpoint_latest.pth.

For more details, open the Copilot Workspace session.

Fixes #78

Change `checkpoint_latest.pth` to `checkpoint_best.pth` in the inference script.

* Update line 301 in `totalspineseg/inference.py` to use `checkpoint_best.pth` instead of `checkpoint_latest.pth`.
* Update line 552 in `totalspineseg/inference.py` to use `checkpoint_best.pth` instead of `checkpoint_latest.pth`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/neuropoly/totalspineseg/issues/78?shareId=XXXX-XXXX-XXXX-XXXX).
@yw7 yw7 requested a review from NathanMolinier November 15, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change checkpoint_latest to checkpoint_best in inference script to match the priority in SCT
1 participant