-
Notifications
You must be signed in to change notification settings - Fork 127
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
Depth ControlNet not generating expected output #95
Comments
I think for the sneaker the control pose is different than the prior pose which may be causing a problem. For the head i am not sure. |
Hi @LIU-Yuxin |
#52 (comment) zero123plus/examples/depth_controlnet.py Lines 15 to 17 in 7d0315c
And the result start to appear correct. May I ask if the scheduler and the trailing setting is chosen on purpose, and whether I am safe to remove it. (I would appreciate if you had any thoughts on the cause of this problem.) Also, if the scheduler setting is not important, perhaps you could remove or adjust the setting as I saw many other users are facing similar issues when they use the default example code with their custom depth input. Thank you in advance. |
I am using Pytorch3D to render the geometry, and extract the z-buffer values, you may refer to facebookresearch/pytorch3d#35 for more information. You may also find more solutions like rendering with OpenGL lib, or use external 3D software like blender. |
Thank you so much!!! |
Thank you for the sharing the great work. I am currently using this method for generating textures given a mesh, by first rendering the depth images, and then generate the views with an additional reference image, similar to the one in the depth controlnet example, with depth images normalized as in #40. However, the quality of the generated image is not comparable to the image without controlnet, as shown below. Could you please let me know if there are any fix to this?
Input reference image:
Output without controlnet:
Rendered depth image (I assume the alpha channel is used for mask, and the opaque region should be normalized as in #40 ):
Output with controlnet:
I have tried to adjust the size of the object, and also the weight of the controlnet, but did not generate result similar to the version without controlnet.
Similar issue also applies to face model and image.
w/o
w/
Looking forward to hear your reply. Thank you!
The text was updated successfully, but these errors were encountered: