You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
The text was updated successfully, but these errors were encountered:
Using
ObjectClassMasks = (R/10).astype(np.int32)*256+(G.astype(np.int32));
I got the id 165 for a particular pixel by whichindex_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 thatindex_ade20k['objectnames']
is one behind.index_ade20k[164]
gives the correct name 'bed'.The text was updated successfully, but these errors were encountered: