Spaces:
Sleeping
Sleeping
Commit
·
200a1a4
1
Parent(s):
67fb007
Add print statement to display predicted masks in the prediction function
Browse files
main.py
CHANGED
@@ -76,6 +76,7 @@ def predict(image, prompts):
|
|
76 |
|
77 |
# Get predictions
|
78 |
pred_mask = interactive_infer_image(model, image, prompts)
|
|
|
79 |
|
80 |
# Generate visualization
|
81 |
colors = generate_colors(len(prompts))
|
|
|
76 |
|
77 |
# Get predictions
|
78 |
pred_mask = interactive_infer_image(model, image, prompts)
|
79 |
+
print(f"Predicted masks: {pred_mask}")
|
80 |
|
81 |
# Generate visualization
|
82 |
colors = generate_colors(len(prompts))
|