Charleshhy / One-shot-Human-Parsing

[AAAI 2021] (oral) Progressive One-shot Human Parsing, [TPAMI 2023] End-to-end One-shot Human Parsing
Apache License 2.0
72 stars 8 forks source link

How to do inference? Code Example? #12

Open alexandrewillame opened 9 months ago

alexandrewillame commented 9 months ago

I am not getting how to do inference using this code? I see no example code, no script regarding inference. It makes me think it is only possible to do training with this code?

I found this exact same issue that got an answer, unfortunately the answer do not actually answers the questions, as it redirects to a util function that saves the image as a file and suppose you already did inference and got the prediction.

https://github.com/Charleshhy/One-shot-Human-Parsing/issues/9

Can you please provide an example code to do inference? If I have an image "input/person.jpg", what do I do to get the human parse as a result?

Thank you,

Charleshhy commented 9 months ago

Hi Alexandre,

I will provide an example inference code in the next one or two weeks! Please stay tuned :)!

There is a schedule change... The best case is I will do it this weekend (25th of Feb). Sorry for the delay.

Regards, Haoyu