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

How do I show a picture like you that is all in one category? #2

Open
LittleStars666 opened this issue Feb 25, 2019 · 2 comments
Open

Comments

@LittleStars666
Copy link

The pictures I trained showed ten different categories of a picture,but I want to save them one by one. Is there any way ?

@Hydrino
Copy link
Owner

Hydrino commented Feb 25, 2019

labels = 4*torch.ones((10,),dtype = torch.long, device = device,) fakes = gen(noise,labels).detach() showImage(make_grid(fakes))

replace the '4' with the category you want to show pictures of.

@LittleStars666
Copy link
Author

I tried, and the result was the same

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

2 participants