Skip to content

How to encode custom data into PaliGemma segmentation tokens ? #135

Answered by biswa-iitg
VitoVoelker asked this question in Q&A
Discussion options

You must be logged in to vote

In your case, I guess, it is the mask, please make sure that mask[mask > 0] = 255, because,inside get_refcoco_mask2str function it will be divided by 255 and normalized in the range -1 to +1

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@VitoVoelker
Comment options

@biswa-iitg
Comment options

@biswa-iitg
Comment options

Answer selected by VitoVoelker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants