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

Pretrained Model on pggan #88

Open
RamboRick opened this issue Nov 1, 2021 · 0 comments
Open

Pretrained Model on pggan #88

RamboRick opened this issue Nov 1, 2021 · 0 comments

Comments

@RamboRick
Copy link

First, thank you for any suggestions.

Based on the guide, first we need to download the pre-trained pggan model. I found one that is in the here and rename it to pggan_celebahq.pth and put it in the models/pretrain folder.

And then I run the code below:

LATENT_CODE_NUM=10
python edit.py \
    -m pggan_celebahq \
    -b boundaries/pggan_celebahq_smile_boundary.npy \
    -n "$LATENT_CODE_NUM" \
    -o results/pggan_celebahq_smile_editing

But this will post a warning saying that 'No pre-trained model will be loaded'.

Coudl you please give me some suggestions about this or I missed something here?

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