Skip to content
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

Will there be any issues increasing the resolution of the texture #8

Closed
jloveric opened this issue Apr 10, 2024 · 2 comments
Closed

Comments

@jloveric
Copy link

jloveric commented Apr 10, 2024

So far I haven't tried this for this technique, but so far the biggest issue I've run into with text to texture is not being able to generate fine enough textures (detailed 2048x2048 or larger for example). I expect I'll run into memory issues, but is there any fundamental limitation? Do you see any issues with this using paint-it?

@Youwang-Kim
Copy link
Contributor

Youwang-Kim commented Apr 11, 2024

Hi, thanks for your interest to our work.

The DC-PBR representation uses U-Net as its architecture. Thus, if you increase the resulting texture map resolution, you would have to modify some architectural hyperparameters such as num_channels_down, num_channels_up, num_channels_skip, filter_size_up, filter_size_down. You can adjust those parameters here.

Paint-it/paint_it.py

Lines 81 to 87 in 407c55b

net = skip(input_depth, 9,
num_channels_down=[128] * 5,
num_channels_up=[128] * 5,
num_channels_skip=[128] * 5,
filter_size_up=3, filter_size_down=3,
upsample_mode='nearest', filter_skip_size=1,
need_sigmoid=True, need_bias=True, pad='reflection', act_fun='LeakyReLU').type(torch.cuda.FloatTensor)

Please let us know if you have more questions.
Thanks.

@Youwang-Kim
Copy link
Contributor

Please reopen this issue if you need more help regarding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants