BillyXYB / TransEditor

[CVPR 2022] TransEditor: Transformer-Based Dual-Space GAN for Highly Controllable Facial Editing
MIT License
180 stars 13 forks source link

请问如何编辑代码 #3

Open zhou431496 opened 2 years ago

zhou431496 commented 2 years ago

您好,请问如何编辑代码让图像生成各种极端姿态的人脸,如果可以是否可以为我们提供相应的代码。不尽感激。

yinyueqin commented 2 years ago

We have provided the editing code in the project. Try command: python our_interfaceGAN/edit_all_noinversion_ffhq.py --ckpt ./out/transeditor_ffhq/checkpoint/790000.pt --num_region 1 --num_trans 8 --attribute_name pose --num_sample 150000 # pose

zhou431496 commented 2 years ago

我在ubuntu20.04中安装cuda11.4,并且我们的显卡为3060.但是存在cuda的错误。请问我需要将cuda降到cuda7.6嘛 QQ截图20220501113331