Spaces:
Sleeping
Sleeping
Update strip_measure_4_0.py
Browse filesFix Python 3.13 compatibility: mutable defaults, removed internals, deprecated imports
- strip_measure_4_0.py +1 -1
strip_measure_4_0.py
CHANGED
|
@@ -500,4 +500,4 @@ def measure_strip(img_path: str, model_yolo: torch.nn.Module, segmentation_model
|
|
| 500 |
|
| 501 |
profile_a = np.vstack([final_upp_upper[:, 0] - fitted_lower_upper, final_upp_upper[:, 1]]).T
|
| 502 |
profile_b = np.vstack([final_upp_lower[:, 0] - fitted_lower_lower, final_upp_lower[:, 1]]).T
|
| 503 |
-
return profile_a, profile_b
|
|
|
|
| 500 |
|
| 501 |
profile_a = np.vstack([final_upp_upper[:, 0] - fitted_lower_upper, final_upp_upper[:, 1]]).T
|
| 502 |
profile_b = np.vstack([final_upp_lower[:, 0] - fitted_lower_lower, final_upp_lower[:, 1]]).T
|
| 503 |
+
return profile_a, profile_b
|