zzzyuqing / DreamMat

[SIGGRAPH2024] DreamMat: High-quality PBR Material Generation with Geometry- and Light-aware Diffusion Models
MIT License
315 stars 13 forks source link

wait for over 30 minutes on pre-rendering #17

Open StarsTesla opened 4 months ago

StarsTesla commented 4 months ago

我用了你的Docker image,然后下载了ckpt和blender,指定了blender path,运行起来后,这个prerender等了30多分钟了还没好,这是为啥? 我在4090上跑的: image

zzzyuqing commented 4 months ago

During the pre-rendering phase, there are a large number of read and write operations, which are quite related to CPU performance (15min on i9-14900k). If the process appears to be too slow, increasing the number of threads could be a solution.

StarsTesla commented 4 months ago

my server got like 128 process, I dont where is wrong

XZYW7 commented 4 months ago

You can check if there is any wrong in Blender rendering process following the comment in this issue. And you can also check the actual utilized threads number by output "bpy.context.scene.render.threads" in blender script which should be the max usable threads num in default.

StarsTesla commented 3 months ago

@XZYW7 It may be the problem of blender, so I run on my local machine, after almost 10 minutes, the rendering is done, image Then stucked........... WTF?

XZYW7 commented 3 months ago

sry I don't understand what the stucked mean in the image. Did it continue later?

StarsTesla commented 3 months ago

@XZYW7 No, I wait for over 20minutes, and nothing shows up, this is very unfriendly

XZYW7 commented 3 months ago

The next stage should be loading sd model. I think it is stucked in downloading according to the warning in file_dowload.py.

jloveric commented 2 months ago

I was using an A800 and it takes about 40ish minutes the first time. Just have to be patient. I get the impression that would be about 10 minutes on a 4090 though.