Closed shahzaib-s-warraich closed 4 months ago
The information you've provided is a bit confusing and hard to understand. Could you provide more detailed error messages and the commands you used? This will help us assist you in resolving the issue.
I'm trying to run inference, bash commands/inference.sh
, I have the checkpoints, dataset, and stable diffusion repository requirements in place.
hi, I got the same error, and I fixed it.
I use the easiest way to fix it by replacing the line 18 sys.path[0] = "/home/yx/code/virtual_tryon/TPD"
in inference.py with my own path.
then I add the code under it:
if '/home/xxxxx/stable-diffusion' in sys.path: sys.path.remove('/home/xxxxx/stable-diffusion')
Then it works for me.
the reason of the ERROR may be due to the conflict between 'stable-diffusion/ldm/util.py' and 'tpd/ldm/util.py' if you installed the package of 'stable-diffusion'.
Hi, any idea how I might be able to fix this while inferring using ldm's util?