ADE20K icon indicating copy to clipboard operation
ADE20K copied to clipboard

index_ade20k['objectnames'] indexing mistake

Open gordon-lim opened this issue 4 years ago • 0 comments

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'.

gordon-lim avatar Aug 10 '21 07:08 gordon-lim