liuqk3 / PUT

Paper 'Transformer based Pluralistic Image Completion with Reduced Information Loss' in TPAMI 2024 and 'Reduce Information Loss in Transformers for Pluralistic Image Inpainting' in CVPR2022
MIT License
173 stars 15 forks source link

推理问题 #28

Closed superlittl closed 8 months ago

superlittl commented 8 months ago

同样的困扰, 图片 请问您提到的绝对路径是指哪里, 图片 我觉得还是这个图片路径读取不到,

liuqk3 commented 8 months ago

首先,需要按照readme/install_instruction.sh进行安装;然后,建议使用scripts/inference_inpainting.py脚本,路径指的就是image_dir和mask_dir。另外,建议将目录软连接到project的目录,并指定相对路径。

使用示例可以参考scripts/inference_inpainting.sh中的使用方式。