amirhertz / SAPE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2D/3D original resolution?

xindonglin99 opened this issue · comments

Hi,

I wonder is there any possibility that I can run SAPE to train an image with its own resolution? I can see the default is res=128 in the code but we do need a higher resolution.

Best,
Xindong

Hi Xindong,

Yes, you can train on any resolution (up to memory limit).
Just change the max_res to be above your image resolution.
Notice that the res parameter defines the resolution of the controller grid.

Best,
Amir

Hi Amir,

Thanks for pointing that out. Another question is that will increasing the mask size (res=1280) improve the quality of the image reconstruction? Like a 512x512 image with a 1280x1280 mask.

Best,
Xindong