liuyuan-pal / SyncDreamer

[ICLR 2024 Spotlight] SyncDreamer: Generating Multiview-consistent Images from a Single-view Image
https://liuyuan-pal.github.io/SyncDreamer/
MIT License
906 stars 39 forks source link

Why sample_num cannot not be too large when inference? #36

Closed mdarhdarz closed 1 year ago

mdarhdarz commented 1 year ago

Can we view sample_num equal to batch size in training? In paper, training batch size is 24 per 40G gpu , but sample_num is up to 4 on a 48G gpu. How can I enable larger sample_num in inference?

liuyuan-pal commented 1 year ago

Hi, for every training example, we only denoise 1 image. Thus, we are denoising 24 images per step. In comparison, for every sample in inference, we need to denoise 16 images, so we are denoising 16*4=64 images for one inference step.