echonet / lvh

EchoNet-LVH is a deep learning model that quantifies ventricular hypertrophy and predicts etiologies of increased wall thickness and LVH (amyloidosis, HCM, etc).
MIT License
42 stars 13 forks source link

Resolve Off-By-One Clip Yielding Problem #17

Open pavgup opened 4 months ago

pavgup commented 4 months ago

If you were to run the run_plax_hypertrophy_inference.py with just a single video as the target for inference, the _run_on_clips method fails to yield back the last set of clips. This small change avoids that "off-by-one" bug.

Nice work on this. <3