When reading in TIFFs with mode='P', the images were being displayed as grayscale. Added fix so P is translated to RGB.
In container.py
if _use_pil:
im = Image.open(fullpath)
# idg
if im.mode == 'P':
im = im.convert('RGB')
return np.asarray(im)
else:
return okapy.loadImage(fullpath)
Custom items declared in the user-supplied config were not getting parent set (parent was set to None) and then self.prefix() would return None instead of '' (empty quotes).
In container.py
In items.py
In labeltool.py
in labeltool.py