Thanks. When I enter command "py visualizer_drag.py" there is an error: "ModuleNotFoundError: No module named 'imgui'" and before " line 15, in " I have installed for many hours today everything and checked. When I look at the visualizer_drag:py in Notepad I can see there should be imported "imgu" whatever it is. When I open in Visual Studio the "environment.yml" there is also an item called "pip: imgui==2.0.0" Indeed there is no such item in the current downloaded folder. But I am no expert, just going through tutorials and trying to find out why this is not working.
@benz.173011 ай бұрын
So now I have uninstalled and reinstalled all needed python, torch, cuda, anadonda etc. And I could at least launch the interface. Next error when trying to load a checkpoint:"Setting up PyTorch plugin "bias_act_plugin"... Failed!... No such module found". What could this mean? Thanks @leomattmedia
@LeoMattMedia11 ай бұрын
@@benz.1730You can access the resource at github.com/XingangPan/DragGAN/issues/106. If you face any issues with the Visual Studio Extension, please check the following directory on your local computer: "C:\Program Files (x86)\Microsoft Visual Studio\VC\bin". To resolve the issue, try upgrading to VS 2022 and then run C:/"Program Files"/"Microsoft Visual Studio"\2022\Community\VC\Auxiliary\Build\vcvars64.bat. After that, type python visualizer_drag_gradio.py to execute it. I hope this information helps you.
@benz.173011 ай бұрын
@@LeoMattMedia reinstalled Visual Studio 22, ran the vcvarse64.bat , executed "python visualizer_drag_gradio.py" in the dragGAN prompt window and again same error 😪
@benz.173010 ай бұрын
New hint while installing xformers: "draggan 1.1.0 requires gradio==3.28.1, but you have gradio 4.1.1 which is incompatible" Any advice how to fix this? many thanks
@benz.173011 ай бұрын
Installed this evening again everything a third time, no success. When loading network pickle "DLL load failed when importing bias_act_plugin: module not found...". SYSTEM: Windows 10, Pytorch version: 2.1.0 Cuda: 11.8 (Nvidia Graphics card) Cudatoolkit: release 12.1 (v12.1.105), Python: 3.11.5 packaged by Anaconda, Visual Studio 2022 (17.7.6) Community Edition, Environment initialized for x64 (with vcvars.64.bat). p.s. Tried also with Google Colab: I get on half way a warning while installing the pip requirements: "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lida 0.0.10 requires kaleido, which is not installed. llmx 0.0.15a0 requires cohere, which is not installed. llmx 0.0.15a0 requires openai, which is not installed. llmx 0.0.15a0 requires tiktoken, which is not installed. tensorflow-probability 0.22.0 requires typing-extensions
@adamsteyl Жыл бұрын
when I type in 'import torch' I get Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'torch' please help?
@LeoMattMedia Жыл бұрын
It seems that PyTorch is not installed on your system. You can follow this guide to install PyTorch completely: pip install numpy --pre torch torchvision torchaudio --force-reinstall --index-url download.pytorch.org/whl/nightly/cu121 I hope this helps! 😄
@aquazodiak3070 Жыл бұрын
I want use a local image
@LeoMattMedia Жыл бұрын
github.com/OpenGVLab/DragGAN You can read this for local image
@aquazodiak3070 Жыл бұрын
@@LeoMattMedia can i use my own photo image on dragGAN?
@LeoMattMedia Жыл бұрын
@@aquazodiak3070 read more in the link, you can upload your local image in the assets folder.
@teenudahiya01 Жыл бұрын
Its not work on window
@LeoMattMedia Жыл бұрын
Have you installed the pytorch in your windows before?
@teenudahiya01 Жыл бұрын
@@LeoMattMedia yes cuda toolkit, pytorch, python, anaconda all
@teenudahiya01 Жыл бұрын
Torch cuda command giving true value, but ahead it error arise to run gui
@LeoMattMedia Жыл бұрын
@@teenudahiya01 Have you run this command: "pip install -r requirements.txt" inside the folder?
@teenudahiya01 Жыл бұрын
@@LeoMattMedia no, will tomorrow
@teenudahiya01 Жыл бұрын
Hi there again, I want to just ask I installed it with your help, but there is no option to upload self image to edit those. How can we edit self image in it. Please reply as soon as possible.
@LeoMattMedia Жыл бұрын
github.com/OpenGVLab/DragGAN You can read this for local image