Explicit-Visual-Prompt icon indicating copy to clipboard operation
Explicit-Visual-Prompt copied to clipboard

About the demo.py inference.

Open LWShowTime opened this issue 1 year ago • 0 comments

In the codes here, what is the function of the mask_transform? It seems like the h and w not to be the real size of the input image, otherwise we don't need to resize. I am confused with this. https://github.com/NiFangBaAGe/Explicit-Visual-Prompt/blob/bddc146a7fb4e206ed90b7d7eaeef4eb54884658/demo.py#L41-L68

LWShowTime avatar Oct 09 '23 07:10 LWShowTime