Explicit-Visual-Prompt
Explicit-Visual-Prompt copied to clipboard
About the demo.py inference.
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