Sanster / iopaint-docs

https://iopaint-docs.vercel.app
MIT License
3 stars 2 forks source link

Problems with Windows 1Click Auto Installer #32

Open martin-neumann-gurus opened 2 months ago

martin-neumann-gurus commented 2 months ago

I tried to do for 3 times already the installation with the win_config.bat file, and I always get an error at the end. See image: Error2

Sanster commented 2 months ago

I'm really sorry for replying late. From your logs, it seems that the script installed torchvision 0.19.0, which corresponds to pytorch version 2.4.0. However, pytorch 2.4.0 has the bug you mentioned in your screenshot: https://github.com/pytorch/pytorch/issues/131662

The win_config.bat specifies the version of pytorch as torch==2.1.2 torchvision==0.16.2. I'm not sure why the target version was not installed; it might be related to the dependencies of the plugins. Could you try removing that line in win_config.bat and then install again?

@call iopaint install-plugins-packages
martin-neumann-gurus commented 2 months ago

I removed that line but still get the same error. I found one more error right at the beginning of the script Error

martin-neumann-gurus commented 2 months ago

Any solution to that?

Sanster commented 2 months ago

I released a new version, iopaint==1.4.2, which removes unnecessary plugin dependencies and splits the old win_config.bat file.

Please unzip the original zip again and download the three bat files mentioned above.

Sanster commented 2 months ago

PyTorch currently has issues on Win11, related issue: https://github.com/pytorch/pytorch/issues/131662

Could you try manually downloading the DLL file from https://www.dllme.com/dll/files/libomp140_x86_64#google_vignette as mentioned in https://github.com/pytorch/pytorch/issues/131662#issuecomment-2252070078, and then copy it to the C:\Windows\System32 directory?

martin-neumann-gurus commented 2 months ago

I have Windows 10 and with the new scripts I could get the installation to work. Now I need a manual and ideas of best practices to get all the features to work.