We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d31c2 commit 8b00be1Copy full SHA for 8b00be1
examples/inference.py
@@ -45,7 +45,8 @@
45
# But remove the all-0 black, that won't exist in the MAP!
46
HAS_UNK = 0 in colors
47
if HAS_UNK:
48
- print("Found a full-black pixel in annotation image, assuming it means 'unknown' label!")
+ print("Found a full-black pixel in annotation image, assuming it means 'unknown' label, and will thus not be present in the output!")
49
+ print("If 0 is an actual label for you, consider writing your own code, or simply giving your labels only non-zero values.")
50
colors = colors[1:]
51
#else:
52
# print("No single full-black pixel found in annotation image. Assuming there's no 'unknown' label!")
0 commit comments