-
Notifications
You must be signed in to change notification settings - Fork 24
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
different result from local run and demo #31
Comments
I wonder what's the version of yoso module is used in the online demo? |
@xingchen2022 Sorry for bothering you! I'm currently occupied with the new release version scheduled for the end of this month and don't have sufficient workload to address the issues in the current release. The main diff between gradio and torch.hub versions is that torch.hub pads image to square before inference while gradio resizes directly, mainly a resolution difference. We avoid direct resizing as it may cause extra artifacts. For similar online demo performance, use cropping mode like this:
It's worth noting that the yoso-normal-v1-5 version is still unstable at present. Hence, we don't recommend using the normal output from this version for supervision. Hope this helps! |
@hugoycj Thank you for your help! However, although the output resolution is the same, it seems that only the center square region is being predicted. How can I obtain the full-resolution result? |
@hugoycj Apologies for the inconvenience, but I have a few more questions I'd like to ask:
|
Thanks for you wonderful work!
I have tried different scripts in reamMe and huggingface, but i can't get the same result like online demo(https://huggingface.co/spaces/Stable-X/StableNormal)
the online demo result like:
the local results as follows:
torch.hub.load("Stable-X/StableNormal", "StableNormal", trust_repo=True, yoso_version='yoso-normal-v0-3')
torch.hub.load("Stable-X/StableNormal", "StableNormal", trust_repo=True, yoso_version='yoso-normal-v1-0')
torch.hub.load("Stable-X/StableNormal", "StableNormal_turbo", trust_repo=True, yoso_version='yoso-normal-v0-3')
torch.hub.load("Stable-X/StableNormal", "StableNormal_turbo", trust_repo=True, yoso_version='yoso-normal-v1-0')
torch.hub.load("hugoycj/StableNormal", "StableNormal", trust_repo=True, yoso_version='yoso-normal-v1-5')
torch.hub.load("hugoycj/StableNormal", "StableNormal_turbo", trust_repo=True, yoso_version='yoso-normal-v1-5')
could you give me some hints? thank you in advance!
The text was updated successfully, but these errors were encountered: