图像路径

This commit is contained in:
2023-02-19 03:28:36 +08:00
parent 87a9c5bd35
commit 830710ae1d
3 changed files with 53 additions and 45 deletions

View File

@@ -267,7 +267,8 @@ def main_dev(opt):
# 检查输出目录是否存在
os.makedirs(opt.outdir, exist_ok=True)
outpath = opt.outdir
# 绝对路径
outpath = os.path.join(opt.outdir)
# 创建水印编码器
wm = "SDV2"