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

Changing Resolution in Screen Example #150

Open
potesd opened this issue May 30, 2024 · 3 comments
Open

Changing Resolution in Screen Example #150

potesd opened this issue May 30, 2024 · 3 comments

Comments

@potesd
Copy link

potesd commented May 30, 2024

Is there an easy way to change the resolution of the Screen example generations? I've changed out every width and height variable in the screen.py example? Am I changing the variables when in actuality the resolution is set by argument or by accessing the StreamDiffusionWrapper?

@plaingca
Copy link

plaingca commented Jun 3, 2024

You'll need to update width/height in /utils/viewer.py as well , and if your looking for tensorrt you'll need to modify the opt_image_height/width in /src/streamdiffusion/acceleration/tensorrt/builder.py as well.

@sh308178685
Copy link

You'll need to update width/height in /utils/viewer.py as well , and if your looking for tensorrt you'll need to modify the opt_image_height/width in /src/streamdiffusion/acceleration/tensorrt/builder.py as well.

DOES TENSORRT SURPPORT OTHER resolution? I changed , it show many errors

@potesd
Copy link
Author

potesd commented Jul 30, 2024

I'm not quite sure what to do anymore. I've succesfully updated the resolution of the tensorrt output, but all of a sudden it's no longer affecting any changes to the resolution. I currently have the Builder.py, the wrapper.py, and the pipeline.py scripts all updated with my new resolution, but no matter what I do, it no longer updates.

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

3 participants