Skip to content

Commit

Permalink
fix: different color for different classes in the segmenetation visua…
Browse files Browse the repository at this point in the history
…ization
  • Loading branch information
sokovninn committed Oct 21, 2024
1 parent a1c6b6a commit 7879220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadreamer/pipelines/generate_dataset_from_scratch.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def read_image_batch(image_batch, batch_num, batch_size):
mask = masks_batch[j][k]
x_points, y_points = zip(*mask)

ax.fill(x_points, y_points, "blue", alpha=0.5)
ax.fill(x_points, y_points, label, alpha=0.5)

labels.append(label)
x1, y1, x2, y2 = box
Expand Down

0 comments on commit 7879220

Please sign in to comment.