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

part flag doesn't work #11

Open
Ibrahimatef opened this issue Apr 13, 2022 · 2 comments
Open

part flag doesn't work #11

Ibrahimatef opened this issue Apr 13, 2022 · 2 comments

Comments

@Ibrahimatef
Copy link

Hi, Thank you for great work!
I tried to specify the part to be transferred using --part with lower_body, or face, but it always transfers upper_body only as well as output region in red is upper body

@fyviezhao
Copy link
Contributor

Same here. Moreover, can it transfer full_body outfits between persons, i.e., --part=full body?

@fyviezhao
Copy link
Contributor

fyviezhao commented Dec 6, 2022

To enable the --part flag, modify this line:

g_ema = Generator(args.size, args.latent, args.n_mlp, channel_multiplier=args.channel_multiplier, garment_transfer=True).to(device)

to

g_ema = Generator(args.size, args.latent, args.n_mlp, channel_multiplier=args.channel_multiplier, garment_transfer=True, part=args.part).to(device)

I also create a pull request which supports full-body garment transfer.

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