Spaces:
Runtime error
Runtime error
Commit History
-
Delete images/test_image_4.png
Verified signature1ef183f -
Upload 2022_04_09, 02_51_33_757135.png
Verified signatureMoved from the root folder.4cf71e2 -
Upload 2023_02_01, 15_21_24_199914.png
Verified signatureMoved from the root folder.b6dcf37 -
Delete 2022_04_09, 02_51_32_757135.png
Verified signatureNot used in this folder by any file.b035604 -
Update app.py
Verified signaturefix: move 'Measurement done!' banner to left column below buttons616b22b -
Update requirements.txt
Verified signatureWhat changed: Plotly → Altair — Altair ships bundled inside Streamlit so there's no version mismatch, no JS rendering pipeline issue, and it uses pandas DataFrames natively with explicit column type declarations (:Q for quantitative);Sorted by position — sort_values('Position (mm)') before charting, so the line traces left→right correctly across -325→+346; scale=alt.Scale(zero=False) — y-axis auto-ranges to the actual height values (~4–26 mm) rather than forcing zero; .interactive() — pan and zoom still work; requirements.txt — plotly replaced with altair>=5.0.00719adf -
Update app.py
Verified signatureChanged Plotly → Altair — Altair ships bundled inside Streamlit so there's no version mismatch, no JS rendering pipeline issue, and it uses pandas DataFrames natively with explicit column type declarations (:Q for quantitative); Sorted by position — sort_values('Position (mm)') before charting, so the line traces left→right correctly across -325→+346; scale=alt.Scale(zero=False) — y-axis auto-ranges to the actual height values (~4–26 mm) rather than forcing zero;.interactive() — pan and zoom still work; requirements.txt — plotly replaced with altair>=5.0.04970f25 -
Update app.py
Verified signatureGUI optimization; One st.image (line 286, in the left column), one st.button('📏 Measure') with type='primary', and render_right_panel() handles the empty-or-filled right side.9a993a0 -
Update app.py
Verified signatureAdd diagnostic expander after measurement to show point count, height range and position range for both profiles — to verify whether model output is valid before debugging chart renderingad7be64 -
Update app.py
Verified signatureRevert use_container_width → use_column_width in st.image() — Space is running a cached Streamlit that predates the newer parameter namec0f3f3d -
Update requirements.txt
Verified signatureAdd seaborn — required at runtime by ultralytics/yolov5 fetched via torch.hub.loada70f750 -
Update strip_measure_4_0.py
Verified signatureFix Python 3.13 compatibility: mutable defaults, removed internals, deprecated importsb361dd6 -
Update strip_measure_4_0.py
Verified signatureFix mutable numpy defaults in StripMeasuredData: replace default=np.zeros(...) with default_factory=lambda: np.zeros(...) — required by Python 3.13 strict dataclass enforcemente0d7146 -
Update data_types.py
Verified signatureFix two Python 3.13 incompatibilities: replace mutable np.ndarray defaults in StripMeasuredData with default_factory=lambda: np.zeros(...), and remove private _is_classvar/_is_dataclass_instance imports removed from the dataclasses stdlib in 3.131b645bc -
Update strip_measure_4_0.py
Verified signatureFix two deprecated imports: scipy.ndimage.morphology.binary_dilation → scipy.ndimage.binary_dilation (morphology submodule removed in SciPy 1.13); torch.cuda.amp.autocast → torch.amp.autocast(device_type=...) (required in PyTorch 2.4+)1577ad4 -
Update object_detection_services.py
Verified signatureReplace from glob2 import glob with stdlib from glob import glob — glob2 package removed from dependencies6bd3d08 -
Update app.py
Verified signatureFix runtime errors: correct BGR→RGB colour conversion for st.image(), replace deprecated use_column_width with use_container_width, wrap model loading in spinner, add empty-image guard, general code cleanupd01045c -
Update packages.txt
Verified signatureReplace python3-opencv with required system libs (libgl1, libglib2.0-0) to resolve OpenCV/Docker build conflict80b02bd -
Update requirements.txt
Verified signatureFix broken dependencies: remove Python 2 backport (dataclasses), add missing streamlit, upgrade pydantic to v2, replace opencv-python with headless variant, relax hard-pinned torch version, drop unmaintained glob2e82c7ba
-
Update app.py
Verified signature3e942ca -
Update app.py
Verified signature7e77889 -
Update app.py
Verified signature1f20319 -
Update app.py
Verified signatureda61339 -
Update app.py
Verified signaturef8bc440 -
Update app.py
Verified signature5274a1a -
Rename app/best.pt to app/detection_model.pt
Verified signaturee5116d0 -
Rename app/31_best_model.pth to app/segmentation_model.pth
Verified signaturecf84063 -
Update app.py
Verified signature02437a8
-
Update strip_measure_4_0.py
Verified signature03b64a3 -
Update strip_measure_4_0.py
Verified signature2a7de54
-
Update object_detection_services.py
Verified signaturec75618b -
Update data_types.py
Verified signaturee146231 -
Update cam_geometry.py
Verified signature0bd918c -
Update app.py
Verified signatureAdjusted licensing header.10a2580 -
Upload 2 files
Verified signature646a752 -
Update strip_measure_4_0.py
Verified signature2716d6f -
Update requirements.txt
Verified signature86f11ad -
Update data_types.py
Verified signature549bd32 -
Upload data_types.py
Verified signatureca4f53f -
Update requirements.txt
Verified signaturec18491c -
Upload cam_geometry.py
Verified signature552cab8 -
Upload object_detection_services.py
Verified signature971df0f -
Upload 10 files
Verified signature7b80f90 -
Delete sap_test
Verified signature4c2ed43 -
Upload 10 files
Verified signature6fe417e -
Update app.py
Verified signature3dd62d7 -
Upload strip_measure_4_0.py
Verified signaturef903374 -
Update requirements.txt
Verified signaturedbe29f3
-
Update app.py
Verified signaturee648420 -
Update app.py
Verified signatured3d88c6