Skip to content

Inquiry About Model Support for Flexible Resolution Handling #65

Description

@xuhuanstudio

Dear Author,​​

Thank you for your great work. While using your model, I encountered the following issue:

In real-world applications, we often need to process images of various resolutions. The current approach forces all inputs to be cropped to a fixed aspect ratio, which results in significant loss for portrait-oriented images (where width < height).

I tried padding the edges to match the target resolution, then cropping afterward, but this drastically reduces the effective resolution of the main subject. Another workaround is rotating the image by 90°, processing it, and then rotating it back. However, I noticed that the model handles ​​d_theta​​ and ​​d_phi​​ differently—​​d_theta​​ seems to perform much better.

Could you confirm whether future updates will support flexible resolution handling? Looking forward to your insights.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions