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

编辑自己的图片 #11

Open
chensheng-code opened this issue Jul 28, 2022 · 1 comment
Open

编辑自己的图片 #11

chensheng-code opened this issue Jul 28, 2022 · 1 comment

Comments

@chensheng-code
Copy link

为什么编辑一张celeba的图片,生成的图跟乱码似的。完全看不起人脸,是什么参数我没设置对吗?运行步骤如下:
python3 dual_space_encoder_test.py --dataset_dir image/ --output_dir output --checkpoint_path best_model.pt

python our_interfaceGAN/edit_all_inversion_ffhq.py --ckpt ./out/transeditor_ffhq/checkpoint/790000.pt --num_region 1 --num_trans 8 --attribute_name gender --z_latent output/encoder_inversion/ffhq_encode/encoded_z.npy --p_latent output/encoder_inversion/ffhq_encode/encoded_p.npy --num_sample 1000

@BillyXYB
Copy link
Owner

Please check the inversion network and the generation model should be correctly paired. Did you use the inversion for celebA but generator for ffhq?

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