PaddlePaddle / PaddleGAN

PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, Wav2Lip, picture repair, image editing, photo2cartoon, image style transfer, GPEN, and so on.
Apache License 2.0
7.92k stars 1.25k forks source link

无法运行first-order-demo.py 的示例,直接出Killed #856

Open Apokar opened 4 months ago

Apokar commented 4 months ago

运行first_order_predictor.py 的示例,下载好模型后直接出Killed paddlepaddle==2.2.0

用的cpu版的paddlepaddle,2核cpu,无显卡,是配置文件要改什么设置么?原版模型和mobilenet的都是一样的killed

(Paddle) [root@iZwz9a1y0l9hm5k35z5f1tZ applications]# python -u tools/first-order-demo.py       --driving_video ../docs/imgs/fom_dv.mp4      --source_image ../docs/imgs/fom_source_image.png   --config ../configs/firstorder_vox_mobile_256.yaml --ratio 0.4      --relative      --adapt_scale --mobile_net
[07/23 11:17:02] ppgan INFO: Found /root/.cache/ppgan/vox-mobile.pdparams
Killed
JunnYu commented 4 months ago

建议使用gpu,旧版本的paddle可能没有办法很好适配cpu(存在bug)