microsoft / microsoft/TRELLIS

input

Open
#121 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.7k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Why do I input the same image with different resolutions, but the size of the object in the rendering result is different? As far as I know, the preprocess function of the image for different sizes of the image, the processed image is the same, only one is clear and another is blurred.
The input image to https://github.com/microsoft/TRELLIS/blob/eeacb0bf6a7d25058232d746bef4e5e880b130ff/example.py#L17:
image1(512x512):
Image
image2(2048x2048):
Image
image1 after preprocessing:
Image
image2 after preprocessing:
Image
The output of image1:
https://github.com/user-attachments/assets/6afe39b3-e5e3-49c5-8dbc-b430bfe4fc9b
The output of image2:
https://github.com/user-attachments/assets/ac7f3573-e0cb-4d05-8c40-4358946b1d0b

Why do objects occupy different proportions for the same 512 resolution?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with example.py at line 17 and reproduce the reported behavior using the two linked image resolutions. Trace the preprocessing and rendering path to identify where the object proportions diverge, then compare the resulting outputs against the issue’s examples. Done means the resolution-dependent behavior is explained and any required correction is covered by a reproducible test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.