Fork自 PaddlePaddle / PaddleGAN
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
# PaddleGAN still under development!! ## Train ``` python -u tools/main.py --config-file configs/cyclegan-cityscapes.yaml ``` continue train from last checkpoint ``` python -u tools/main.py --config-file configs/cyclegan-cityscapes.yaml --resume your_checkpoint_path ``` multiple gpus train: ``` CUDA_VISIBLE_DEVICES=0,1 python -m paddle.distributed.launch tools/main.py --config-file configs/pix2pix-cityscapes.yaml ``` ## Evaluate ``` python tools/main.py --config-file configs/cyclegan-cityscapes.yaml --evaluate-only --load your_weight_path ```