IOPaint 提供了一个方便的 webui,用于使用最新的 AI 模型来编辑您的图像。您可以通过运行以下命令轻松安装和启动 IOPaint:
# In order to use GPU, install cuda version of pytorch first.
# pip3 install torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/cu118
# AMD GPU users, please utilize the following command, only works on linux, as pytorch is not yet supported on Windows with ROCm.
# pip3 install torch==2.1.2 torchvision==0.16.2 --index-url https://download.pytorch.org/whl/rocm5.6
pip3 install iopaint
就是这样,您可以通过访问 Web 浏览器中的 http://localhost:8080 来开始使用 IOPaint。