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

Something really funny #5

Open
eeyrw opened this issue Mar 26, 2019 · 3 comments
Open

Something really funny #5

eeyrw opened this issue Mar 26, 2019 · 3 comments

Comments

@eeyrw
Copy link

eeyrw commented Mar 26, 2019

When I tried to generate image of a cat...
output_1
output_1-1
output_1-2
It seems like a kind of mixture with leopard's body and tiger's face.

@thomwolf
Copy link
Member

Oh, how did you get those?

@nobody132
Copy link

I had the same finding with you.
Did you just use "cat" as input name? The one_hot_from_names function uses NLTK to find the relevant labels in imagenet-1000 with your input names. You can check https://gist.github.com/yrevar/942d3a0ac09ec9e5eb3a and your one_hot vector to see what the original label is for input "cat".
Or if you just want to generate some normal cat, try using "Persian cat" as input name.

@eeyrw
Copy link
Author

eeyrw commented Mar 27, 2019

Oh, how did you get those?

I just changed coffee into cat in the demo and ran it three times.

I had the same finding with you.
Did you just use "cat" as input name? The one_hot_from_names function uses NLTK to find the relevant labels in imagenet-1000 with your input names. You can check https://gist.github.com/yrevar/942d3a0ac09ec9e5eb3a and your one_hot vector to see what the original label is for input "cat".
Or if you just want to generate some normal cat, try using "Persian cat" as input name.

I see. But I like this "cat" more.

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