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

why cannot the generate function be used twice #485

Open
WyGongya opened this issue Apr 2, 2024 · 0 comments
Open

why cannot the generate function be used twice #485

WyGongya opened this issue Apr 2, 2024 · 0 comments

Comments

@WyGongya
Copy link

WyGongya commented Apr 2, 2024

When i invoke the generate function twice with different idx,it appears the fault described as "RuntimeError: The expanded size of the tensor (181) must match the existing size (168) at non-singleton dimension 3. Target sizes: [1, 32, 68, 181]. Tensor sizes: [1, 1, 68, 168]"

should i reset the model' arguements or reload the model?

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

1 participant