ADE20K
ADE20K copied to clipboard
index_ade20k['objectnames'] indexing mistake
Using ObjectClassMasks = (R/10).astype(np.int32)*256+(G.astype(np.int32)); I got the id 165 for a particular pixel by which index_ade20k['objectnames'][165] gives 'bed column'. However according to the accompanying json to this image, the object name for 165 should be 'bed'. It seems that index_ade20k['objectnames'] is one behind. index_ade20k[164] gives the correct name 'bed'.