## 本路径下所有文件均为 photopen 模型的训练过程、预测过程的测试使用。 # 使用预训练模型预测 python applications/tools/photopen.py --semantic_label_path test/sem.png --weight_path test/generator.pdparams --output_path output_dir/pic.jpg --config-file configs/photopen.yaml # 使用checkpoint预测 python applications/tools/photopen.py --semantic_label_path test/sem.png --weight_path output_dir/photopen-2021年10月05日-14-38/iter_1_weight.pdparams --output_path output_dir/pic.jpg --config-file configs/photopen.yaml # 训练 python -u tools/main.py --config-file configs/photopen.yaml # 继续训练 python -u tools/main.py --config-file configs/photopen.yaml --resume output_dir/photopen-2021年09月30日-15-59/iter_3_checkpoint.pdparams # 训练,覆盖参数 python -u tools/main.py --config-file configs/photopen.yaml --o model.generator.ngf=1 model.discriminator.ndf=1 # 测试 python -u tools/main.py --config-file configs/photopen.yaml --evaluate-only --load output_dir/photopen-2021年11月06日-20-59/iter_1_checkpoint.pdparams
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。