InstantMesh icon indicating copy to clipboard operation
InstantMesh copied to clipboard

can providing good quality of image will not impact quality

Open sumanttyagi opened this issue 1 year ago • 2 comments

as i can see it is getting resize in between

  • [ ] if giving high quality images really impacts the result
  • [ ] how to maintain the aspect ratio of the images

sumanttyagi avatar May 29 '24 08:05 sumanttyagi

InstantMesh uses Zero123++. And Zero123++, as far as I know, is 256x256 model. Giving better images with higher resolution will do nothing as it is forcefully downscaled to 256x256. So, there's no way to increase quality without switching to Stable-Zero123, which is likely to be 512x512.

Well, you can try train Stable Diffusion to upscale textures based on source image and generated texture. Might even work out somehow.

iiiCpu avatar May 30 '24 09:05 iiiCpu

@iiiCpu even i use that Stable-Zero123 it will be again resized to 320 image size , pre trained weights are trained on this

images = rearrange(images, 'c (n h) (m w) -> (n m) c h w', n=3, m=2)        # (6, 3, 320, 320)

are there any parameters which i can use?

sumanttyagi avatar May 31 '24 03:05 sumanttyagi