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

Poor Output Quality Using demo_sample.ipynb with Provided Model Parameters #17

Closed
yuanzhang7 opened this issue Jan 8, 2025 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@yuanzhang7
Copy link

Thank you for providing the pretrained model parameters and the demo_sample.ipynb notebook. However, I encountered an issue where the generated results are of very poor quality and do not match the input text at all. Could you please help me understand and resolve this issue? Here is an example image with text of 'an apple':
var_clip_test

@daixiangzi
Copy link
Owner

First, you need to make a more detailed description, such as there is a red apple on the table; in addition, the category you need to describe should be relatively common in the imagenet dataset. I think apples may not be particularly common in this dataset. You can try replacing apples with cars.

@Dreamern
Copy link

Dreamern commented Jan 9, 2025

I have the same problem. Here is an example image with text of "there is a car on the road"
output

@daixiangzi
Copy link
Owner

I have the same problem. Here is an example image with text of "there is a car on the road"
output
ok,I will check my checkpoint weight which is right?

@Ankowa
Copy link

Ankowa commented Jan 9, 2025

I have the same problem with the default prompt in the demo_sample.ipynb "'a sailboat with a sail at sunset'"
out

@Sologala
Copy link

Same poor results

@daixiangzi daixiangzi self-assigned this Jan 22, 2025
@daixiangzi daixiangzi added the bug Something isn't working label Jan 22, 2025
@daixiangzi
Copy link
Owner

Text: "a sailboat with a sail at sunset"
Image

@daixiangzi
Copy link
Owner

I have the same problem with the default prompt in the demo_sample.ipynb "'a sailboat with a sail at sunset'"
out
Sorry, I found that I uploaded the wrong weight. I am updating the latest weight.

@daixiangzi
Copy link
Owner

Text:'a photo of a car on the road'

Image

@daixiangzi
Copy link
Owner

@daixiangzi
Copy link
Owner

Text:'a photo of an apple on the table'

Image

@daixiangzi
Copy link
Owner

Another thing to note is that the text description can be more and the description method can be adjusted more, because these will greatly affect the generated effect. After all, we just trained it once on ImageNet. If we want better results, I think we need more detailed text and diverse image data.

@daixiangzi
Copy link
Owner

last-ckpt have updated. you can try it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants