Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference using pretrained models #4

Closed
FraPochetti opened this issue Jun 23, 2021 · 2 comments
Closed

Inference using pretrained models #4

FraPochetti opened this issue Jun 23, 2021 · 2 comments

Comments

@FraPochetti
Copy link

FraPochetti commented Jun 23, 2021

Hi,
first of all, thanks a lot for sharing your work. Really impressive!
I have 2 questions please:

  1. I am not sure if I get the purpose/capabilities of this approach correctly but, is the model able to handle one single input image at inference time? e.g. during training it seems that both query and support images/masks are needed. For inference, what we want though, is to be able to submit a single (or batch) picture of a person and have the mask as output (image IN -> mask OUT). Is this supported?
  2. If yes, do you have a code snippet providing preprocessing+inference+postprocessing?

Thanks and have a great day

@Charleshhy
Copy link
Owner

Hi,

Thanks for your attention for our project :D

Our project is on one-shot human parsing, the aim is to parse human as indicated by the support and support mask. Since the fine-grained classes might be different between training and inference, both query, support and support mask are required in both training and inference.

Kind regards,
Haoyu

@FraPochetti
Copy link
Author

Got it thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants