Optimized HeartLib Notebook for Colab/Kaggle #57
+229
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds two files to the
notebooksdirectory:heartlib.py: A standalone Python script for inference.HeartLib.ipynb: A Colab notebook that demonstrates usage.In PR #49 (great work btw) I noticed the discussion regarding the maintenance burden of notebooks. Including the raw Python script (
heartlib.py) alongside the notebook solves this by allowing logic to be tracked and diffed easily in a standard code format.#49 covers basic Colab functionality, this might complement it, focusing heavily on optimization and includes:
I understand you're considering external links over in-repo files per the discussion. Feel free to:
or whatever serves the project best. The idea is making HeartLib more accessible to everyone regardless of hardware constraints. I could care less about credit.
Happy to iterate on this if you prefer a different structure